Linking Error on QuantLibXL_full

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Linking Error on QuantLibXL_full

Alexander Lotter
Dear all,

I tried to build QuantLibXLStatic and get linking errors:

register_all.obj: LNK2019: void __cdecl registerOvernightindexedswap... and unregisterOvernightindexedswap...

QuantLib 0.9.9
QuantLibXL_full_vc8
MS VS 2005
Boost 1_40
Debug
Mixed Platforms

QuantLibAllDynamic_vc8.sln - works fine.

This functions look to me same as the other functions that defined as extern and doesn't produce any linking error. Does anybody have an idea?

Cheers

Alexander
Reply | Threaded
Open this post in threaded view
|

Re: Linking Error on QuantLibXL_full

Alexander Lotter
Update:

This function was defined in register_all.cpp - which is generated automaticall but there is no file like register_overnighindexedswap.cpp in QuantLibXLStatic-Project.

In QuantLibAllDynamic it is included, so there is no error compiling the project.

Does the generation tool includes the files to the project automatically? In case of QuantLibXLStatic it was not done for some reason only for this one file.

Does anybody had a similar problem?
Reply | Threaded
Open this post in threaded view
|

Re: Linking Error on QuantLibXL_full

Ferdinando M. Ametrano-3
On Tue, Nov 3, 2009 at 2:49 PM, Alexander Lotter
<[hidden email]> wrote:
> there is no file like register_overnighindexedswap.cpp in
> QuantLibXLStatic-Project.
>
> In QuantLibAllDynamic it is included, so there is no error compiling the
> project.
>
> Does the generation tool includes the files to the project automatically?

the files are automatically generated and manually added to the
project. So it's just that it has been added to QuantLibAllDynamic and
not to QuantLibXLStatic.
It will be fixed on the trunk, in the meantime please add it manually
to your version

ciao -- Nando

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Linking Error on QuantLibXL_full

Alexander Lotter
No problem for me. Just wanted to let you know.

Should I use the bug tracker for such small things?


Ferdinando Ametrano wrote:

> On Tue, Nov 3, 2009 at 2:49 PM, Alexander Lotter
> <[hidden email]> wrote:
>  
>> there is no file like register_overnighindexedswap.cpp in
>> QuantLibXLStatic-Project.
>>
>> In QuantLibAllDynamic it is included, so there is no error compiling the
>> project.
>>
>> Does the generation tool includes the files to the project automatically?
>>    
>
> the files are automatically generated and manually added to the
> project. So it's just that it has been added to QuantLibAllDynamic and
> not to QuantLibXLStatic.
> It will be fixed on the trunk, in the meantime please add it manually
> to your version
>
> ciao -- Nando
>
>  


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Linking Error on QuantLibXL_full

Ferdinando M. Ametrano-3
On Tue, Nov 3, 2009 at 8:33 PM, Alexander Lotter
<[hidden email]> wrote:
> Should I use the bug tracker for such small things?

I've fixed it on the 0.9.9 branch

thank you

ciao -- Nando

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev