Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Boost library working on Visual Studio 2015

I'm having problems with "boost library" usage for Visual Studio 2015. I have Common Tools installed, followed this video instructions:

https://www.youtube.com/watch?v=GOhHMS4I9Zw

(Basically, unzip boost, in visual studio prompt, execute, boostrap.bat, b2.exe, and in visual studio project properties, in C/C++>General>Additional Include Directories, the root of boost folder, and in Linker>General>Aditional Library Directories, "boost root"/stage/lib".

But after that, using the example of boost documentation, Visual Studio is unable to search in the boost folder. If I write the include sentence with global path (C:/...), it finds it, but all other boost files have relative paths!.

So, what am I doing wrong?. What I need to do to get Visual Studio working with boost library?

like image 399
Reaversword Avatar asked Nov 27 '25 01:11

Reaversword


1 Answers

Yes, make sure you select 'All Configurations' in the 'Configuration' combo box when the project properties window shows up. That will apply the settings for the 'Include Directories' to all config.

like image 169
Phil Avatar answered Nov 28 '25 15:11

Phil



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!