Sign in to follow this  
sandy

Unity Ignoring a failed library linking?

Recommended Posts

I am trying to compile a project and I am receiving the following linking error: LINK : fatal error LNK1104: cannot open file 'libcp.lib' What I want to do is just tell the compiler to ignore this .lib file (i.e. don't try and link to it). I was reading an old thread (http://www.gamedev.net/community/forums/topic.asp?topic_id=269777&whichpage=1�) which discusses this issue and apperantly I can safely ignore this .lib file (according to this thread). The problem is, I don't know how to stop the compiler from trying to link to this file. Does anyone know how to do this?

Share this post


Link to post
Share on other sites
In MSVC: goto project settigns (alt+F7), Link tab, and in the edit box at the bottom, add /nodefaultlib:"libcp". Assuming its a defualt library like libc.
I keep getting loads of these damn linker errors thanks to STLPort and SDL not playing niceply together...

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