linkage
I am using Visual C++. I decided to created a project just as it is in lesson1. I added the libraries and compiled the source code. All is well exept that i have a linkage error
Linking...
LINK : fatal error LNK1104: cannot open file "and.obj"
Error executing link.exe.
Everything is exactly like lesson1.
I downloaded lesson1 and built it, and it works fine.
So are there any additional settings that i should know about.
Anthony Mouton
When specifying the libs to link to (it''s opengl32.lib and glu32.lib if I remember), in your project settings DON''T type "opengl32.lib and glu32.lib", type "opengl32.lib glu32.lib" (i.e. WITHOUT the word "and"). Adding the word "and" makes the linker think you have a file called "and.obj" that you want to link as well.
Brian
miserere nostri Domine miserere nostri
Brian
miserere nostri Domine miserere nostri
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement