Re: test suite compilation problem
Posted by
sun-10 on
Mar 30, 2009; 1:15pm
URL: http://quantlib.414.s1.nabble.com/test-suite-compilation-problem-tp7226p7228.html
Is it possible to compile with the libs from QuantLib's subfolder
those only needed by testing codes so that I only need to update the
modified libs instead of recompiling the Quantlib everytime after
small changes ?
The function in the error is defined in MathLib and I already include
it in build cmd, please help to advise.
thanks,
sun
On Mon, Mar 30, 2009 at 5:19 PM, Luigi Ballabio
<
[hidden email]> wrote:
> On Sat, 2009-03-28 at 11:03 +0800, sun wrote:
>> I modified the test-suite and compile it under
>> QuantLib-0.9.7/test-suite , but got following errors 'undefined
>> reference to ... ProjectedCostFunction'
>>
>> /bin/sh ../libtool --tag=CXX --mode=link g++ -g -O0 -Wall -L/usr/lib
>> -o test-suite_sun.exe -lboost_unit_test_framework-gcc-mt
>
> You're missing the -lQuantLib to link the library to your program.
>
> Luigi
>
>
------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users