Problem linkage
-
Hi, I seem to have a problem with linking an MFC application. I get the following errors: error LNK2001: unresolved external symbol __imp__floor error LNK2001: unresolved external symbol __imp__atof error LNK2001: unresolved external symbol __imp__atof Am i forgetting a library to link with or what could cause this problem? Best regards, Jens
-
Hi, I seem to have a problem with linking an MFC application. I get the following errors: error LNK2001: unresolved external symbol __imp__floor error LNK2001: unresolved external symbol __imp__atof error LNK2001: unresolved external symbol __imp__atof Am i forgetting a library to link with or what could cause this problem? Best regards, Jens
Make sure that both your main project and the library you are using are compiled with the same CRT linkage options (multithreaded, singlethreaded, static, dll etc)
My blog on C++/CLI, MFC/Win32, .NET - void Nish(char* szBlog); My MVP tips, tricks and essays web site - www.voidnish.com