Problem Adding new class and methods in Quantlib

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

Problem Adding new class and methods in Quantlib

Alessandro Gualdi

Hi there,

I created a new YieldTermStructure class and new methods in a .hpp file, and I added it to QuantLib project. I included this header file in ql\termstructures\yield\makefile.am, but even after recompiling the project I don’t find it in the list of classes available in Quantlib namespace.

Could you give me a suggestion?

 

Thanks

 

Alessandro



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem Adding new class and methods in Quantlib

Kim Kuen Tang
Which compiler and os?

For the case it is msvc just add the file in the project. ( right click
on the project, choose add file)

HTH

Cheers,
Kim

Alessandro Gualdi schrieb:

>
> Hi there,
>
> I created a new YieldTermStructure class and new methods in a .hpp
> file, and I added it to QuantLib project. I included this header file
> in ql\termstructures\yield\makefile.am, but even after recompiling the
> project I don’t find it in the list of classes available in Quantlib
> namespace.
>
> Could you give me a suggestion?
>
>  
>
> Thanks
>
>  
>
> Alessandro
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ------------------------------------------------------------------------
>
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>  


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem Adding new class and methods in Quantlib

Alessandro Gualdi
My compiler is Microsoft Visual Studio 2008 and my os is Windows XP Professional.
But I don't find msvc file.
 
Thanks

--- Mar 30/3/10, Kim Kuen Tang <[hidden email]> ha scritto:

Da: Kim Kuen Tang <[hidden email]>
Oggetto: Re: [Quantlib-users] Problem Adding new class and methods in Quantlib
A: "Alessandro Gualdi" <[hidden email]>
Cc: [hidden email]
Data: Martedì 30 marzo 2010, 16:03

Which compiler and os?

For the case it is msvc just add the file in the project. ( right click on the project, choose add file)

HTH

Cheers,
Kim

Alessandro Gualdi schrieb:

>
> Hi there,
>
> I created a new YieldTermStructure class and new methods in a .hpp file, and I added it to QuantLib project. I included this header file in ql\termstructures\yield\makefile.am, but even after recompiling the project I don’t find it in the list of classes available in Quantlib namespace.
>
> Could you give me a suggestion?
>

> Thanks
>

> Alessandro
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ------------------------------------------------------------------------
>
> _______________________________________________
> QuantLib-users mailing list
> QuantLib-users@...
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>   



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem Adding new class and methods in Quantlib

Alessandro Gualdi
In reply to this post by Alessandro Gualdi
I added the .hpp file to the project, but even in this case when I try to recall this class and its methods it doesn't work.
 

--- Mar 30/3/10, Alessandro Gualdi <[hidden email]> ha scritto:

Da: Alessandro Gualdi <[hidden email]>
Oggetto: Re: [Quantlib-users] Problem Adding new class and methods in Quantlib
A: "Kim Kuen Tang" <[hidden email]>
Cc: [hidden email]
Data: Martedì 30 marzo 2010, 16:16

My compiler is Microsoft Visual Studio 2008 and my os is Windows XP Professional.
But I don't find msvc file.
 
Thanks

--- Mar 30/3/10, Kim Kuen Tang <[hidden email]> ha scritto:

Da: Kim Kuen Tang <[hidden email]>
Oggetto: Re: [Quantlib-users] Problem Adding new class and methods in Quantlib
A: "Alessandro Gualdi" <[hidden email]>
Cc: [hidden email]
Data: Martedì 30 marzo 2010, 16:03

Which compiler and os?

For the case it is msvc just add the file in the project. ( right click on the project, choose add file)

HTH

Cheers,
Kim

Alessandro Gualdi schrieb:

>
> Hi there,
>
> I created a new YieldTermStructure class and new methods in a .hpp file, and I added it to QuantLib project. I included this header file in ql\termstructures\yield\makefile.am, but even after recompiling the project I don’t find it in the list of classes available in Quantlib namespace.
>
> Could you give me a suggestion?
>

> Thanks
>

> Alessandro
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ------------------------------------------------------------------------
>
> _______________________________________________
> QuantLib-users mailing list
> QuantLib-users@...
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>   




------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem Adding new class and methods in Quantlib

Kim Kuen Tang
In reply to this post by Alessandro Gualdi
Alessandro Gualdi schrieb:
> My compiler is Microsoft Visual Studio 2008 and my os is Windows XP
> Professional.
> But I don't find msvc file.
>
msvc = *Microsoft Visual C++* (often abbreviated as *MSVC*)
right click on the correct folder of project QuantLib -> add -> Existing
Item-> ur file.
(ur file should appear in the project folder)

HTH

Cheers,
Kim



>  
> Thanks
>
> --- *Mar 30/3/10, Kim Kuen Tang /<[hidden email]>/* ha scritto:
>
>
>     Da: Kim Kuen Tang <[hidden email]>
>     Oggetto: Re: [Quantlib-users] Problem Adding new class and methods
>     in Quantlib
>     A: "Alessandro Gualdi" <[hidden email]>
>     Cc: [hidden email]
>     Data: Martedì 30 marzo 2010, 16:03
>
>     Which compiler and os?
>
>     For the case it is msvc just add the file in the project. ( right
>     click on the project, choose add file)
>
>     HTH
>
>     Cheers,
>     Kim
>
>     Alessandro Gualdi schrieb:
>     >
>     > Hi there,
>     >
>     > I created a new YieldTermStructure class and new methods in a
>     .hpp file, and I added it to QuantLib project. I included this
>     header file in ql\termstructures\yield\makefile.am, but even after
>     recompiling the project I don’t find it in the list of classes
>     available in Quantlib namespace.
>     >
>     > Could you give me a suggestion?
>     >
>     >
>     > Thanks
>     >
>     >
>     > Alessandro
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     >
>     ------------------------------------------------------------------------------
>     > Download Intel® Parallel Studio Eval
>     > Try the new software tools for yourself. Speed compiling, find bugs
>     > proactively, and fine-tune applications for parallel performance.
>     > See why Intel Parallel Studio got high marks during beta.
>     > http://p.sf.net/sfu/intel-sw-dev
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > QuantLib-users mailing list
>     > [hidden email]
>     <http://it.mc255.mail.yahoo.com/mc/compose?to=QuantLib-users@...>
>     > https://lists.sourceforge.net/lists/listinfo/quantlib-users
>     >  
>
>


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem Adding new class and methods in Quantlib

Luigi Ballabio
In reply to this post by Alessandro Gualdi
On Tue, 2010-03-30 at 13:56 +0000, Alessandro Gualdi wrote:
> I created a new YieldTermStructure class and new methods in a .hpp
> file, and I added it to QuantLib project. I included this header file
> in ql\termstructures\yield\makefile.am, but even after recompiling the
> project I don’t find it in the list of classes available in Quantlib
> namespace.

I'm not sure I follow.  What list of classes? The one in the generated
docs, or some list generated by your IDE?

Luigi


--

Poets have been mysteriously silent on the subject of cheese.
-- Gilbert K. Chesterton



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users