Writing C++ Add-In Using quantLIb

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

Writing C++ Add-In Using quantLIb

Alex Fonseca
Hi

I am writing a c++  add-in to excel using QuantLib.

I set the library as a reference with

#include<...\ql\quantlib.hpp>

However when I write using namespace QuantLib, it doesnt recognize this QuantLib.

Any idea why this is happening?
Reply | Threaded
Open this post in threaded view
|

Re: Writing C++ Add-In Using quantLIb

Luigi Ballabio

Do you have a minimal test file that reproduces the problem?

Luigi


On 11:36, Sat, Aug 29, 2015 Alex Fonseca <[hidden email]> wrote:
Hi

I am writing a c++  add-in to excel using QuantLib.

I set the library as a reference with

#include<...\ql\quantlib.hpp>

However when I write using namespace QuantLib, it doesnt recognize this
QuantLib.

Any idea why this is happening?



--
View this message in context: http://quantlib.10058.n7.nabble.com/Writing-C-Add-In-Using-quantLIb-tp16858.html
Sent from the quantlib-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
--

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

_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Writing C++ Add-In Using quantLIb

Keith A. Lewis
In reply to this post by Alex Fonseca
If you are using Visual Studio right click on your project and select Properties at the bottom of the pop up menu. Add the path to QuantLib in VC++ Directories/Include Directories.
You might find the library https://xll.codeplex.com useful for creating the Excel add-in.