To use some recompiled libraries (f.ex. boost chrono) i need to specify the library folder in visual studio at Properties -> VC++ Directories -> Library Directories. How can i achieve this using the command line? I have been using the /LIBPATH but i get linker error (LNK1104).
To use some recompiled libraries (f.ex. boost chrono) i need to specify the library
Share
You need to specify
/link <linkoptions>for cl.exe command line to pass the required settings to the linker:cl -I "path\to\Boost" test.cpp /link /LIBPATH:"C:\path\to\Boost\stage\lib"