PDA

View Full Version : glut_errors



derSam
01-26-2003, 04:26 AM
hello all,

just startet to do some openGL coding in Borlands c++ builder. downloaded glut, but got the following errors:




[Linker Error] Unresolved external 'glutInit' referenced from C:\PROGRAMME\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ
[Linker Error] Unresolved external 'glutInitDisplayMode' referenced from C:\PROGRAMME\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ
[Linker Error] Unresolved external 'glutInitWindowPosition' referenced from C:\PROGRAMME\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ
[Linker Error] Unresolved external 'glutInitWindowSize' referenced from C:\PROGRAMME\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ
[Linker Error] Unresolved external 'glutCreateWindow' referenced from C:\PROGRAMME\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ

Bob
01-26-2003, 05:50 AM
Add glut.lib to the linker.

Stack Overflow
01-26-2003, 07:54 AM
You add it like this:

#pragma comment(lib, "glut32.lib");

- VC6-OGL