Compiling the testsuite of QuantLib of 0.9.5

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

Compiling the testsuite of QuantLib of 0.9.5

Nathan Abbott
I have a problem compiling the testsuite project of QuantLib 0.9.5.  I am using  Visual Studio 2005 with boost 1.35.0. I built boost with bjam and successfully compile the QuantLib library. When I build the testsuite project, I get the following error "error LNK1104: cannot open file 'libboost_unit_test_framework-vc80-mt-1_35.lib'"   Sure enough, the libboost_unit_test_framework-vc80-mt-1_35.lib file is not in lib directory where boost is located. How do I build libboost_unit_test_framework-vc80-mt-1_35.lib using bjam?

 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Compiling the testsuite of QuantLib of 0.9.5

Luigi Ballabio
On Mon, 2008-08-04 at 11:00 -0700, Nathan Abbott wrote:
> I have a problem compiling the testsuite project of QuantLib 0.9.5.  I
> am using  Visual Studio 2005 with boost 1.35.0. I built boost with
> bjam and successfully compile the QuantLib library. When I build the
> testsuite project, I get the following error "error LNK1104: cannot
> open file 'libboost_unit_test_framework-vc80-mt-1_35.lib'"   Sure
> enough, the libboost_unit_test_framework-vc80-mt-1_35.lib file is not
> in lib directory where boost is located. How do I build
> libboost_unit_test_framework-vc80-mt-1_35.lib using bjam?

You have to add --build-type=complete to the bjam command line.

Luigi


--

Green's Law of Debate:
Anything is possible if you don't know what you're talking about.



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Compiling the testsuite of QuantLib of 0.9.5

Nathan Abbott
Thank You for the info.

On Tue, Aug 5, 2008 at 8:13 AM, Luigi Ballabio <[hidden email]> wrote:
On Mon, 2008-08-04 at 11:00 -0700, Nathan Abbott wrote:
> I have a problem compiling the testsuite project of QuantLib 0.9.5.  I
> am using  Visual Studio 2005 with boost 1.35.0. I built boost with
> bjam and successfully compile the QuantLib library. When I build the
> testsuite project, I get the following error "error LNK1104: cannot
> open file 'libboost_unit_test_framework-vc80-mt-1_35.lib'"   Sure
> enough, the libboost_unit_test_framework-vc80-mt-1_35.lib file is not
> in lib directory where boost is located. How do I build
> libboost_unit_test_framework-vc80-mt-1_35.lib using bjam?

You have to add --build-type=complete to the bjam command line.

Luigi


--

Green's Law of Debate:
Anything is possible if you don't know what you're talking about.




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users