issues when compiling graph library with expat

Hi: When compiling the graph library with expat to add graph ml, the libraries fails to compile, I've declared environment variables EXPAT_INCLUDE and EXPAT_LIBRARY but it's failing expat.h even though the directory is in the pat as "c:\program files\expat\source\lib\" Any help apreciated. Sean.

On Tue, Dec 16, 2008 at 6:20 AM, Sean Farrow
Hi: When compiling the graph library with expat to add graph ml, the libraries fails to compile, I've declared environment variables EXPAT_INCLUDE and EXPAT_LIBRARY but it's failing expat.h even though the directory is in the pat as "c:\program files\expat\source\lib\" Any help apreciated. Sean.
Fails how? What errors? Andrew Sutton andrew.n.sutton@gmail.com

Hi:
I've define:
EXPAT_INCLUDE to:
c:\program files\expat\source\lib
and EXPAT_BIN to
c:\program files\expat\bin
I've also added these paths to visual studio.
I get the following error:
libs\graph\src\graphml.cpp(13) : fatal error C1083: Cannot open include
file: 'expat.h': No such file or directory
Any help appreciated.
Cheers
Sean.s
_____
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of Andrew Sutton
Sent: 16 December 2008 14:26
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] issues when compiling graph library with
expat
On Tue, Dec 16, 2008 at 6:20 AM, Sean Farrow

On Tue, Dec 16, 2008 at 9:45 AM, Sean Farrow
Hi: I've define: EXPAT_INCLUDE to: c:\program files\expat\source\lib and EXPAT_BIN to c:\program files\expat\bin I've also added these paths to visual studio. I get the following error: libs\graph\src\graphml.cpp(13) : fatal error C1083: Cannot open include file: 'expat.h': No such file or directory Any help appreciated. Cheers Sean.s
Using MS VisualStudio or bjam? You probably have to add the include directory to the include search path. I haven't used VS in quite some time so I forget how its done. Andrew Sutton andrew.n.sutton@gmail.com

Hi:
I'm using bjam to compile everything.
Sean.
_____
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of Andrew Sutton
Sent: 16 December 2008 15:14
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] issues when compiling graph library with
expat
On Tue, Dec 16, 2008 at 9:45 AM, Sean Farrow

Hi Sean. On Tuesday 16 December 2008, Sean Farrow wrote:
Hi: I've define: EXPAT_INCLUDE to: c:\program files\expat\source\lib and EXPAT_BIN to c:\program files\expat\bin
Please note that those paths contain spaces. bjam will happily split the path at white space, so you have to quote the path like this: set EXPAT_INCLUDE="c:\program files\expat\source\lib" set EXPAT_BIN="c:\program files\expat\bin" This works for me (XP64).
I've also added these paths to visual studio.
Not relevant here.
I get the following error: libs\graph\src\graphml.cpp(13) : fatal error C1083: Cannot open include file: 'expat.h': No such file or directory Any help appreciated.
That's all I can give without seeing the actual command line used. bjam dumps the commandline of the failing command, so please add it next time. Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@ivembh.de ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !
participants (3)
-
Andrew Sutton
-
Juergen Hunold
-
Sean Farrow