Re: Problem using quantlib with DEV-C++

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Problem-using-quantlib-with-DEV-C-tp4773p4774.html

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