JibinNajeeb
JibinNajeeb

Reputation: 834

Link Error in Visual Studio 2017 with restbed

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 enter image description here

enter image description here

But I am getting the link error as shown below when buildingi What am I doing wrong?

Upvotes: 1

Views: 338

Answers (1)

Barrnet Chou
Barrnet Chou

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

Related Questions