Boost logo

Boost Users :

From: abhishek.v_at_[hidden]
Date: 2007-11-26 07:04:28


Hi
I m trying to extract a graph by reading out graphml. For this purpose i'm
making
using of graphml.cpp and graphml.hpp also i have included "expat"
libraries required for this.
But when i'm trying to compile this it gives the following error :-

Executing make...
make.exe -f "C:\Dev-Cpp\graphml\Makefile.win" all
g++.exe -D__DEBUG__ -c ../../boost_1_34_1/libs/graph/src/graphml.cpp -o
../../SRLGrp/BoostLib/boost_1_34_1/libs/graph/src/graphml.o
-I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"
-I"C:/Dev-Cpp/include/c++/3.4.2/backward"
-I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2"
 -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/graphml"
-I"C:/SRLGrp/BoostLib/expat-2.0.1/lib" -I"C:/SRLGrp/BoostLib/boost_1_34_1"
 -I"C:/SRLGrp/BoostLib/expat-2.0.1" -pg -g3

In file included from
../../SRLGrp/BoostLib/boost_1_34_1/libs/graph/src/graphml.cpp:14:
C:/SRLGrp/BoostLib/boost_1_34_1/boost\graph\graphml.hpp: In function `void
boost::write_graphml(std::ostream&, const Graph&, VertexIndexMap, const
boost::dynamic_properties&, bool)':
C:/boost_1_34_1/boost\graph\graphml.hpp:259: error: missing terminating "
character
C:/boost_1_34_1/boost\graph\graphml.hpp:260: error: `xmlns' undeclared
(first use this function)
C:/boost_1_34_1/boost\graph\graphml.hpp:260: error: (Each undeclared
identifier is reported only once for each function it appears in.)
C:/boost_1_34_1/boost\graph\graphml.hpp:260: error: expected `;' before
':' token
C:/boost_1_34_1/boost\graph\graphml.hpp:260: error: stray '\' in program
C:/boost_1_34_1/boost\graph\graphml.hpp:260: error: missing terminating "
character
C:/boost_1_34_1/boost\graph\graphml.hpp:261: error: stray '\' in program
C:/boost_1_34_1/boost\graph\graphml.hpp:261: error: missing terminating "
character

C:/boost_1_34_1/boost\graph\graphml.hpp:288: error: `value_types'
undeclared (first use this function)

C:/boost_1_34_1/boost\graph\graphml.hpp:288: error: template argument 1 is
invalid
C:/boost_1_34_1/boost\graph\graphml.hpp:289: error: template argument 1 is
invalid
C:/boost_1_34_1/boost\graph\graphml.hpp:289: error: template argument 1 is
invalid
C:/boost_1_34_1/boost\graph\graphml.hpp:289: error: no matching function
for call to `for_each(<type error>)'

In file included from ../../boost_1_34_1/libs/graph/src/graphml.cpp:14:
C:/boost_1_34_1/boost\graph\graphml.hpp:369:34: warning: no newline at end
of file

What could be the reason for this. Right now i m only trying to compile
the code avaliable on boost website.

Thanks
Abhishek Vyas
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net