Advertisement

libaries and Borland - linking problem

Started by March 06, 2001 06:35 AM
2 comments, last by drBones 23 years, 8 months ago
I know... maybe this is the wrong forum... but what the hell... I have this problem with Borland C++ compiler: First I had to convert all libraries to OMF ( from MSVC''s ) I try to compile things with glut libraries... I link all *.h files in my project... ( I even add libraries to project ) and I have this nasty unresolved externals !!! Even with things like glVertex ... imagine that ... Nehe tutorials work fine, but thing are beggining to go weird when I try to check anything downloaded from Romka Graphics site... They use "pure" glut, no Win32 programming... Can anyone help me whith this thanks a lot for your patience Pet
Pet
If glVertex is an unresolved external do you not link to opengl32.lib. GLUT is a complement not a replacement.
Advertisement
I said I had linked all libraries needed... even opengl32.lib
what is more Nehe''s tutorials work fine... without extra linking opengl32.lib ( just *.h )
btw. ( if you check glut.h - it includes gl.h and opengl32.lib )

someone answer this please
Pet
Pet
Perhaps are you mixing different OpenGL implementations?
It should be glut32.lib and not glut.lib...
glVertex _is_ in the OpenGL dll so the only possible way it could be unresolved is that the library is not linked to.

If that does not work post the exact error messages and a link to the code from Romka.

This topic is closed to new replies.

Advertisement