quantlib 0.8.0 VStudio

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

quantlib 0.8.0 VStudio

HADJERES-MELLOUL Nabyl

Good afternoon,

Someone could help me please ::

 

I ave installed Quantlib  0.8.0 and boost 1.33.1 when I try

To compile and build example I have this message :

 

.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory

timegrid.cpp

.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory

swaptionvolstructure.cpp

.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory

stochasticprocess.cpp

.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory

prices.cpp

.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory

money.cpp

.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory

interestrate.cpp

.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory

index.cpp

.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory

exchangerate.cpp

.\ql/qldefin……………………..

 

For all .cpp

 

  1. I ave put inIn Visual Studio 2005, TOOLS->Options->Projects and Solutions->VC++ Directory
  2.  “Include Files”, and add the directory

, C:\Documents and Settings\hadjeres-melloul\Mes documents\Boost\boost_1_33_1

 

 

       For “Libraries Files                C:\Documents and Settings\hadjeres-melloul\Mes documents\Boost\Boost\boost_1_33_1\lib

 

I think it’s not correct, someone could help me.

 

Very very sincerely yours.

Nabyl.

 

 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: quantlib 0.8.0 VStudio

DU VIGNAUD DE VILLEFORT FRANCOIS GASAPRD PHI
Hi Nabyl,


Either your include path is not correct or your Boost distribution is not complete. I would advise you learning how to solve this kind of problem by yourself since they are quite common and generally not so hard to solve ;-)
Regards,
François

PS: A small hint: have you checked that the files your compiler is referring to are actually in the path you have set ?

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of HADJERES-MELLOUL Nabyl
Sent: Wednesday, May 30, 2007 4:06 PM
To: [hidden email]
Subject: [Quantlib-users] quantlib 0.8.0 VStudio

Good afternoon,
Someone could help me please ::

I ave installed Quantlib  0.8.0 and boost 1.33.1 when I try
To compile and build example I have this message :

.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
timegrid.cpp
.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
swaptionvolstructure.cpp
.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
stochasticprocess.cpp
.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
prices.cpp
.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
money.cpp
.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
interestrate.cpp
.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
index.cpp
.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
exchangerate.cpp
.\ql/qldefin..........................

For all .cpp

1. I ave put inIn Visual Studio 2005, TOOLS->Options->Projects and Solutions->VC++ Directory
2.  "Include Files", and add the directory
, C:\Documents and Settings\hadjeres-melloul\Mes documents\Boost\boost_1_33_1


       For "Libraries Files                C:\Documents and Settings\hadjeres-melloul\Mes documents\Boost\Boost\boost_1_33_1\lib

I think it's not correct, someone could help me.

Very very sincerely yours.
Nabyl.

 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: quantlib 0.8.0 VStudio

Giuseppe Castellacci
In reply to this post by HADJERES-MELLOUL Nabyl
I am quite new to QuantLib, having build 0.4.0 with boost 1.34.0
only last week with Visual C++ express, so please take my advise with a
grain of salt

You may not have set the appropriate inlude path.
Assuming "C:\Documents and Settings\hadjeres-melloul\Mes
documents\Boost\Boost\boost_1_33_1"
is your BOOST_ROOT (= the path leading to the folder where you
installed boost), I believe you should add this path
to your INCLUDE paths.

I did this by opening QuantLib_vc8.vcproj, right-clicking on
"QuantLib" in the Solution Explorer tree, selectinng Properties
and then in the left-hand-side tree Configuration Properties > C/C++
> General. Your boost root should be added to the value of
"Additional Include Directories"

I also believe that the BOOST_ROOT\lib path is only needed for
the succesfull build of the testsuite module of QuantLib.
And actually it seems only one static library is needed
(this is <libboost_unit_test_framework-vc80-mt-gd-1_34.lib>
in my case) which requires to build the boost "test" library
(with boostjam). Personally I added this path to the Properties
of "testsuite" (Configuration Properties > Linker > General,
enter value in "Additional Library Directories")

Hope this helps

Bonne Chance!


  Best Regards,

  Giuseppe Castellacci
  [hidden email]

----- Original Message -----
From: HADJERES-MELLOUL Nabyl
To: [hidden email]
Sent: Wednesday, May 30, 2007 10:06 AM
Subject: [Quantlib-users] quantlib 0.8.0 VStudio


Good afternoon,
Someone could help me please ::

I ave installed Quantlib  0.8.0 and boost 1.33.1 when I try
To compile and build example I have this message :

\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier
include : 'boost/config.hpp' : No such file or directory
timegrid.cpp
\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier
include : 'boost/config.hpp' : No such file or directory
swaptionvolstructure.cpp
\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier
include : 'boost/config.hpp' : No such file or directory
stochasticprocess.cpp
\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier
include : 'boost/config.hpp' : No such file or directory
prices.cpp
\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier
include : 'boost/config.hpp' : No such file or directory
money.cpp
\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier
include : 'boost/config.hpp' : No such file or directory
interestrate.cpp
\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier
include : 'boost/config.hpp' : No such file or directory
index.cpp
\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier
include : 'boost/config.hpp' : No such file or directory
exchangerate.cpp
\ql/qldefin..........

For all .cpp

I ave put inIn Visual Studio 2005, TOOLS->Options->Projects and
Solutions->VC++ Directory
 "Include Files", and add the directory
, C:\Documents and Settings\hadjeres-melloul\Mes
documents\Boost\boost_1_33_1


       For "Libraries Files                C:\Documents and
Settings\hadjeres-melloul\Mes documents\Boost\Boost\boost_1_33_1\lib

I think it's not correct, someone could help me.

Very very sincerely yours.
Nabyl.





-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/



_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: quantlib 0.8.0 VStudio

Xavier.Abulker
In reply to this post by HADJERES-MELLOUL Nabyl

Hello Nabyl,
try to install boost under the default directory

C:\Boost\boost_1_33_1

Bye




"HADJERES-MELLOUL Nabyl" <[hidden email]>
Sent by: [hidden email]

30/05/2007 16:06

To
<[hidden email]>
cc
Subject
[Quantlib-users] quantlib 0.8.0 VStudio





Good afternoon,
Someone could help me please ::
 
I ave installed Quantlib  0.8.0 and boost 1.33.1 when I try
To compile and build example I have this message :
 
.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
timegrid.cpp
.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
swaptionvolstructure.cpp
.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
stochasticprocess.cpp
.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
prices.cpp
.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
money.cpp
.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
interestrate.cpp
.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
index.cpp
.\ql/qldefines.hpp(29) : fatal error C1083: Impossible d'ouvrir le fichier include : 'boost/config.hpp' : No such file or directory
exchangerate.cpp
.\ql/qldefin……………………..
 
For all .cpp
 
1.        I ave put inIn Visual Studio 2005, TOOLS->Options->Projects and Solutions->VC++ Directory
2.        Include Files”, and add the directory
, C:\Documents and Settings\hadjeres-melloul\Mes documents\Boost\boost_1_33_1
 
 
       For “Libraries Files                C:\Documents and Settings\hadjeres-melloul\Mes documents\Boost\Boost\boost_1_33_1\lib
 
I think it’s not correct, someone could help me.
 
Very very sincerely yours.
Nabyl.
 
 

*************************************************************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration.
La FIMAT et ses filiales declinent toute responsabilite
au titre de ce message s'il a ete altere, deforme ou falsifie.
    ********
This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.  
Neither FIMAT nor any of its subsidiaries or affiliates
shall be liable for the message if altered,
changed or falsified.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

*************************************************************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite. 
Tout message electronique est susceptible d'alteration. 
La FIMAT et ses filiales declinent toute responsabilite 
au titre de ce message s'il a ete altere, deforme ou falsifie.
     ********
This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited. 
E-mails are susceptible to alteration.   
Neither FIMAT nor any of its subsidiaries or affiliates 
shall be liable for the message if altered, 
changed or falsified. 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: quantlib 0.8.0 VStudio

Luigi Ballabio
In reply to this post by Giuseppe Castellacci

Bonjour Nabyl,

On Wed, 2007-05-30 at 10:43 -0400, Giuseppe Castellacci wrote:
> You may not have set the appropriate inlude path.

True.

> I did this by opening QuantLib_vc8.vcproj, right-clicking on
> "QuantLib" in the Solution Explorer tree, selectinng Properties
> and then in the left-hand-side tree Configuration Properties > C/C++
> > General. Your boost root should be added to the value of
> "Additional Include Directories"

As an alternative, you can add the Boost include directory to the IDE so
that not only QuantLib, but also other projects can use Boost. You can
do it by selecting Tools/Options from the menu bar, and in the left-hand
side tree "Projects and Solutions" and then "VC++ Directories". In the
top-right corner, select "Include files" and add your Boost root to the
list.

Later,
        Luigi


----------------------------------------

Ninety percent of everything is crap.
--- Theodore Sturgeon



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users