Sign in to follow this  
Harryu

__imp__strdup

Recommended Posts

error LNK2001: unresolved external symbol __imp__strdup alrighty, does anybody have a clue as to what that might mean better yet, does anyone know how i can fix it, as it is the one linker error between where i am now and successful compilation otherwise if there was a simple code workaround, or something like that help would be appreciated

Share this post


Link to post
Share on other sites
It looks like you're trying to link something that wants the Multithreaded DLL version of the C runtime, but you aren't linking in that version. You'll have to change your C++ Code Generation settings to use the Multithreaded DLL or Debug Multithreaded DLL runtime instead. Alternatively, if you have the source for the library you're trying to link in that relies on the MT DLL runtime, try recompiling it with the same runtime that you're using in your main project.

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