How to Set Up Boost?
How to Set Up Boost?
Anyone using Boost C++ libraries? There's a lot of useful stuff in there, but I can't figure out how to get the whole thing set up. I'm not quite sure why the download can't just include headers, static libraries, and (if necessary for certain libraries) dynamiclike libraries. I'm not sure why they need that whole complicated bjam system, I don't get how to use it, partly because I'm not sure what it's supposed to be doing.
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.
Crucible of Stars
Crucible of Stars
The build system is based on bjam. It is much easier to set up than gnu make. You will need to download the whole SDK and build it using bjam. bjam is also avaiable at the boost homepage. boost expands the STL so there is a heavy usage of templates. Some compiles may strike on some libraries provided by boost, you may want to check this in the compiler compatibily page. If you are using gcc3.4 most libraries should build.
Using boost is always a great idea, you may want to have a look at the loki libraries, too. Well, those libraries are what i call advanced C++.
Cheers,
Schick
Using boost is always a great idea, you may want to have a look at the loki libraries, too. Well, those libraries are what i call advanced C++.
Cheers,
Schick
Please send me an e-mail instead of a private message.
well, I knew it needed bjam. I downloaded bjam from here http://sourceforge.net/project/showfile ... e_id=72941
I'm just not sure what I need to set so it will build boost with my MingW installation. It seems to be trying to find VC++ 7 and failing cause I don't have it. I'm not sure how I change which compiler it's looking for.
I'm just not sure what I need to set so it will build boost with my MingW installation. It seems to be trying to find VC++ 7 and failing cause I don't have it. I'm not sure how I change which compiler it's looking for.
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.
Crucible of Stars
Crucible of Stars
http://boost.org/more/getting_started.html
I found it quite hard to set up Boost, too.
But you don't have to do much... Just copy bjam to "your path"(System or System32) or into the Boost directory, set some variables(<-- woa, links are invisible ), tell bjam wich toolset to use, tell it where to install boost... it's somehow confusing.
I found it quite hard to set up Boost, too.
But you don't have to do much... Just copy bjam to "your path"(System or System32) or into the Boost directory, set some variables(<-- woa, links are invisible ), tell bjam wich toolset to use, tell it where to install boost... it's somehow confusing.
Thanks, I had actuall found both those pages before, but I must be missing something on them.
that's what I'm not getting. I'm not sure what variable I have to set for that. It keeps trying to set stuff up for VC7, which I don't have.tell bjam wich toolset to use
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.
Crucible of Stars
Crucible of Stars
oh, I'm stupid. I didn't finish reading that getting started guide. I only read up to step 3 and somehow missed noticing that there were more steps. I'm not sure how I did that. Well I should be all set now (except perhaps my mental state). Thanks
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.
Crucible of Stars
Crucible of Stars