Sign in to follow this  
PixelStation

Linking confusion

Recommended Posts

Hey guys,

I have an engine that I'm working on, part of the engine uses FreeType2 and requires the .lib to compile. This is no problem, however, any project that uses my engine's .lib also has to link to FreeType2's .lib.

Can I compile my engine so that any projects built off of it will only have to link to my engine's .lib and not FreeType2's as well?

Thanks.

Share this post


Link to post
Share on other sites
Try to find option: Use dynamic RTL, or Use runtime libraries when building, and set it to "no". This should link all required libs in your project. However I have only tried it with DLL's, and have no knowledge of how it may work with lib.
Maybe it will help.

Share this post


Link to post
Share on other sites
Try to find option: Use dynamic RTL, or Use runtime libraries when building, and set it to "no". This should link all required libs in your project. However I have only tried it with DLL's, and have no knowledge of how it may work with lib.
Maybe it will help.

Share this post


Link to post
Share on other sites
Quote:
Original post by Misery
Try to find option: Use dynamic RTL, or Use runtime libraries when building, and set it to "no". This should link all required libs in your project. However I have only tried it with DLL's, and have no knowledge of how it may work with lib.
Maybe it will help.


I couldn't find any option that looked like that. I'm using Visual Studio C++ 2010 Express. I've looked at all of the options in the linker section, but I honestly have no idea what the majority of them do.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this