Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
3 posts
|
I am using MS Visual c++ . Net, and I have
succesfully setup quantlib. I hav run the american option example and it works
fine. However, when I try to create my own program I get the error
fatal error C1083: Cannot open include
file: 'ql/qldefines.hpp': No such file or directory
I have installed quantlib under
c:\programmer\Quantlib and I have added the path in my environment variables as
well as in visual c++. Net under Tools - Options - Projects - VC++
directories.
Can any one help. (I must say, that I am a c++
beginner, so the chances are, that it is something
trivial)
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
4 posts
|
Lars Christensen wrote:
> I am using MS Visual c++ . Net, and I have succesfully setup quantlib. > I hav run the american option example and it works fine. However, when > I try to create my own program I get the error > > fatal error C1083: Cannot open include file: 'ql/qldefines.hpp': No > such file or directory > > I have installed quantlib under c:\programmer\Quantlib and I have > added the path in my environment variables as well as in visual c++. > Net under Tools - Options - Projects - VC++ directories. > > Can any one help. (I must say, that I am a c++ beginner, so the > chances are, that it is something trivial) Have you looked at, How to set an include path in vc++ ? And also here http://www.quantlib.org/html/usage.html |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
3 posts
|
> Have you looked at, How to set an include path in vc++ ?
> And also here http://www.quantlib.org/html/usage.html Thank you, Krishna, for your reply. I have tried to follow the two suggestions under http://www.quantlib.org/html/usage.html. But I am using Visual C++ . Net 6.0, and there is nowhere to check the "Use RTTI" option as described for visual c++. The examples are running without problems. Here the #include <ql/quantlib.hpp> is working without any trouble. I have tried to place my own example in the same library as the examples just to be sure that the path would be ok, but I cannot make it work. Any suggestions? |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
4 posts
|
>>The examples are running without problems. Here the #include You need to set your include path there are atleast two ways of doing this a) Tools->options->directories->Show directories for (includepath) b) Project->settings->c/c++->(category)preprocessor->additional include directories. You should point to the top-level of the hierarchy c:/quantlib/ >>Any suggestions? Yes, two http://tinyurl.com/3l66s & http://tinyurl.com/5s4de Best, Krishna Kumar ------------------- Email sent using AnyEmail (http://netbula.com/anyemail/) |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
622 posts
|
In reply to this post by Lars Christensen-2
Hi Lars
>But I am using Visual C++ . Net >6.0, and there is nowhere to check the "Use RTTI" option as described for >visual c++. hidden somewhere in .NET there should be a similar option, unfortunately I cannot check it in the next 2-3 weeks. Anyway try 0.3.7 which has been just released. ciao -- Nando |
Free forum by Nabble | Disable Popup Ads | Edit this page |