Sign in to follow this  

trouble with c++ static libraries on windows

Recommended Posts

I have a project that builds a c++ static library which is using a few open source static libs. That project works and builds fine. The problem is when i try to link my library that I built into another project I get tons of link errors. Half of the link errors are for undefined function calls from the open source libs. Do I have to link those into this project too, shouldn't they already be in the library I built. I can get rid of those errors by linking in the open source libs, but then i Get a butt load of link erros that mainly said something is already defined somewhere else. Some are stl, and other basic functions, nothing that is created in mine or the open source lib. Any idea on how to fix this. Thanks a lot.

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