Jump to content

Boost Libraries

- - - - -

  • Please log in to reply
14 replies to this topic

#1
ZxiFer

ZxiFer

    Newbie

  • Members
  • PipPip
  • 16 posts
Can someone explain me exactly how to install Boost libraries on Windows?
I want to use the IOstreams libraries, but I have no clue how to install it.
I have downloaded lastest version of boost. What should I do next?

Thanks in advance.

#2
mebob

mebob

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 490 posts
That is IDE dependent, which one are you using? You shouldn't need to do any compilation for that specific Boost library. You'll just need to add Boost's include directory to your IDE's include path; how you go about doing that depends on what you are using.

EDIT: Oops, I'm sorry, IOStreams DOES in fact require compilation. I can't really help you with that, I've never succeeded in build of Boost.
Latinamne loqueris?

#3
ZxiFer

ZxiFer

    Newbie

  • Members
  • PipPip
  • 16 posts
Thanks for your reply.
I'm using Code::Blocks IDE. Can someone else tell me how to compile IOStreams?

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
You will need to compile the entire boost library. Boost Getting Started on Windows - Boost 1.35.0
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
ZxiFer

ZxiFer

    Newbie

  • Members
  • PipPip
  • 16 posts
I've been on that site but it's very limited for people who don't understand cmd that good. I know I have to let the bjam thing compile the libraries, but I have no clue how. Can you help me?

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Make you have bjam on your computer.
Open a command line and use the cd command to navigate to the root of your boost code.
type [path to bjam]\bjam.
Ideally, you will have an appropriate compiler, such as MinGW.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#7
ZxiFer

ZxiFer

    Newbie

  • Members
  • PipPip
  • 16 posts
Ok did that, now this is what it says:

Attached File  Knipsel.PNG   24.32K   8 downloads

Edited by ZxiFer, 02 February 2012 - 04:55 AM.


#8
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
The attachment didn't attach.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#9
ZxiFer

ZxiFer

    Newbie

  • Members
  • PipPip
  • 16 posts
sorry, I've edited it.

#10
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Given that those all appear to be warnings, did it actually build something?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#11
ZxiFer

ZxiFer

    Newbie

  • Members
  • PipPip
  • 16 posts
I don't know, how can I check it?
Well actually, it took like half a second to show these warnings, so I guess it didn't build anything.

#12
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
When I built it on Linux, it took a few minutes, so I'm gonna say it failed.

Windows Build/MinGW - K-3D
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users