Hello all,
I have the following problem - been at it the whole day - just not getting it
- We are using the VC++ 6 studio and compiler.
- We have a workspace with the following
a) TestApp ( it is a console sample application, straight from Redbook, has some openGL code).
b) TestLibrary (It is a static library, that does some work using OpenGL library). - I am able to build both the above applications separately.
- If from TestApp, no call is made to the TestLibrary no linker error occurs, executes fine.
- If a call from TestApp is made to the TestLibrary, the linker errors are there -
TestLibrary_lib.lib(TestLibrary_utility.obj) : error LNK2001: unresolved external symbol _glPopAttrib
TestLibrary_lib.lib(TestLibrary_utility.obj) : error LNK2001: unresolved external symbol _glPopMatrix
Typically it cannot link the static library to the OpenGL files.
Any clues or ideas…
- Sophia