Posted by
Elise Gourier on
URL: http://quantlib.414.s1.nabble.com/Linking-problem-with-the-test-suite-tp6398p6403.html
Thank you Luigi. I have uninstalled Dev-C++, reinstalled it, rebuilt Boost and now the compilation works fine.
When I run the test-suite however, I have a problem with the uBlas library, I get the following message:
Unknown location(0) : Fatal error in “MarketModelSmmCapletAlphaCalibrationTest::testFunction”: std::exception this version of gcc does not support the Boost uBlas library
Unknown location(0) : Fatal error in “MarketModelSmmCapletCalibrationTest::testFunction”: std::exception this version of gcc does not support the Boost uBlas library
Unknown location(0) : Fatal error in “MarketModelSmmCapletHomoCalibrationTest::testFunction”: std::exception this version of gcc does not support the Boost uBlas library
Unknown location(0) : Fatal error in “MarketModelSmmCapletHomoCalibrationTest::testPeriodFunction”: std::exception this version of gcc does not support the Boost uBlas library
Unknown location(0) : Fatal error in “MatricesTest::testInverse”: std::exception this version of gcc does not support the Boost uBlas library
Unknown location(0) : Fatal error in “SwapForwardMappingsTest::testForwardCoterminalMappings”: std::exception this version of gcc does not support the Boost uBlas library
I'm working with the last release of Dev C++ which includes gcc 3.4.2. Do you have an idea of how I can fix that?
Thanks a lot in advance.
Elise
> Subject: Re: [Quantlib-users] Linking problem with the test suite
> From:
[hidden email]> To:
[hidden email]> CC:
[hidden email]> Date: Wed, 9 Apr 2008 17:36:14 +0200
>
> On Wed, 2008-04-02 at 07:52 +0000, Elise Gourier wrote:
> > I've just installed QuantLib and I have a problem building the
> > test-suite. I have built the examples without any problems. I
> > use Dev-C++, the last version of Boost (1_35, but I have the
> > same error with version 1_34) and QuantLib 0.9.0.
> > At the beginning I got the message "cannot find
> > -lboost_unit_test_framework-mgw-mt" so I changed the name of
> > the library into "libboost_unit_test_framework-mgw-mt.a" (it
> > was "boost_unit_test_framework-mgw34-mt-1_35.lib" before).
>
> Hmm. With Boost 1.34, I have both boost_unit_test_framework-* and
> libboost_unit_test_framework-*. I did have to rename a library, but I
> think it was just a matter of changing the extension from lib to a.
> Maybe you didn't build all of Boost? I haven't tried 1.35 yet, but a
> recent post suggested to add --build-type=complete to the bjam
> invocation.
>
> Luigi
>
>
> --
>
> Poets have been mysteriously silent on the subject of cheese.
> -- Gilbert K. Chesterton
>
>
Tous vos amis discutent sur Messenger, et vous ?
Téléchargez Messenger, c'est gratuit !
-------------------------------------------------------------------------
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