Jump to content

Problem installing Boost libraries on Windows

- - - - -

  • Please log in to reply
4 replies to this topic

#1
ZxiFer

ZxiFer

    Newbie

  • Members
  • PipPip
  • 16 posts
Hello,

I'm trying to install Boost on Windows, with bjam, but I'm getting some errors in cmd:

These are my file directories I used:
C:\Libraries\boost_1_48_0
C:\BoostInstall\boost-jam-3.1.18-1-ntx86

Attached File  Knipsel.PNG   43.09K   20 downloads

Can someone help me with these errors?

#2
Flying Dutchman

Flying Dutchman

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 889 posts
  • Location:::1
I don't know if this will help, but try adding gcc to PATH.
A conclusion is where you got tired of thinking.
#define class struct    // All is public.

#3
ZxiFer

ZxiFer

    Newbie

  • Members
  • PipPip
  • 16 posts
How do you mean?

set PATH=C:\boostinstall\boost-jam-3.1.18-1-ntx86;%PATH%

#4
Flying Dutchman

Flying Dutchman

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 889 posts
  • Location:::1
Right click on my computer > advanced > advanced system settings (on left side) > advanced tab > environment variables > find PATH and add this:
;C:\Program Files (x86)\CodeBlocks\MinGW\bin;
Then open your command prompt, type in gcc or g++ and if it says Fatal error: no input files you're all set and try to install boost again.
A conclusion is where you got tired of thinking.
#define class struct    // All is public.

#5
ZxiFer

ZxiFer

    Newbie

  • Members
  • PipPip
  • 16 posts
So I put that what you said in a PATH variable in Uservariables and then did this again:

set PATH=C:\boostinstall\boost-jam-3.1.18-1-ntx86;%PATH%

and then:

bjam --toolset=gcc "--prefix=C:\Program Files (x86)\CodeBlocks" install

But is still get the same error.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users