Original Post
I have just gotten started with trying to use SDL/OpenGL for C++. I have followed several tutorials, and have gotten the example programs to compile without error.
However, when I try to run the program, a blank window shows up (instead of the intended image of the tutorial). If I remove the SDL_Delay, the blank window also appears to be unresponsive. Also,
I am using a windows 7 64 bit machine, and have attempted the tutorial on both Codeblocks and Visual Studio 2010 with the same problematic result.
I have already tried adjusting for the 32-bit compatibility problem by using WOW64, it seems to have no effect.
This is the tutorial.
http://lazyfoo.net/S...son01/index.php
The full tutorial source code is also attached.
I hope someone can at least tell me what the problem is exactly.
However, when I try to run the program, a blank window shows up (instead of the intended image of the tutorial). If I remove the SDL_Delay, the blank window also appears to be unresponsive. Also,
any cin and cout I/O that I add don't seem to show up on the window (cout writes on a txt file and cin does not? wait for keyboard input before moving on in the program)[/background]
I am using a windows 7 64 bit machine, and have attempted the tutorial on both Codeblocks and Visual Studio 2010 with the same problematic result.
I have already tried adjusting for the 32-bit compatibility problem by using WOW64, it seems to have no effect.
This is the tutorial.
http://lazyfoo.net/S...son01/index.php
The full tutorial source code is also attached.
I hope someone can at least tell me what the problem is exactly.