Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. How do I add Boost libraries to VS.NET?

How do I add Boost libraries to VS.NET?

Scheduled Pinned Locked Moved Visual Studio
questioncsharpc++visual-studiotutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Martin Marvinski
    wrote on last edited by
    #1

    :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:

    N 1 Reply Last reply
    0
    • M Martin Marvinski

      :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:

      N Offline
      N Offline
      Nathan Addy
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups