Re: compiling with Dev-C++
Posted by
Luigi Ballabio-2 on
URL: http://quantlib.414.s1.nabble.com/compiling-with-Dev-C-tp2557p2558.html
At 10:51 AM 5/21/03 +0200, Francesco Fierli wrote:
>I am a PhD student and I am trying to use QuantLib. The development
>environment is Dev-C++ in a windows XP machine. Bloodshed Dev-C++ uses
>Mingw (or Cygwin) port of GNU compiler collection as it's compiler
>(GCC-based compiler).
>I installed the file QuantLib-0.3.1-full-inst.exe and modified some
>compilers options in order to make the new folder readable.
>I started with European option example, but my compiler is not able to
>compile. From the errors it seems that the complier is not supported.
>
>How can I work out the problem?
Francesco,
first of all, I think you'll have to recompile the whole library
as well---the binaries included in the full installer are compiled for
Visual C++. I think your best bet is to open a cygwin shell, go into the
base QuantLib directory, and run ./configure. After that, you should be
able to compile if you add -DHAVE_CONFIG_H to the compiler options.
Good luck, and do come back if there's other problems.
Ciao,
Luigi