I have some linking problems
-
Hello gurus, I have some linking problem with Visual Studio 2005 installed on an Windows XP Professional x64 Edition with Platform SDK for Windows Server 2003 R2 (march 2006). I have the following linking errors: 1>xxx.obj : error LNK2019: unresolved external symbol __imp__wstat64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__stat64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__wfindfirst64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__findfirst64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__wfindnext64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__findnext64i32 referenced in function xxx I can see these unresolved references are declared in stat.h (_stat) and io.h (findfirst/findnext) and should be linked with the CRT but I don't find the correct lib to link with. Does any body has a clue to solve this problem? Best regards. Fred.
There is no spoon.
-
Hello gurus, I have some linking problem with Visual Studio 2005 installed on an Windows XP Professional x64 Edition with Platform SDK for Windows Server 2003 R2 (march 2006). I have the following linking errors: 1>xxx.obj : error LNK2019: unresolved external symbol __imp__wstat64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__stat64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__wfindfirst64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__findfirst64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__wfindnext64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__findnext64i32 referenced in function xxx I can see these unresolved references are declared in stat.h (_stat) and io.h (findfirst/findnext) and should be linked with the CRT but I don't find the correct lib to link with. Does any body has a clue to solve this problem? Best regards. Fred.
There is no spoon.
Not sure, but it seems a mismatch between the compiler and linker configurations, like compiling for Win64, but linking for Win32. Can you check the compiler and linker flags ?
2 bugs found. > recompile ... 65534 bugs found. :doh: