问题
I've ported my project from vs 2012 to vs 2015.
The Library i'm consuming is also built from vs 2015.
I build my project using makefile and getting this error
LNK1104 cannot open file 'legacy_stdio_definitions.lib'
if i build the same in vs 2012 , it works fine.
What this error is all about?
回答1:
Try opening the project in Visual Studio, then click Project at the top menu bar. Click "Properties", "Linker", and then "Input". In "Additional Dependencies", click the down arrow beside and click "Edit". Add "legacy_stdio_definitions.lib" and click "OK", then "OK".
来源:https://stackoverflow.com/questions/51816629/lnk1104cannot-open-file-legacy-stdio-definitions-lib