Search code examples
cvisual-studiodllbuild-process

Setting up dependencies on Visual C++ 2008 Express


How do I set up Visual C++ 2008 Express to point to the required libraries and include directories of a 3rd party C library?


Solution

  • For the header files:

    1. Right click on the project in the Solution Explorer
    2. Choose Properties
    3. Expand C/C++
    4. Click on General
    5. Add your required libraries to Additional Dependencies

    For the Libraries:

    1. Right click on the project in the Solution Explorer
    2. Choose Properties
    3. Expand Linker
    4. Click on Input
    5. Add your required libraries to Additional Dependencies

    You may also need to the the Additional Library Directories under Linker -> General