Advertisement

linking problem wiht Visual C++

Started by May 30, 2003 07:11 PM
0 comments, last by Karlj 21 years, 9 months ago
I just got Visual Studios 6.0 and I was trying to build a program Ive been working on using the free Borland compiler. In Visual C++ im getting linking errors for what looks like gl stuff. Ive tried some other lessons and get the same thing. Anyone know what I need to do to link this stuff in Visual c++? game.obj : error LNK2001: unresolved external symbol __imp__wglUseFontBitmapsA@16 game.obj : error LNK2001: unresolved external symbol __imp__glGenLists@4 game.obj : error LNK2001: unresolved external symbol __imp__glPopAttrib@0 game.obj : error LNK2001: unresolved external symbol __imp__glCallLists@12 game.obj : error LNK2001: unresolved external symbol __imp__glListBase@4 Thanks Karl
The compiler generates unresolved external symbols when a function is declared as external, but he can''t find the definition of that func. Probably you aren''t linking some libs (OpenGL32.lib).

PM


Times change...


Excuse my poor english!
PM Times change... Excuse my poor english!

This topic is closed to new replies.

Advertisement