c++ - LNK1181 error converting from VS 2008 to VS 2012 -
i have c++ dll in vs2008 trying convert vs2012. windows 7 64 bit, compiling 32 bit application.
i getting following linker error:
1> debug_win32\xyz.obj 1> debug_win32\abc.obj 1> 1> starting pass 1 1>link : fatal error lnk1181: cannot open input file ',0.obj'
i don't have file named ",0" in project, i'm confused coming from.
i've done searching , tried various fixes i've seen (repairing vs 2012, deleting build output directories, deleting microsoft.cpp.x32.user file, etc.), no luck.
any idea causes or how try , debug it?
edit: had subsystem flag set "not set", changing worked great. thanks!
i don't have file named ",0" in project, i'm confused coming from.
it comes linker's /subsystem option. more explicit in vs2012, it no longer supports xp default gets explicit sub-system version number. 6,0
modern windows versions, that's ,0
came from.
right-click project, properties, linker, system. must change subsystem setting, cannot "not set" or blank. pick either "console" console mode app, "windows" gui app or dll.
Comments
Post a Comment