Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

biznezman777

linkage

This topic is 5308 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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



Share this post


Link to post
Share on other sites
Zip up your project and upload it somewhere, so we can download it and see what''s up.

Brian
miserere nostri Domine miserere nostri

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!