Thread: Extracting BOOST and JAM libraries VS2005

  1. #31
    Registered User
    Join Date
    Apr 2008
    Posts
    610
    Never seen such a complex thing in my life...

    Downloaded VS80sp1-KB926601-X86-ENU.exe which is SP1 for VS2005 .. Double click to install and it says "this may take several minutes or hours, but gets stuck for at least 45min on the tenth bar ...

    K, tried this trick

    As a quick and dirty fix, you could try uncommenting the define:

    // #define BOOST_REGEX_NO_EXTERNAL_TEMPLATES

    in boost/regex/user.hpp and rebuild everything.
    and when i try to build using bjam again after these changes, i get


    C:\Boost_1_36_0\boost\tools\jam\src\bin.ntx86>bjam .exe --build-type=complete

    warning: No toolsets are configured.
    warning: Configuring default toolset "msvc".
    warning: If the default is wrong, your build may not work correctly.
    warning: Use the "--toolset=xxxxx" option to override our guess.
    warning: For more configuration options, please consult
    warning: http://boost.org/boost-build2/doc/ht...iguration.html

    error: error: no Jamfile in current directory found, and no target references specified.
    Maybe i shouldn't use regex ... or boost stuff .. way too high-grade

  2. #32
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Just use an installer.
    Much boost stuff doesn't even require installing or building. Just put the headers into an include directory & use them.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #33
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    I don't get it. Every so often people come here who can't install Boost. It's often enough that I have to rule out one of the reasons. This means that there must be something wrong with Boost.

    I don't know why. I never had any problems whatsoever, even on my first usage. And that was with the old Getting Started guide. I find the new one to be very clear and simple to follow.

    Have you tried following the Getting Started guide step by step?
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  4. #34
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    I have to admit, it took me a few tries on Linux to get it right. I think it's complicated by the fact that Boost has its own build system. You really need to closely read the guides to get things right...you can't fly by the seat of your pants

  5. #35
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    On Linux, it was as easy as "emerge boost" for me
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  6. #36
    Registered User
    Join Date
    Apr 2008
    Posts
    610
    The problem with me is i was trying to use the latest version 1.36.0 ... It does build by can't build the library ... I gave up on 1.36 and tried 1.35, with exactly the same steps, i got it to work last night ... What an exercise ...

  7. #37
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    I believe you need to install the newest VS service pack for 1.36 to work.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  8. #38
    Registered User
    Join Date
    Apr 2008
    Posts
    610
    Quote Originally Posted by CornedBee View Post
    I believe you need to install the newest VS service pack for 1.36 to work.
    If you have patience to wait every two hours for each bar increment whilst installing .. pathetic MS ... thing got stuck for about 45-min to hr on the tenth bar , canceled it .. am happy with 1.35 even though i haven't tested it (the regex functionality)

  9. #39
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    It just takes time. Patience is a virtue they say.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why does boost jam build repeating libraries?
    By indigo0086 in forum Tech Board
    Replies: 0
    Last Post: 05-30-2007, 06:35 AM