“all examples compiled fine, but when run the window open and closes, then exit with 0.”
I am having the same problem. My NVidia GeForce GT can support up to opengl 4.4 and I have got the most recent drivers. I have tried running the code in VS2010 initially and then VS2012 to no avail.
It’s very frustrating because I am really enjoying reading the book. There is another online tutorial, using glfw3 with opengl 3 code that works fine without any glitches and I’ve also been doing some freeglut and bullet physics from another book I have (but I want to get away from the gl.begin usage to more modern opengl), this particular book also does not teach shaders.
I’m really at my whits end with this. THere’s nothing obvious to me in project properties because there wasn’t really anything to set (unlike tinkering with the other tutorial I’ve mentioned above with additional dependencies and such like). I did unzip the code and then unzipped the media files into media/bin, then compiled all the code (without a hitch) but then when I set any project to starting project then try and run a white window with ‘GLFW Window’ in the title bar opens momentarily and then within a few seconds closes again.
The debug output gives me this?
‘blendmatrix_dbg.exe’: Loaded ‘C:\opengl\SuperBibleCode\sb6code_2013_11_10\bin\blendmatrix_dbg.exe’, Symbols loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64
tdll.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\kernel32.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\KernelBase.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\apphelp.dll’, Exports loaded.
SHIMVIEW: ShimInfo(Complete)
‘blendmatrix_dbg.exe’: Loaded ‘C:\ProgramData\Norton{0C55C096-0F1D-4F28-AAA2-85EF591126E7}\NIS_20.3.1.22\Definitions\BASHDefs\20140214.001\UMEngx86.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\opengl32.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\msvcr100d.dll’, Symbols loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\user32.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\msvcrt.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\advapi32.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\gdi32.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\glu32.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\ddraw.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\sechost.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\rpcrt4.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\dciman32.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\sspicli.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\cryptbase.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\bcryptprimitives.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\imm32.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\msctf.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\uxtheme.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\winmm.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\winmmbase.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\cfgmgr32.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\devobj.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\ProgramData\Internet Helper Anti-phishing\internetHelper_antiphishing.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\version.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\ws2_32.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\shell32.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\oleaut32.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64
si.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\combase.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\shlwapi.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\dwmapi.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\ole32.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64
voglshim32.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Loaded ‘C:\Windows\SysWOW64\ig7icd32.dll’, Exports loaded.
‘blendmatrix_dbg.exe’: Unloaded ‘C:\Windows\SysWOW64\devobj.dll’
‘blendmatrix_dbg.exe’: Unloaded ‘C:\Windows\SysWOW64\cfgmgr32.dll’
‘blendmatrix_dbg.exe’: Unloaded ‘C:\Windows\SysWOW64\winmm.dll’
‘blendmatrix_dbg.exe’: Unloaded ‘C:\Windows\SysWOW64\winmmbase.dll’
The thread ‘Win32 Thread’ (0x3b8c) has exited with code 0 (0x0).
The program ‘[15096] blendmatrix_dbg.exe: Native’ has exited with code 0 (0x0).
Not sure what all the unloaded .dlls are about at the end?? When I looked in SysWOW64 they are certainly in there (I thought it might be that they are missins). Although my laptop is windows 8 I run everything from the windows desktop as though I’ve got windows 7 pretty much. I’ve never seen the sysswow64 crop up before in any debug output before (isn’t this windows 8 related) does this have any baring on my problem?
Would really appreciate any help/suggestions what so ever.
regards,
Dale.