linkage

Started by
3 comments, last by biznezman777 19 years, 11 months ago
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
Anthony Mouton
Advertisement
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



Brianmiserere nostri Domine miserere nostri
Sorry, but I did not type AND in the library settings
Anthony Mouton
Zip up your project and upload it somewhere, so we can download it and see what''s up.

Brian
miserere nostri Domine miserere nostri

Brianmiserere nostri Domine miserere nostri
How about if I give you my yahoo messenger ID, biznezman777



Anthony Mouton
Anthony Mouton

This topic is closed to new replies.

Advertisement