I am creating several Visual C ++ DLL and EXE projects with Visual Studio 2012. When building using the standard toolkit of the v110 platform, the assembly was successful, but when creating using the toolkit of the v110_xp platform compatible with Windows XP, it does not cope with the following linker error in each project:
LINK: fatal error LNK1104: cannot open file ', 5.01'
Please note that if I changed the platform from Win32 to x64, the errors change to:
LINK: fatal error LNK1104: cannot open file ', 5.02'
This can be easily reproduced by creating a new EXE project from the "Empty project" template in Visual Studio and adding a * .cpp file that defines int main() {return 6;} . It will work successfully until you change the platform toolkit from v110 to v110_xp.
Why is this happening and how can I successfully create these projects with compatibility with Windows XP?
visual-c ++ visual-studio-2012 linker-errors
Yodan tauber
source share