Problems installing boost
i hope you can help me.
i've tried to install boost, as i was told in the readme, but i'm doing something wrong :(
it says i first have to set the invironment variables ( i opened cmd and ran this cvars32.bat thing ) after that, i switched to the unpacked boost foldier, but when i tried bjam "-sTools=vc-8.0" install, i get the error that the command bjam doesn't exist.
obviosly i got msvc 2005 ( 8.0 ), but unfortunately, boost doesn't like to be compiled on my computer :(
perhaps you know, what i've done wrong?
you need to download the 'bjam' tool and ensure that it is in your "path" somewhere (I just put a copy in the boost directory myself)
boost does not include the "bjam" utility.
you can download bjam.exe from the link on the "getting started" guide. just put it in the same dir.
plus, the "-sTOOLS=vc-8_0" I trhink (or maybe "-sTOOLS=vc_8-0"?)
edit: one second!?!?!? crap
you can download bjam.exe from the link on the "getting started" guide. just put it in the same dir.
plus, the "-sTOOLS=vc-8_0" I trhink (or maybe "-sTOOLS=vc_8-0"?)
edit: one second!?!?!? crap
i downloaded the executable, but i get tons of errors ( and also some filecopy commands ) don't know exactly whats wrong, it took some minutes after the prog was finished, but the result is this:
failed updating 948 targets
skipped 412 targets
updatet 3785 targets
i now habe a bin folder in the boost folder, but theres no file in there, only empty other folders...
what's wrong now?
failed updating 948 targets
skipped 412 targets
updatet 3785 targets
i now habe a bin folder in the boost folder, but theres no file in there, only empty other folders...
what's wrong now?
Quickest method:
Don't be alarmed if you are told that some libraries where not built, this will happen because you dont have the required library dependencies to build it. You can still use the other libraries in boost.
Also note that the majority of boost libraries are purely header based and don't end up as a static and/or dynamic libraries.
[Edited by - snk_kid on May 19, 2006 11:38:55 AM]
- Goto your start menu and find the visual c++ 2k5 tab/folder, in there you'll find vc++ 2005 command prompt (it might be under "tools" i can't remember), click on it, it will open up the command prompt it should have your enviroment all setup correctly.
- if you do not have bjam in your path already then you can set it temporary from the command prompt:
set PATH=%PATH%;<insert-path-to-bjam>export PATH
- Change directorary to the place where you have extracted boost, in the top level.
- now enter:
bjam "-sTOOLS=vc-8_0" install
Don't be alarmed if you are told that some libraries where not built, this will happen because you dont have the required library dependencies to build it. You can still use the other libraries in boost.
Also note that the majority of boost libraries are purely header based and don't end up as a static and/or dynamic libraries.
[Edited by - snk_kid on May 19, 2006 11:38:55 AM]
i did exactly as you told me and i get the same result...
i get tons of messages, i once took a screenshot, and this is the result:
i don't understand why it wants to access this directory, i don't have msvc 2005 installed in that dir
*edit*
perhaps it is working now. for some reason, i also have to set MSVCDir, it's now compiling i think. it takes its time o_O
[Edited by - SiS-Shadowman on May 19, 2006 10:42:41 AM]
i get tons of messages, i once took a screenshot, and this is the result:
i don't understand why it wants to access this directory, i don't have msvc 2005 installed in that dir
*edit*
perhaps it is working now. for some reason, i also have to set MSVCDir, it's now compiling i think. it takes its time o_O
[Edited by - SiS-Shadowman on May 19, 2006 10:42:41 AM]
Look what boost-consulting did for n00bs like you -> http://www.boost-consulting.com/download.html
Quote:Original post by SiS-Shadowman
bjam "-sTools=vc-8.0" install
Should be vc-8_0
Quote:
i don't understand why it wants to access this directory, i don't have msvc 2005 installed in that dir
The messages indicate it is looking for VS 2003, not VS 2005. You messed up the version on the command line.
as you can see in the window i entered vc-8_0, but bjam also needed MSVCDir set, to be able to locate vc 2005, although i did set all the environment variables through vsvars32.bat...
Why do you need to install boost? Can't you just move the includes folder somewhere handy and have at it?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement