vcpkg – What is the linker for mqtt and boost in visual studio?
My error:
cannot find -lmqtt; no such file or directory
ld returned 1 exit status
cannot find -lboost; no such file or directory
ld returned 1 exit status
I have added in linker >input >additional library dependencies>-lboost -lmqtt
and in c/c++ >general>additional include directory> home/pi/vcpkg/installed/arm64-linux/include
and in linker general >additional library directories>home/pi/vcpkg/installed/arm64-linux/debug/lib
(I am building project on raspberrypi)
Read more here: Source link