On Thu, 2010-09-09 at 14:12 +0200, simone pilozzi wrote:
> I am trying to work with QuantLib-1.0.1 and an ExtendedDiscountCurve
> class object.
> I found the following linker error
>
> error LNK2019: symbole externe non résolu "public: __thiscall
> QuantLib::ExtendedDiscountCurve
>
> the quantlib.hpp header file is in the #include list.
>
> Any suggestion?
You have to link QuantLib with your code. If you're using VC++ (as it
seems to be the case from the error message) just include
<ql/auto_link.hpp> in your file. You might have to tell the compiler
where to find the library, too; see the "QuantLib usage" section in
<
http://quantlib.org/install/vc9.shtml>.
Luigi
--
Call on God, but row away from the rocks.
-- Indian proverb
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users