Jump to content
  • Advertisement

Archived

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

brain21

Static Lib Needs other Libs

This topic is 5272 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

Hi, I''m compilling a static library that needs other libraries. I''m using VC++ 6.0 on Windows XP. When I create the static lib project, there is no place to tell the compiler that I want to link with these extra libs, or is there? How do I do this? Where? I''ve looked throught the project properties, but could not find the place where I usually include the lib in an .exe program. Thanks for any help, Denny.

Share this post


Link to post
Share on other sites
Advertisement
lib files do not go through the linker. They can simply be described as container of obj files.

So just make sure you have all the proper libs when you link your final application and everything will compile.

Share this post


Link to post
Share on other sites
ok, but when I build the final application, the linker says that mylib.lib has some "undefined external references". There are errors and I can''t link the whole program. And the errors point to functions that are in the other libs. I am linking with the other libs in my final application though.

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!