How do I add Boost libraries to VS.NET?
-
:mad: X| I'm pulling out my hair trying to figure out how to add the wonderful C++ boost libraries to VS.NET. You get them here: www.boost.org. I can figure it out on UNIX but VS.NET is a mystery to me. :rolleyes:
-
:mad: X| I'm pulling out my hair trying to figure out how to add the wonderful C++ boost libraries to VS.NET. You get them here: www.boost.org. I can figure it out on UNIX but VS.NET is a mystery to me. :rolleyes:
I just installed them this morning; what seems to be the trouble? I downloaded boost, ran the exe to extract the files, downloaded boostjam and put it in the boost directory, and then ran something like "bjam -sTOOLS=vc-7_1 --prefix=d:\boost --with-python-root=d:\python23", which installs boost for visual studio.net in d:\boost and also sets up all the python bits. After that, I had to add the boost include directory to the default include directories in visual studio, which is in Tools->Options->Projects->VC++ Directories. Make sure that you put the selection box to "include files", and not executable ones. I installed to d:\boost, so the include directory is d:\boost\include\boost-1_32. Alternatively, you can just add the boost directory on a project by project basis by going to Project->Properties->c/c++->General->additional include directories. Hope that helps.