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. C / C++ / MFC
  4. boost::thread

boost::thread

Scheduled Pinned Locked Moved C / C++ / MFC
visual-studiodebuggingtutorialquestiondiscussion
3 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.
  • A Offline
    A Offline
    Andrew Walker
    wrote on last edited by
    #1

    I've finally got boost::thread working in debug and release, but I think I'm doing something wrong. Does anyone know how to armwrestle boostjam into building both the release and debug builds of boost::thread in the boostroot\boost_1_31_0\libs\thread\build\bin-stage directory? They seem to build into the temporary directories ok, but not all of them are moved. Autolinking fails in the IDE unless I move some extra files into boostroot\boost_1_31_0\libs\thread\build\bin-stage (which has been added to the library include directories) bjam command: bjam "-sTOOLS=vc7" I end up with: boost_thread-vc7-mt-1_31.dll boost_thread-vc7-mt-1_31.lib boost_thread-vc7-mt-gd-1_31d.dll boost_thread-vc7-mt-gd-1_31d.lib but am missing: boost_thread-vc7-mt-gd-1_31.dll boost_thread-vc7-mt-gd-1_31.lib


    If you can keep you head when all about you Are losing theirs and blaming it on you; If you can dream - and not make dreams your master; If you can think - and not make thoughts you aim; Yours is the Earth and everything that's in it. Rudyard Kipling

    G 1 Reply Last reply
    0
    • A Andrew Walker

      I've finally got boost::thread working in debug and release, but I think I'm doing something wrong. Does anyone know how to armwrestle boostjam into building both the release and debug builds of boost::thread in the boostroot\boost_1_31_0\libs\thread\build\bin-stage directory? They seem to build into the temporary directories ok, but not all of them are moved. Autolinking fails in the IDE unless I move some extra files into boostroot\boost_1_31_0\libs\thread\build\bin-stage (which has been added to the library include directories) bjam command: bjam "-sTOOLS=vc7" I end up with: boost_thread-vc7-mt-1_31.dll boost_thread-vc7-mt-1_31.lib boost_thread-vc7-mt-gd-1_31d.dll boost_thread-vc7-mt-gd-1_31d.lib but am missing: boost_thread-vc7-mt-gd-1_31.dll boost_thread-vc7-mt-gd-1_31.lib


      If you can keep you head when all about you Are losing theirs and blaming it on you; If you can dream - and not make dreams your master; If you can think - and not make thoughts you aim; Yours is the Earth and everything that's in it. Rudyard Kipling

      G Offline
      G Offline
      Garth J Lancaster
      wrote on last edited by
      #2

      sorry Andrew, the only thing I've built with boost was regex, and that was before the days of 'bjam' - it was a lengthy compile, but at least it worked ... I couldnt even begin to guess where the problem is, maybe the targets arnt defined or something .. I can tell you that the boost forums (from the boost homepage) are probably the better place to ask a boost specific question. 'G'

      A 1 Reply Last reply
      0
      • G Garth J Lancaster

        sorry Andrew, the only thing I've built with boost was regex, and that was before the days of 'bjam' - it was a lengthy compile, but at least it worked ... I couldnt even begin to guess where the problem is, maybe the targets arnt defined or something .. I can tell you that the boost forums (from the boost homepage) are probably the better place to ask a boost specific question. 'G'

        A Offline
        A Offline
        Andrew Walker
        wrote on last edited by
        #3

        I guessed that would be the answer... I had my fingers crossed that William Kempf (the author of boost::thread) may have answered directly, he occasionally answers questions on CodeProject Thanks anyway, :)


        If you can keep you head when all about you Are losing theirs and blaming it on you; If you can dream - and not make dreams your master; If you can think - and not make thoughts you aim; Yours is the Earth and everything that's in it. Rudyard Kipling

        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