Directory of Open Source for Quantitative Finance and Trading
Username: Password: Not registered?
 
Quick Search:    (AJAX based: No need to press button)

SmartFAQ is developed by The SmartFactory (http://www.smartfactory.ca), a division of InBox Solutions (http://www.inboxsolutions.net)

How can I get start with Quantlib in DEV C++ / Windows XP?
Requested and Answered by Vanna on 21-Mar-2007 19:53 (8976 reads)
How do I get started with Quantlib in DEV C++ on Windows XP?

1.Download the latest version of boost. For windows XP download file boost_1_33_1.exe (choose a newer version if diferent) from http://sourceforge.net/project/showfiles.php?group_id=7586
2.Run the boost_1_33_1.exe and unpack it in a folder eg.,C:\program files
3.Download file QuantLib-0.4.0.zip (choose a newer version if diferent) from http://sourceforge.net/project/showfiles.php?group_id=12740
4.Unzip into a folder eg.,C:\program files
5.Launch Dev C++
6.Click on File->Open Project
7.Select file QuantLib.dev
8.selct menu Project->Project Options
9.select directories tab->select include directories tab within it
10.Enter C:\Program Files\boost_1_33_1 (assuming it was installed at path as in 2) and click on Add
11.click ok
12.Now ready for build. choose Execute->rebuild all
13.After build is complete, verify that file libQuantLib-mgw-0_4_0.a has been generated (must be in C:\Program Files\QuantLib-0.4.0\lib)

How do I use an Example project?

14.Close the Quantlib project.
15.Open BermudanSwaption.dev in Dev C++
16.Repeat steps 6-11 for this project
17.It is ready for build and should run


Discuss or give feedback? Just enter your message and click on submit. No registration is required.

Note: A copy of this message will also be emailed to the submitter of this link

The comments are owned by the poster. We aren't responsible for their content.

Poster Thread
Anonymous
Posted: 2007/6/19 10:34  Updated: 2007/6/19 10:34
 QuantLib under Dev C++
I got

D:\QuantLib\QuantLib-0.8.0\Makefile.win [Build Error] No rule to make target `clean'. Stop.

What now?
Thanks

Poster Thread
Anonymous
Posted: 2007/7/17 2:56  Updated: 2007/7/17 2:56
 Re: QuantLib under Dev C++
Any luck? I got the same message

Poster Thread
vanna
Posted: 2007/7/17 19:48  Updated: 2007/7/17 20:19
Just can't stay away
Joined: 2007/3/21
From:
Posts: 104
 Re: QuantLib under Dev C++
Dear all,

I also got the same error in Quantklib-0.8 though it works with Quantlub-0.4
I was getting a dialog saying 'Could not create makefile : I/O error 32' and the above mentioned error in command output
I guess that it is because the Dev C++ IDE is built in Delphi, and Delphi throws strange I/O errors sporadically when opening projects using File->Open Project

Following worked for me:
1.Closed all open Dev C++ IDEs on my box
2.Closed all open windows explorers
3.Opened a new windows explorer
4.Navigated to QuantLib-0.8.0 folder. Deleted all makefile.* files
5.Double-clicked the Quantlib.dev file
6.Dev C++ IDE gotlaunched with Quantlib project opened
7.Waited for 10 secs for project loading to settle down.
8. Clicked on "Execute -> rebuild All", and it worked


Not all above steps might be necessary . Pl. suggest your comments, I would be interested if the above fix worked for you too.

Poster Thread
Anonymous
Posted: 2007/7/19 0:09  Updated: 2007/7/19 0:09
 Re: QuantLib under Dev C++
It worked fine with 0.8.0.

Thank you very much

Poster Thread
Anonymous
Posted: 2007/7/25 15:02  Updated: 2007/7/25 15:02
 Re: QuantLib under Dev C++
works with 0.8.1 too

Poster Thread
bigben007
Posted: 2009/2/22 9:18  Updated: 2009/2/22 9:18
Just popping in
Joined: 2009/2/22
From:
Posts: 1
 Re: QuantLib under Dev C++
Hi all,

I had just the same error message and the suggestion above seemed to work at some extent. At the end of the process I had this message:

4:59 C:\Users\VIP Guest\Downloads\QuantLib-0.9.7\QuantLib_private.rc no include path in which to search for windows.h
13 C:\Users\VIP Guest\Downloads\QuantLib-0.9.7\QuantLib_private.rc [Resource error] syntax error

line 13 being: FILETYPE VFT_STATIC_LIB

Regarding the error msg, windows.h is in Dev-Cpp\include\ which is already in the project's options (include directories tab)...so I don't understand why I'm getting this error???

Anyone experienced this before?

thanks,
ben

Poster Thread
Anonymous
Posted: 2012/5/30 10:31  Updated: 2012/6/10 12:25
 How can I get start with Quantlib in DEV C++ / Windows XP?
Hello. I have a problem that i can't resolve. I need to compile a file.cpp Called Bonds, that calls QuantLib-1.2 library and boost_1_47. I use windows XP and Dev C++. So i followed the procedure that is described here to link QuantLib in dev C++. I followed all steps, i think that these steps are valid also for QuantLib-1.2 and boost_1_47 and not only for QuantLib-0.4.0 and boost_1_33. I started the process of rebuild that, after a time of half an hour, is succeded without problems. I created the project called Bonds, then i created the source file, copied the code of my interest and then i saved the source as Bonds.cpp (is written in C++ istruction and i can't save it as Bonds.c). After this i closed dev C++ and reopened clicking on Bonds.dev file. At this point i made Execute/Compile, but compiler tells me that can't find Makefile.win. The message is : C:\Dev-Cpp\Makefile.win [Build Error] No rule to make target Why can i solve this problem?

Discuss or give feedback? Just enter your message and click on submit. No registration is required.

Note: A copy of this message will also be emailed to the submitter of this link
Similar Links:
How do I get started with Fortran on Windows XP? (FAQ)
How do I get started with JAVA on Windows XP? (FAQ)
How do I get started with Quantlib on Visual C++ 2005 Express? (FAQ)
How do I get started with Windows Desktop Search? (FAQ)
How do I start using GSL on Windows XP? (FAQ)
Copyright © 2011 QuantCode Inc. All rights reserved.