1. Right click on the solution, click on 'Properties'

    https://s3-us-west-2.amazonaws.com/secure.notion-static.com/7bf6c7e0-3ec4-4918-926a-7bf28b5d7d6c/Untitled.png

  2. Under 'Configuration Properties', click on 'C/C++' tab.

Look for 'Additional Include Directories', and click '<Edit...>'.

![<https://s3-us-west-2.amazonaws.com/secure.notion-static.com/0b953318-3aca-472c-8e1a-e052d9e50a77/Untitled.png>](<https://s3-us-west-2.amazonaws.com/secure.notion-static.com/0b953318-3aca-472c-8e1a-e052d9e50a77/Untitled.png>)
  1. Locate the header files from your 3rd party libraries, and add the path to the list.

The header files are generally .h files or .hpp files.

Below example shows that this solution comprises of header files from '\include', and other header files from 3rd party libraries such as DBoW, DUtils, DVision, Eigen etc.

![<https://s3-us-west-2.amazonaws.com/secure.notion-static.com/ce359ea2-6d45-4c24-bd90-16e3b1e35917/Untitled.png>](<https://s3-us-west-2.amazonaws.com/secure.notion-static.com/ce359ea2-6d45-4c24-bd90-16e3b1e35917/Untitled.png>)
  1. Now, we move onto 'Linker' tab under 'Configuration Properties.

Click on 'General' from the menu, and check if 'Link Library Dependencies' is showns as 'YES' or 'NO'.

If 'YES', then it means you will choose what libraries you will use by choice from the path you stated. The steps for this will be explained in step 6 and 7. If 'NO', then you will be using all library files that can be found in the directory automatically.

Find 'Additional Library Directories', and expand the menu and click '<Edit...>'.

![<https://s3-us-west-2.amazonaws.com/secure.notion-static.com/92466c81-58ea-4610-933e-1b8ee37aa162/Untitled.png>](<https://s3-us-west-2.amazonaws.com/secure.notion-static.com/92466c81-58ea-4610-933e-1b8ee37aa162/Untitled.png>)
  1. Locate your 3rd party libraries' .lib files and .dll files.

Below examples only show the path to the .lib files, but in the path directory there are files like ceres.lib, ceresd.lib, glog.lib, glogd.lib, opencv_world344.lib, opencv_world344d.lib etc.

The .lib files that has the names ending with 'd' are for debugging purposes.

![<https://s3-us-west-2.amazonaws.com/secure.notion-static.com/72ec691c-82e8-4dbe-9ea1-649bc33daa2d/Untitled.png>](<https://s3-us-west-2.amazonaws.com/secure.notion-static.com/72ec691c-82e8-4dbe-9ea1-649bc33daa2d/Untitled.png>)
  1. We move onto 'Input' tab, under 'Linker', under 'Configuration Properties.

    Find 'Additional Dependencies', and click on '<Edit...>'

    https://s3-us-west-2.amazonaws.com/secure.notion-static.com/2c162e22-7b79-470e-9322-95bd740c6e93/Untitled.png

  2. Write in the library dependecies of your choice.

I chose ceresd.lib, glogd.lib, opencv_world344d.lib and glogd.lib.

The rest .lib files are automatically chosen by Visual Studio 2017, and I have just re-written them just to make sure.

![<https://s3-us-west-2.amazonaws.com/secure.notion-static.com/aeb574c9-d113-4a35-97d4-f2e9edc799b4/Untitled.png>](<https://s3-us-west-2.amazonaws.com/secure.notion-static.com/aeb574c9-d113-4a35-97d4-f2e9edc799b4/Untitled.png>)