Thread: instaling boost libraries

  1. #1
    Registered User whackaxe's Avatar
    Join Date
    Mar 2004

    instaling boost libraries

    could someone explain how i am supposed to install the boost libraries, because i really havent got a clue of what thy are talking about in their getting started guide.i want to install it for DEVC++. thanks


    P.S i got past step 1 at least

  2. #2
    Hardware Engineer
    Join Date
    Sep 2001

    Unhappy Sorry, this isn't really an answer to your question...

    I've never used Boost, but maybe I can help get you started.

    The instructions indicate that you have to compile the boost library yourself. Also, they instruct you to compile from the command line ("DOS") using their "make" replacement (JAM). (I clicked on the SourceForge link, and I didn't see any "pre-built" libraries. Anything that says "Platform Independent" is NOT going to be pre-built.)

    The Dev-C++ IDE uses the MinGW compiler, so try to follow the instructions for MinGW.

    If you're not familiar with DOS... how to change directories (folders), set paths, etc., this is going to be hard for you. Also, note that DOS uses a backslash "\" between directory levels, whereas their UNIX/Linux command line examples use a regular (forward) shash "/".

    A make program is an interpreter that executes a makefile script. The makefile is like a project file for an IDE. It invokes (executes) the compiler, and it tells the compiler what source files to include, where to find the source files, where to put the exe and obj files, and all of the other option & configuration information. Ummm... I hope that's clear... When you run Boost.Jam, it's going to follow the instructions in the jamfile, which automatically runs the compiler.

    And yeah, this looks rather compilcated. I wouldn't be surprised if it takes at least a half-day to get it working. ...But it'll only take five minutes the 2nd time you do it!

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    It takes much longer to compile, of course. I think last time my pc was happily working for 20 minutes or more.

    Most libraries need no more installation than copying the boost includes directory to the compiler's include path.
    All the buzzt!

    "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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Extracting BOOST and JAM libraries VS2005
    By csonx_p in forum C++ Programming
    Replies: 38
    Last Post: 09-08-2008, 03:21 AM
  2. boost libraries
    By herWter in forum C++ Programming
    Replies: 6
    Last Post: 07-15-2008, 05:35 PM
  3. Why does boost jam build repeating libraries?
    By indigo0086 in forum Tech Board
    Replies: 0
    Last Post: 05-30-2007, 06:35 AM
  4. building boost libraries
    By l2u in forum C++ Programming
    Replies: 3
    Last Post: 05-09-2007, 08:34 AM
  5. MinGW thread-safe runtime libraries
    By Mario F. in forum C++ Programming
    Replies: 3
    Last Post: 08-21-2006, 08:15 AM