• C++ Programming for Financial Engineering
    Highly recommended by thousands of MFE students. Covers essential C++ topics with applications to financial engineering. Learn more Join!
    Python for Finance with Intro to Data Science
    Gain practical understanding of Python to read, understand, and write professional Python code for your first day on the job. Learn more Join!
    An Intuition-Based Options Primer for FE
    Ideal for entry level positions interviews and graduate studies, specializing in options trading arbitrage and options valuation models. Learn more Join!

Problem building boost_1_44_0 and Quantlib_1.0.1

Joined
9/27/10
Messages
3
Points
11
Hi All,
I have problem building the boost library....

Following is the configuration of my system:
Microsoft Windows XP professional, version 2002, service pack 3.

And I am using Visual C++ 2008 Express Edition.

The Steps followed for building is as follows:

1. Installed Boost library and Quantlib.

2. I have created the short cut of the command prompt and changed the target properties to point to
%SystemRoot%\system32\cmd.exe /K call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"

3. Go to the root directory and running the command bootstrap.bat
i got the following message

C:\Program Files\boost\boost_1_44_0>bootstrap.bat
Building Boost.Jam build engine
Failed to build Boost.Jam build engine.
Please consult bjam.log for furter diagnostics.
You can try to obtain a prebuilt binary from
http://sf.net/project/showfiles.php?group_id=7586&package_id=72941
Also, you can file an issue at http://svn.boost.org
Please attach bjam.log in that case.

When searched in google , i found its not really an error we need to copy the bjam.exe to the root directory , for the work around have downloaded the bjam.exe and put it in the root folder, because no where i can found this file in my directory.

I really dont know why VSSdk is necessary because in the site of boost they havent mentioned about that.

i ran bjam toolset=msvs --buildtype complete install

i have seen the output but can't make out anything.

Well then i opened the quantlib solution and made changes in the include and library to point to boost includes and library.

But when i run the build i am getting the linking error that
cannot open file 'QuantLib-vc90-mt.lib'

I am really struggling to make this work , please help me out with this. I followed the steps which is mentioned in one of the forums here but it dint worked out for me.

A very unusual error which i am getting while running the command build inside /tools/jam/src

is a linking error
LINK : fatal error LNK1104: cannot open file 'C:\DOCUME~1\kosharm\Local'

it is giving me linking error and hence i gues bjam.exe is not getting created.

Regards,
Som
 
No, the site is restricted and i cannot download it....

I am trying reading the batch files...and wat i understood is that build.bat file in /tools/jam/src is not skipping the jam part...

and i seriously dont understand why?
I downloaded the bjam.exe and tried in various way but no luck...

Well i am getting the linking error saying that Local file not found,

unable to open the file C:\DocumentsAndSetting\Kosharm\Local

i found that Local file was not there so i created and tried but the same error...
I think compilation is going but there is linking error and i dont know how to resolve..

Thanks,
Som
 
Back
Top