Problem using quantlib with DEV-C++

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

Problem using quantlib with DEV-C++

Gregor Gutzelnig-2
Hello,

I'm new to quantlib and trying to work trough the examples. When compiling
swap.dev I get multiple errors. Everything starts with "boost\config.hpp no
such file or directory". Maybe my boost installation doesn't work as it
should? Any suggestions.

Thanx a lot!
Greg



Reply | Threaded
Open this post in threaded view
|

Re: Problem using quantlib with DEV-C++

Luigi Ballabio
On 05/09/2006 04:34:17 PM, Gregor Gutzelnig wrote:
> I'm new to quantlib and trying to work trough the examples. When
> compiling swap.dev I get multiple errors. Everything starts with
> "boost\config.hpp no such file or directory". Maybe my boost  
> installation doesn't work as it should?

The compiler has to be told where the Boost headers are. You can add  
such directory from Dev-C++ by selecting the "Tools/Compiler options"  
menu. In the dialog that opens, select the "Directories/C++ Includes"  
tabs and add to the list the directory containing the boost folder  
(i.e., not the folder containing config.hpp, but the one above that.)

Luigi


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

fix, n.,v.
         What one does when a problem has been reported too many times
         to be ignored.
-- the Jargon file