PDA

View Full Version : unresolved external symbol



01-27-2001, 08:42 AM
i have this problemwhen i build my program
unresolved external symbol ___glutInitWithExit@12
i think maybe i havent the good versions of glut,i have the 3.7.i also havve placed the libraries in \lib headers files in \include\gl and the dlls in \xindows\system\.
thanks for your help.

NOAH IV
01-27-2001, 09:50 AM
You need also to tell the compiler you are using the glut lib. I mean, to link the lib with the application...
Are you doing this?

01-27-2001, 10:12 AM
yes i am doing this in >project>settings>link
>object/library modules i put the glut32 glu32 and opengl32 libs.but is there a difference between creating a win32 console application and a win32 application?
thanks

Leyder Dylan
01-28-2001, 03:06 AM
For Glut, you must use a Win32 console.

And if you don't use Glut, you can take Win32 application.

mango
01-28-2001, 02:45 PM
You should tell what compiler you are using but I guess it is Borland and you get this only in your C++ code?

Check out http://sites.netscape.net/ptrpck/borland.htm
for some Borland modified GLUT headers