Reputation: 834
I followed resthub github for building the library
mkdir build && cd build
cmake -DBUILD_SSL=OFF -DBUILD_EXAMPLES=ON -G "Visual Studio 15 2017" ..
msbuild INSTALL.vcxproj
It successfully created distibution folder. I added those in my sample restbed project as shown below
But I am getting the link error as shown below when building
What am I doing wrong?
Upvotes: 1
Views: 338
Reputation: 1923
There are three steps to add a lib:
Properties->C/C++->General->Additional Include Directories
Properties->Linker->General->Additional Library Directories
Properties->Linker->Input->Additional Dependencies
Also, you could refer to this link about lnk2019
.
Upvotes: 1