Quantlib installation

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

Quantlib installation

Dixit-2
Hi,
 
I am trying to build Quantlib on my PC. I have installed boost as required. However, I am having sertious problems compiling it.
It says that the <boost/config.hpp> is not a valid directory? I am using Visual Studios 2005 Express Edition for C++ Beta 2 release. How do I set C:\quantlib\qt\boost to be included as a header library directory?
 
 
Kind Regards,
Rahul Dixit
 
+0064 9 6278273    (h)
+0064 21 030 5594 (w)
 
Reply | Threaded
Open this post in threaded view
|

Re: Quantlib installation

Luigi Ballabio
On 10/26/2005 06:02:56 AM, Dixit wrote:
> I am trying to build Quantlib on my PC. I have installed boost as
> required.
> However, I am having sertious problems compiling it.
> It says that the <boost/config.hpp> is not a valid directory? I am
> using Visual Studios 2005 Express Edition for C++ Beta 2 release. How  
> do I set C:\quantlib\qt\boost to be included as a header library  
> directory?

(note: your mail was blocked by the mailing-list software and had to be  
released manually. You should be subscribed to the list in order to  
post.)

I had the same problem, and it took quite a bit of googling to find  
out. You'll have to apply the workaround described in  
<http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=2995>.

Later,
        Luigi


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

The nice thing about standards is that there are so many of them to
choose from.
-- Andrew S. Tanenbaum



Reply | Threaded
Open this post in threaded view
|

RE: Quantlib installation

Dirk Scevenels
I believe that you can add additional "include" directories in the project
properties. (project -> properties -> configuration properties -> C/C++ ->
general). That's how I did add the boost directory to the project.

Hope it helps,

Dirk



-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Luigi
Ballabio
Sent: 27 October 2005 10:37
To: Dixit
Cc: [hidden email]
Subject: Re: [Quantlib-users] Quantlib installation


On 10/26/2005 06:02:56 AM, Dixit wrote:
> I am trying to build Quantlib on my PC. I have installed boost as
> required.
> However, I am having sertious problems compiling it.
> It says that the <boost/config.hpp> is not a valid directory? I am
> using Visual Studios 2005 Express Edition for C++ Beta 2 release. How
> do I set C:\quantlib\qt\boost to be included as a header library
> directory?

(note: your mail was blocked by the mailing-list software and had to be
released manually. You should be subscribed to the list in order to
post.)

I had the same problem, and it took quite a bit of googling to find
out. You'll have to apply the workaround described in
<http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=2995>.

Later,
        Luigi


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

The nice thing about standards is that there are so many of them to
choose from.
-- Andrew S. Tanenbaum







Reply | Threaded
Open this post in threaded view
|

Re: Quantlib installation

Luigi Ballabio
On 10/30/2005 09:07:04 PM, Dirk Scevenels wrote:
> I believe that you can add additional "include" directories in the
> project
> properties. (project -> properties -> configuration properties ->
> C/C++ ->
> general). That's how I did add the boost directory to the project.

Yes, that works too. But it has to be repeated every time you download  
a new release.
On the bright side, Microsoft might be releasing the final VC8 express  
soon...

Luigi

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

I'd never join any club that would have the likes of me as a member.
-- Groucho Marx