Problem while compiling QLAddIn

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

Problem while compiling QLAddIn

Laurent Hoffmann
Hi all,

I tried to compile QuantLib AddIn but failed (miserably) to do this successfully.
I followed the instructions on the quantlibaddin web-site under build tutorial and the instructions I found in the repository.
All projects, except QuantLibAddIn and QuantLibXL, compiled successfully.
While compiling those projects I get e.g. the following type of error messages:

2>Compiling...
2>ratehelpers.cpp
2>.\qlo/ratehelpers.hpp(24) : fatal error C1083: Cannot open include file: 'ql/Indexes/xibor.hpp': No such file or directory

The files/directories that cannot be found are part of QuantLib. If I understand your instructions right, by setting up the project tree as described, the compiled QuantLib library should be found automatically (at compile time).
I tried compiling both with and without version numbers, but unfortunately with the same result.

Would you please give me a hint on how I can solve this problem (maybe I am just too stupid to read the instructions correctly).

Many thanks in advance.

Best regards,
Laurent

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem while compiling QLAddIn

eric ehlers
Hi Laurent,

Please set environment variable QL_DIR equal to the top level QuantLib
directory.  You may need to restart VC and/or Windows in order to pick
up the change.

Regards,
Eric

On 2/26/07, Laurent Hoffmann <[hidden email]> wrote:

> Hi all,
>
> I tried to compile QuantLib AddIn but failed (miserably) to do this successfully.
> I followed the instructions on the quantlibaddin web-site under build tutorial and the instructions I found in the repository.
> All projects, except QuantLibAddIn and QuantLibXL, compiled successfully.
> While compiling those projects I get e.g. the following type of error messages:
>
> 2>Compiling...
> 2>ratehelpers.cpp
> 2>.\qlo/ratehelpers.hpp(24) : fatal error C1083: Cannot open include file: 'ql/Indexes/xibor.hpp': No such file or directory
>
> The files/directories that cannot be found are part of QuantLib. If I understand your instructions right, by setting up the project tree as described, the compiled QuantLib library should be found automatically (at compile time).
> I tried compiling both with and without version numbers, but unfortunately with the same result.
>
> Would you please give me a hint on how I can solve this problem (maybe I am just too stupid to read the instructions correctly).
>
> Many thanks in advance.
>
> Best regards,
> Laurent
>
> --
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users