Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Lynx876

Pages: [1]
1
Window / Access Violation.
« on: August 28, 2011, 11:43:02 pm »
A few things first.

Can SFML run on VS2010? I've noticed that there are not any files for this version.

Can I create a window from SFML to run on a 32" TV? I use this as my monitor via HDMI.
I've noticed a few people having problems with having more than one monitor etc.


So, here's the code that compiles, it's the tutorial code for the window:
Code: [Select]
#include "stdafx.h"

int main()
{
    // Create the main window
    sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");

    // Start main loop
    bool Running = true;
    while (Running)
    {
        App.Display();
    }

    return EXIT_SUCCESS;
}


This is what gives me the access violation as soon as it opens a console window. The code compiles fine.

In debug, I have these lines within the call stack window:
>   nvoglv32.dll!6980e3c3()    
    [Frames below may be incorrect and/or missing, no symbols loaded for nvoglv32.dll]   
    nvoglv32.dll!69820fdc()    
    nvoglv32.dll!6975eba0()

I've linked everything correctly, that I'm aware of and included the window.hpp within my stdafx.h.

If anyone could shed some light on this, as to why it's not working or something I am doing wrong, I'd be very greatful, thanks.

EDIT: Just some more info.

I'm running Windows 7 x64.
Nvidia GeForce GTX 550 Ti with the latest drivers.

Pages: [1]
anything