Jump to content
  • Advertisement


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


Question about static libraries

This topic is 6773 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, When I create a static library, I have to link in one of the Debug/Release and Single/MultiThread libraries in VC++ to build the library.. but when another project that uses the library links in a different version of default libraries (ie Debug/Release, Single/Multi), the linker will generate a warning about incompatible library versions. Do I have to create 4 versions of the static library linking the different combinations of default libraries?? Cause I notice the libraries in directx don''t have a debug/release, single/multithreaded versions, only 1 lib file. How is that done??? thanks..

Share this post

Link to post
Share on other sites
from what I understand yes... In DX the libs just help with interfacing the DLLs... a DLL is multithread only...

Great Milenko

Words Of Wisdom:
"Never Stick A Pretzel In Your Butt It Might Break Off In There."


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!