PDA

View Full Version : compiling errors



torcida
04-01-2003, 01:14 AM
Hi, I hope someone can help me. When compling my program in visual C++, it keeps coming up with these 3 errors:

unresolved external symbol ___glutInitWithExit@12
unresolved external symbol ___glutCreateWindowWithExit@8
unresolved external symbol ___glutCreateMenuWithExit@8

I have no idea how to fix it please anyone help.

Thanks heaps.

Bob
04-01-2003, 01:29 AM
Those WithExit functions can be a mess sometimes. Put a #define GLUT_DISABLE_ATEXIT_HACK before you include glut.h.

torcida
04-01-2003, 01:32 AM
Thankyou very much Bob, greatly appreciated it worked. Your Legend.