fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory

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

fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory

David Palmer-2
I have been trying to get QuantLib to work and am having trouble.

I have read many posts and tried a variety of fixes to no avail.

Microsoft Visual C++ .NET   69586-335-0000007-18048

Windows XP Professional service pack 2

Boost C:\boost (boost_1_33_0)
QuantLib C:\QuantLib-0.3.11

(SYSTEM VARIABLES)

PATH %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32
\Wbem;C:\texmf\miktex\bin;C:\ruby\bin;C:\blp\API;C:\blp\API\dde;C:\PROGRAM
FILES\THINKPAD\UTILITIES;C:\Program Files\ATI Technologies\ATI Control
Panel;C:\WINDOWS\Downloaded Program Files;C:\Program Files\PC-Doctor for
Windows\services;C:\boost;C:\msys\1.0\bin;C:\Dev-
cpp\bin;C:\WATCOM\BINNT;C:\WATCOM\BINW;C:\Program Files\MySQL\MySQL Server 4.1
\bin;C:\Program Files\doxygen\bin;%SystemDrive%
\IBMTOOLS\Python22;C:\Nokia\Update_Manager\bin;C:\Program
Files\QuickTime\QTSystem\;C:\Program Files\Microsoft SQL Server\80
\Tools\Binn\;C:\PROGRA~1\ATT\Graphviz\bin;C:\PROGRA~1\ATT\Graphviz\bin\tools

INCLUDE C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1
\include\;C:\WATCOM\H;C:\WATCOM\H\NT;C:\boost

Under System/Options/VC++ Directories Include C:\boost and C:\QuantLib-0.3.11
Under Project Additional C:\boost

I have made both the directories boost and quantlib read / writable.

I have successfully built boost VC7_1 install using BJAM.

All to no avail.

What really bakes my noodle is that if I highlight the boost/config.hpp file
in the IDE and right click choose "open document" it tells me the file is not
found...

The dialog also shows it is looking in the path C:\boost and yes the file is
there...

So after doing my due dilligence and checking MSDN and the Boost and Quantlib
user groups, I must admit defeat. Any suggestions?





Reply | Threaded
Open this post in threaded view
|

Re: fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory

Luigi Ballabio
On 12/10/2005 05:17:12 PM, David Palmer wrote:
> INCLUDE C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1
> \include\;C:\WATCOM\H;C:\WATCOM\H\NT;C:\boost

The last entry should be C:\Boost\include\boost-1_33

> Under System/Options/VC++ Directories Include C:\boost and
> C:\QuantLib-0.3.11

Same here. The additional include directory must be
C:\Boost\include\boost-1_33, i.e., the one that contains
boost/config.hpp directly.

Later,
        Luigi


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

Every solution breeds new problems.
-- unknown