Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


error of compilation with glut(0x1)


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Nawy   Members   -  Reputation: 127

Like
0Likes
Like

Posted 13 October 2013 - 11:56 PM

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

 

 



Sponsor:

#2 assainator   Members   -  Reputation: 685

Like
0Likes
Like

Posted 14 October 2013 - 12:46 AM

Those are not errors. It are messages telling you what binary files it loaded and whether or not it could find the debug data for it. For most files it's very logical Visual Studio can't load the debug data. As long as all your binary files get loaded with debug data (which is the case here), you're fine.


"What? It disintegrated. By definition, it cannot be fixed." - Gru - Dispicable me

"Dude, the world is only limited by your imagination" - Me





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS