Login  Register

Re: test suite compilation problem

Posted by Luigi Ballabio on Mar 30, 2009; 9:19am
URL: http://quantlib.414.s1.nabble.com/test-suite-compilation-problem-tp7226p7227.html

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



--

Weiler's Law:
Nothing is impossible for the man who doesn't have to
do it himself.



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