Reputation: 7205
When I set up my project with relative paths, it fails.
// Does not work properties-linker-general-additional library directories
..\..\libraries
// works fine
C:\Users\NAME\Desktop\project\libraries
How do I get the relative paths to work?
Upvotes: 4
Views: 4358
Reputation: 17115
Try making it relative to your project directory or solution directory (as appropriate). I avoid playing guessing games with my current directory. Use the convenient variables defined by Visual Studio to avoid hard coding a path.
$(ProjectDir)\..\..\libraries
or
$(SolutionDir)\..\..\libraries
Upvotes: 5