So I have read the answers on thread about this same issue here. But no answers could fix my issue. I am using Visual Studio 2017 (v141) and so built the lib files with -vc141-
.
When I turned on \verbose
for the linker I noticed something was off.
1>Starting pass 1
1>Processed /DEFAULTLIB:msvcprtd
1>Processed /DEFAULTLIB:libboost_date_time-vc110-mt-gd-1_51.lib
1>Processed /DEFAULTLIB:libboost_filesystem-vc110-mt-gd-1_51.lib
1>Processed /DEFAULTLIB:libboost_system-vc110-mt-gd-1_51.lib
1>Processed /DEFAULTLIB:uuid.lib
1>Processed /DEFAULTLIB:MSVCRT
1>Processed /DEFAULTLIB:OLDNAMES
1>Processed /DEFAULTLIB:MSVCMRT
1>Processed /DEFAULTLIB:MSCOREE
1>Barrage.obj : /DEBUG:FASTLINK is not supported when managed code is present; restarting link with /DEBUG:FULL
1>
1>Invoking LINK.EXE:
1> /ERRORREPORT:PROMPT @C:\Users\oliviefr\AppData\Local\Temp\tmpdc1f49624fae4111864f892383898874.rsp
1> /DEBUG:FORCEFULL
1>
1>Starting pass 1
1>Processed /DEFAULTLIB:msvcprtd
1>Processed /DEFAULTLIB:libboost_date_time-vc110-mt-gd-1_51.lib
1>Processed /DEFAULTLIB:libboost_filesystem-vc110-mt-gd-1_51.lib
1>Processed /DEFAULTLIB:libboost_system-vc110-mt-gd-1_51.lib
1>Processed /DEFAULTLIB:uuid.lib
1>Processed /DEFAULTLIB:MSVCRT
1>Processed /DEFAULTLIB:OLDNAMES
1>Processed /DEFAULTLIB:MSVCMRT
1>Processed /DEFAULTLIB:MSCOREE
1>LINK : MSIL module encountered; incremental linking is disabled for MSIL; performing full link
1>
1>Invoking LINK.EXE:
1> /ERRORREPORT:PROMPT @C:\Users\oliviefr\AppData\Local\Temp\tmpdc1f49624fae4111864f892383898874.rsp /DEBUG:FORCEFULL
1> /incremental:no
1> /nologo
1> /fullbuild
1>
1>Starting pass 1
1>Processed /DEFAULTLIB:msvcprtd
1>Processed /DEFAULTLIB:libboost_date_time-vc110-mt-gd-1_51.lib
1>Processed /DEFAULTLIB:libboost_filesystem-vc110-mt-gd-1_51.lib
1>Processed /DEFAULTLIB:libboost_system-vc110-mt-gd-1_51.lib
1>Processed /DEFAULTLIB:uuid.lib
1>Processed /DEFAULTLIB:MSVCRT
1>Processed /DEFAULTLIB:OLDNAMES
1>Processed /DEFAULTLIB:MSVCMRT
1>Processed /DEFAULTLIB:MSCOREE
1>
1>Searching libraries
1> Searching C:\Program Files\MATLAB\R2017a\extern\lib\win64\microsoft\libmat.lib:
1> Searching C:\Program Files\MATLAB\R2017a\extern\lib\win64\microsoft\libmx.lib:
1>LINK : fatal error LNK1104: cannot open file 'msvcprtd.lib'
1>Done building project "CequeauQuantite.vcxproj" -- FAILED.
What is the Processed /DEFAULTLIB:libboost_date_time-vc110-mt-gd-1_51.lib
? Why is it being called? I am still a beginner with programming and don't understand much of this output.
I can upload images later on (there's an error with imgure right now) showing my properties or I could paste the *.vcxproj
file. Thanks