QuantLib in .NET

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

QuantLib in .NET

Jeff Yu-3

I’ve tried to setup new project to compile the QuantLib source code in .NET (not use the project file that comes with the package.).

However, I keep getting the message of “Check the “C/C++” | C++ Language | Use RTTI” option message.  As you might know, .NET’s menu choices have changed from vc6.

 

When I use the default project file that comes with the package, everything is seemingly fine.  What did I miss in the non-default project file?  Where is the setting hidden?

 

Please advise.

 

Cheers,

Jeff

Reply | Threaded
Open this post in threaded view
|

Re: QuantLib in .NET

matt-223
Jeff,

.net also has an option for RTTI, I think that it is under your project
properties, c++, the acronym is spelled out in full.  It is not a radio button
or check as in vc6.

matt


Quoting Jeff Yu <[hidden email]>:

> I've tried to setup new project to compile the QuantLib source code in
> .NET (not use the project file that comes with the package.).
> However, I keep getting the message of "Check the "C/C++" | C++ Language
> | Use RTTI" option message.  As you might know, .NET's menu choices have
> changed from vc6.
>  
> When I use the default project file that comes with the package,
> everything is seemingly fine.  What did I miss in the non-default
> project file?  Where is the setting hidden?
>  
> Please advise.
>  
> Cheers,
> Jeff
>






Reply | Threaded
Open this post in threaded view
|

Re: QuantLib in .NET

Jeff Yu-3
In reply to this post by Jeff Yu-3
Matt,

Is it the one under "PropertyPages"->C/C++->Code Generation-
>Basic Runtime Checks->"Both(/RTC1,equiv.to /RTCsu)?

I got the problem solved by making my own project setting
the same as the one comes with the package.  However, I am
not quite sure which setting is in effect to satisfy this
particular requirement.

Thanks for your help,

Jeff

---- Original message ----
>Date: Fri, 13 Aug 2004 09:18:49 -0400
>From: [hidden email]  
>Subject: Re: [Quantlib-users] QuantLib in .NET  
>To: Jeff Yu <[hidden email]>
>Cc: "'QuantLib users'" <quantlib-
[hidden email]>
>
>Jeff,
>
>.net also has an option for RTTI, I think that it is under
your project
>properties, c++, the acronym is spelled out in full.  It is
not a radio button
>or check as in vc6.
>
>matt
>
>
>Quoting Jeff Yu <[hidden email]>:
>
>> I've tried to setup new project to compile the QuantLib
source code in
>> .NET (not use the project file that comes with the
package.).
>> However, I keep getting the message of "Check the "C/C++"
| C++ Language
>> | Use RTTI" option message.  As you might know, .NET's
menu choices have
>> changed from vc6.
>>  
>> When I use the default project file that comes with the
package,
>> everything is seemingly fine.  What did I miss in the non-
default

>> project file?  Where is the setting hidden?
>>  
>> Please advise.
>>  
>> Cheers,
>> Jeff
>>
>
>
>
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by Shop4tech.com-Lowest price on
Blank Media
>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for
only $33
>Save 50% off Retail on Ink & Toner - Free Shipping and Free
Gift.
>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
>_______________________________________________
>Quantlib-users mailing list
>[hidden email]
>https://lists.sourceforge.net/lists/listinfo/quantlib-users


Reply | Threaded
Open this post in threaded view
|

QuantLib RTTI

Ferdinando M. Ametrano-3
In reply to this post by matt-223
Hi all

I've added different RTTI error messages for VC 6 and 7:

#ifndef _CPPRTTI
#   if (_MSC_VER >= 1300) // VC++ 7.0 (.Net) and later
#       error Enable Run-Time Type Info (Property Pages | C/C++ | Language)
#   else
#       error Enable Run-Time Type Information (Project Settings | C/C++ |
C++ Language)
#   endif
#endif

the patch will go into the next QuantLib release.

Hope it helps

ciao -- Nando