What I did:
1. Downloaded glut at this link opengl.org(http://user.xmission.com/~nate/glut.html)
2. Unzipped
3. Create project as console application Win32
4. Project->Properties...->VC++ Directories->Include Directories-> add path to glut.h
5. Project->Properties...->VC++ Directories->Library Directories-> add path to glut32.lib
6. Project->Properties...->Linker->Input->Additional Dependencies-> add glut32.lib
7. Project->Properties...->Linker->Input->Delay Loaded Dlls-> add glut32.dll
8. Then I created a simple "glut" application:
#include <glut.h>
int main(int argcp, char **argv) {
/* Set window size and location */
glutInit(&argcp, argv);
glutInitWindowSize(640, 480);
glutInitWindowPosition(0, 0);
/* Select type of Display mode:
single buffer & RGBA color */
glutInitDisplayMode(GLUT_RGBA | GLUT_SINGLE);
/*Initialize GLUT state */
glutCreateWindow("Hello World");
glutMainLoop();
return 0;}
9. I compiled and got errors:
'glut_test.exe': Loaded 'C:\MyLang\CPP\glut_test\Debug\glut_test.exe', Symbols loaded.
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Program Files\AVAST Software\Avast\snxhk.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\MyLang\CPP\glut_test\Debug\glut32.dll', Binary was not built with debug information.
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\glu32.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\opengl32.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\ddraw.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\dciman32.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded.
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\nvinit.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Program Files (x86)\Lenovo\Onekey Theater\ActiveDetect32.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\shlwapi.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Program Files (x86)\Lenovo\Onekey Theater\WindowsApiHookDll32.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\version.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x1180) has exited with code 0 (0x0).
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\NV\ig4icd32.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\ig4icd32.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Program Files (x86)\OSCAR Editor X7\dll\DLL_Wheel4D.dll', Cannot find or open the PDB file
'glut_test.exe': Loaded 'C:\Windows\SysWOW64\msimg32.dll', Cannot find or open the PDB file
The program '[4188] glut_test.exe: Native' has exited with code 1 (0x1).
OS: Windows 7 x64
IDE: MSVC++ 2010 Express
P.S. A similar problem was with SDL