about installing quantlib

Posted by ecmdz on
URL: http://quantlib.414.s1.nabble.com/about-installing-quantlib-tp5187.html

Hi,

I am a beginner to C++ and try to install Quantlib. I am using VC++6. I
carried out the following steps:

1. I download Boost and Bjam, then copy Bjam into the file where Boost is.
2. In the command line, I input: bjam instal
3. After a while, it says:
       failed updating 948 tartets...
       skipped 412 targets...
       updated 3785 targets...
4. In VC++6, I did the following:
   (1) In "Tools", "Options", "Directories", "Show directories for",
"Include files", I include both "c:\boost\include\boost_1_33_1", and
"d:\quantlib"
   (2) In "Tools", "Options", "Directories", "Show directories for",
"Library files", I include "c:\boost\lib"
   (3) In "Projects", "Settings", "Directories", "C/C++", "C++
language", I check "Enable Run-Time Type Information"

Then I run the example "BermudanSwaption.cpp", it says:
     cannot open file "QuantLib-vc6-mt-sgd-0_3_14.lib"

But if I choose "a-win32 Release" instead of "a-win32 Debug" from
"Build", "Set Active Project Configuration", and run the example
"BermudanSwaption.cpp" again, it says:
      fatal error C1189: #error :  Enable Run-Time Type Information
(Project Settings | C/C++ | C++ Language)

I feel very frustrated and spent days on it without result. So could
you please help me to figure it out?

Thank you very much!!!