I am trying to build VS-2012(msvc-110) solution in VS-2019(msvc-142). It also used Boost library v1.51. I simply started by opening solution file in VS-2019 where it asked to change Windows SDK and Platform toolchain version (I choose WinSDK-10.177 and Platform ToolChain-142).
But I am facing linking error in a project which is as below
Error LNK1104 cannot open file 'libboost_system-vc110-mt-1_51.lib'
I have searched all properties of project but couldn't found from where its trying to link 'libboost_system-vc110-mt-1_51.lib'
After setting the flag ShowProgress to Show All Progress from Project's Linker configuration, the buildlog displays
1>Processed /DEFAULTLIB:libboost_system-vc110-mt-1_51.lib
But I'm not sure from where its getting linked.
I also tried to add a dummy lib (xyz.lib) by adding it in linker's input list, which obviously gives the linker error
Error LNK1181 cannot open input file 'xyz.lib'
The error code for both linking error are different. So below are my questions
1) What is difference between error code LNK1181 vs LNK1104 ?. (I didn't get it clear from MSDN)
2) Why its trying to link libboost_system-vc110-mt-1_51.lib and where I can find the setting to modify/update it.
3) Is it ok to go with older version of boost 1.51.0 and VS-2019? Will it impact any functionality?