VS10 Additional library directories fails when using a relative path
When I set up my project with relative paths, it fails.
// Does not work properties-linker-general-additional library dire开发者_开发知识库ctories
..\..\libraries
// works fine
C:\Users\NAME\Desktop\project\libraries
How do I get the relative paths to work?
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
精彩评论