Sign in to follow this  

Linking with libPNG

Recommended Posts

I'm having some trouble linking with libPNG. I've statically compiled the release LIB and I'm trying to link it into a project and I keep receiving linking errors that the following have already been defined in LIBCD.lib(*.obj): _strncpy, _malloc, _free. I'm assuming the conflict is coming from the windows library defined functions and the functions wanting to be defined/used by libPNG, but I'm somewhat at a loss for how to fix this with the MSVC2003 compiler/linker. Can someone clue me in on what I'm overlooking?

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