Boost and Quantlib

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Boost and Quantlib

Serhat Güven
Dear all,

I'm totally new to Quantlib so forgive this first simple question.

I use Visual C++ 2008 Express Edition and I couldn't compile the
project yet because I couldn't install Boost on windows. Do I have to
compile Boost at the same time when I am trying to compile Quantlib?
If so, where should I put the source codes of Boost project in order
to link them?

Best,
Serhat

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Boost and Quantlib

Dave Compton-2
Serhat Güven <kiratin <at> gmail.com> writes:

 > Do I have to
 > compile Boost at the same time when I am trying to compile Quantlib?
 > If so, where should I put the source codes of Boost project in order
 > to link them?
 >

Hi Serhat,

Here are links to detailed instructions on how to build boost 1.34.1 and
quantlib 0.9.0 using Visual Studio 2008 Express.

Since they were written, a new version of boost (1.35.0) has been released.
Unlike boost 1.34.1, boost 1.35.0 requires no patching to make it
compile under
Visual Studio 2008 so if you use 1.35.0, you can ignore that part of the
post.

However, also unlike boost 1.34.1, boost 1.35.0 will not by default
build the
entire set of boost libraries.  To build everything that you need for
quantlib use:

bjam --build-type=complete
bjam --build-type=complete install

I'm planning on updating the instructions themselves but have not had a
chance
to yet.

http://dave-programming.blogspot.com/2008/02/how-to-build-boost-1341-with-visual.html
http://dave-programming.blogspot.com/2008/02/how-to-build-quantlib-090-using-visual.html

- Dave



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Boost and Quantlib

Luigi Ballabio
In reply to this post by Serhat Güven
On Wed, 2008-04-09 at 16:40 +0300, Serhat Güven wrote:
> I use Visual C++ 2008 Express Edition and I couldn't compile the
> project yet because I couldn't install Boost on windows. Do I have to
> compile Boost at the same time when I am trying to compile Quantlib?

No, you'll have to compile Boost first. Instructions are on the Boost
site at
<http://boost.org/doc/libs/1_35_0/more/getting_started/index.html>

Luigi


--

Anyone who says he can see through women is missing a lot.
-- Groucho Marx



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Boost and Quantlib

Serhat Güven
In reply to this post by Dave Compton-2
Dear all,

Although I've linked boost and quantlib in a new project and I get no
"file not found" errors, I get "unknown Microsoft compiler" error. I
hope this is a common error and I would appreciate your help with
this.

Thanks a lot.
s.

On Wed, Apr 9, 2008 at 5:49 PM, Dave Compton <[hidden email]> wrote:

> Serhat Güven <kiratin <at> gmail.com> writes:
>
>  > Do I have to
>  > compile Boost at the same time when I am trying to compile Quantlib?
>  > If so, where should I put the source codes of Boost project in order
>  > to link them?
>  >
>
>  Hi Serhat,
>
>  Here are links to detailed instructions on how to build boost 1.34.1 and
>  quantlib 0.9.0 using Visual Studio 2008 Express.
>
>  Since they were written, a new version of boost (1.35.0) has been released.
>  Unlike boost 1.34.1, boost 1.35.0 requires no patching to make it compile
> under
>  Visual Studio 2008 so if you use 1.35.0, you can ignore that part of the
> post.
>  However, also unlike boost 1.34.1, boost 1.35.0 will not by default build
> the
>  entire set of boost libraries.  To build everything that you need for
> quantlib use:
>
>  bjam --build-type=complete
>  bjam --build-type=complete install
>
>  I'm planning on updating the instructions themselves but have not had a
> chance
>  to yet.
>
>
> http://dave-programming.blogspot.com/2008/02/how-to-build-boost-1341-with-visual.html
>
> http://dave-programming.blogspot.com/2008/02/how-to-build-quantlib-090-using-visual.html
>
>  - Dave
>
>
>



--
"Segui il tuo corso, e lascia dir le genti."
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Boost and Quantlib

Dave Compton-2
Hi Serhat,

Can you give a little more detail please?  What were you doing when you got the "unknown Microsoft compiler" ?  Were you compiling boost or quantlib?  Which version of boost are you using?

- Dave
Serhat Güven wrote:
Dear all,

Although I've linked boost and quantlib in a new project and I get no
"file not found" errors, I get "unknown Microsoft compiler" error. I
hope this is a common error and I would appreciate your help with
this.

Thanks a lot.
s.

On Wed, Apr 9, 2008 at 5:49 PM, Dave Compton [hidden email] wrote:
  
Serhat Güven <kiratin <at> gmail.com> writes:

 > Do I have to
 > compile Boost at the same time when I am trying to compile Quantlib?
 > If so, where should I put the source codes of Boost project in order
 > to link them?
 >

 Hi Serhat,

 Here are links to detailed instructions on how to build boost 1.34.1 and
 quantlib 0.9.0 using Visual Studio 2008 Express.

 Since they were written, a new version of boost (1.35.0) has been released.
 Unlike boost 1.34.1, boost 1.35.0 requires no patching to make it compile
under
 Visual Studio 2008 so if you use 1.35.0, you can ignore that part of the
post.
 However, also unlike boost 1.34.1, boost 1.35.0 will not by default build
the
 entire set of boost libraries.  To build everything that you need for
quantlib use:

 bjam --build-type=complete
 bjam --build-type=complete install

 I'm planning on updating the instructions themselves but have not had a
chance
 to yet.


http://dave-programming.blogspot.com/2008/02/how-to-build-boost-1341-with-visual.html

http://dave-programming.blogspot.com/2008/02/how-to-build-quantlib-090-using-visual.html

 - Dave



    



  


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users