coerce problem under Linux/amd64-gcc

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

coerce problem under Linux/amd64-gcc

Lars Callenbach
Hello,

compiling 1.1.0 with calc addins under Linux/amd64 (gcc) and Windows
(Visual Studio 10) give different results. Under Linux sheets in the
repository do not work (in contrast to Windows). The error message is
INFO - ERROR: qlFlatForward: Unable to coerce value from type
'N5boost10shared_ptrIN13ObjectHandler6ObjectEEE' to type
'N8QuantLib6HandleINS_5QuoteEEE' - all conversions failed

Help appreciated.

Regards,
  Lars

--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: coerce problem under Linux/amd64-gcc

Lars Callenbach
Hello,

this problem is not restricted to SimpleQuote/FlatForward. Under Linux I
see for example the following error messages:
INFO - ERROR: qlGeneralizedBlackScholesProcess: Error retrieving object
with id 'blackvol1' - unable to convert reference to type
'N13QuantLibAddin21BlackVolTermStructureE' found instead
'N13QuantLibAddin16BlackConstantVolE'
INFO - ERROR: qlVanillaOption: Error retrieving object with id
'eu_payoff' - unable to convert reference to type
'N13QuantLibAddin17StrikedTypePayoffE' found instead
'N13QuantLibAddin17StrikedTypePayoffE'
The second error does not make sense, does it?

Regards,
   Lars


-------- Original-Nachricht --------
Datum: Fri, 23 Dec 2011 21:50:06 +0100
Von: "Lars Callenbach" <[hidden email]>
An: [hidden email]
Betreff: coerce problem under Linux/amd64-gcc

Hello,

compiling 1.1.0 with calc addins under Linux/amd64 (gcc) and Windows
(Visual Studio 10) give different results. Under Linux sheets in the
repository do not work (in contrast to Windows). The error message is
INFO - ERROR: qlFlatForward: Unable to coerce value from type
'N5boost10shared_ptrIN13ObjectHandler6ObjectEEE' to type
'N8QuantLib6HandleINS_5QuoteEEE' - all conversions failed

Help appreciated.

Regards,
  Lars

--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


--
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev