Posted by
Bennett, Paul-2 on
Jul 05, 2005; 4:09am
URL: http://quantlib.414.s1.nabble.com/Installing-QuantLib-using-Dev-C-4-9-9-2-the-examples-compile-though-I-cannot-compile-any-new-project-tp3891p3893.html
David,
Thanks for your reply.
Looks like I can't use Dev-C++ 4.9.9.2 then!
Paul
-----Original Message-----
From: David Brown [mailto:
[hidden email]]
Sent: Tuesday, July 05, 2005 5:41 PM
To: Bennett, Paul
Cc:
[hidden email]
Subject: Re: [Quantlib-users] Installing QuantLib using Dev-C++ 4.9.9.2:
the examples compile, though I cannot compile any new project - can
anyone help?
Your problem is simple and more elusive than intuition would
indicated. The referrence directory is not picking up the necessary
library: swapvaluation.cpp:26:27: ql/quantlib.hpp: No such file or
directory. I came across the same problem. The problem comes down to
this: QL is programmed for systems that utilize the forward facing
slash, i.e. c:/..../ql/quantlib.hpp. Dev C++ is designed for
Windows's standard backwards facing slash. I have not figured out how
to resolve this in Dev C++ 4 or 5 (beta).
I have tested this problem by changing the slash directions and by
referencing the quantlib.hpp in multiple ways. One finds easily that
quantlib.hpp can be referrenced by simply getting rid of the "ql/" and
leaving "quantlib.hpp" in a referrenced directory. This then causes
the problem that every called file from the quantlib.hpp file gives
the directional slash problem.
Terry and I have been trouble-shooting this problem for about two
weeks through private emails. Perhaps someone knows how to resolve
this. My answer has been to work on installing the programs on my
BSD-based boxes, but this has proven difficult in some regards.
Perhaps, assumign what all I have written here is correct, we should
approach the Dev C++ 5 beta group and tell them of this directional
slash problem. It seems easy to resolve, but perhaps not considering
the stark difference between operating system conventions.
David Brown
Ph.D. Candidate
Lehigh University
NSF Fellow