Login  Register

Re: test suite compilation problem

Posted by Guowen Han on Mar 30, 2009; 2:53pm
URL: http://quantlib.414.s1.nabble.com/test-suite-compilation-problem-tp7226p7229.html


Seems you are using Unix alike system, doesn't  `make` handle your case automatically?



sun <[hidden email]>

03/30/2009 09:15 AM

To
[hidden email]
cc
[hidden email]
Subject
Re: [Quantlib-users] test suite compilation problem





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


________________________________________________________
DTCC DISCLAIMER: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify us immediately and delete the email and any attachments from your system. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

------------------------------------------------------------------------------

_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users