« Return to Thread: Can't link QuantLibXL from trunk

Re: Can't link QuantLibXL from trunk

by Piter Dias-4 :: Rate this Message:

Reply to Author | View in Thread

I just had to include register_defaulttermstructures.cpp to the solution.

It is now linking, loading in Excel 2007 and I will start some tests.

Thanks

Piter Dias escreveu:
Guys,

I was trying to play around the trunk version of QuantLib and QuantLibXL but got the link errors below while trying to generate the XLL. QuantLib itself compiles and runs the test suite.

My environment is Windows Vista with Visual C++ 2008 Express SP1.

Could someone help me?

Regards,


10>------ Rebuild All started: Project: QuantLibXLStatic, Configuration: Release Win32 ------

...

0>Linking...
10>   Creating library .\buildStatic\vc90\Release/QuantLibAddinStatic-vc90-mt-0_9_8.lib and object .\buildStatic\vc90\Release/QuantLibAddinStatic-vc90-mt-0_9_8.exp
10>register_all.obj : error LNK2019: unresolved external symbol "void __cdecl registerDefaulttermstructures(struct xloper const &)" (?registerDefaulttermstructures@@YAXABUxloper@@@Z) referenced in function "void __cdecl registerQlFunctions(struct xloper const &)" (?registerQlFunctions@@YAXABUxloper@@@Z)
10>register_all.obj : error LNK2019: unresolved external symbol "void __cdecl unregisterDefaulttermstructures(struct xloper const &)" (?unregisterDefaulttermstructures@@YAXABUxloper@@@Z) referenced in function "void __cdecl unregisterQlFunctions(struct xloper const &)" (?unregisterQlFunctions@@YAXABUxloper@@@Z)
10>..\xll\QuantLibXL-vc90-mt-0_9_8.xll : fatal error LNK1120: 2 unresolved externals
10>Build log was saved at "file://c:\Users\Piter Dias\Development\src\QuantLib_trunk\QuantLibXL\qlxl\buildStatic\vc90\Release\BuildLog.htm"
10>QuantLibXLStatic - 3 error(s), 0 warning(s)

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

_______________________________________________ QuantLib-dev mailing list QuantLib-dev@... https://lists.sourceforge.net/lists/listinfo/quantlib-dev


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

_______________________________________________
QuantLib-dev mailing list
QuantLib-dev@...
https://lists.sourceforge.net/lists/listinfo/quantlib-dev

 « Return to Thread: Can't link QuantLibXL from trunk