Boost logo

Boost Users :

From: abhishek.v_at_[hidden]
Date: 2007-11-27 04:52:58


Hi
 I making use of graphml.cpp and graphml.hpp but when trying to compile i
m getting
the linking error following are my error message :-

g++.exe -D__DEBUG__ -c main.cpp -o main.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

g++.exe -D__DEBUG__ -c
../../BoostLib/boost_1_34_1/libs/graph/src/graphml.cpp -o
../../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:/BoostLib/expat-2.0.1/lib" -I"C:/BoostLib/boost_1_34_1"
-I"C:/BoostLib/expat-2.0.1" -pg -g3

g++.exe -D__DEBUG__ main.o
../../BoostLib/boost_1_34_1/libs/graph/src/graphml.o -o "graphml.exe"
-L"C:/Dev-Cpp/lib" -lgmon -pg -g3

../../BoostLib/boost_1_34_1/libs/graph/src/graphml.o(.text$_ZN14graphml_reader3runERSi[graphml_reader::run(std::basic_istream<char,
std::char_traits<char> >&)]+0x73): In function
`ZN5boost22undirected_graph_errorD0Ev':
C:/BoostLib/boost_1_34_1/boost/graph/graphviz.hpp: undefined reference to
`XML_ParserCreateNS'
../../BoostLib/boost_1_34_1/libs/graph/src/graphml.o(.text$_ZN14graphml_reader3runERSi[graphml_reader::run(std::basic_istream<char,
std::char_traits<char>
>&)]+0x91):C:/BoostLib/boost_1_34_1/boost/graph/graphviz.hpp: undefined
reference to `XML_SetElementHandler'
../../BoostLib/boost_1_34_1/libs/graph/src/graphml.o(.text$_ZN14graphml_reader3runERSi[graphml_reader::run(std::basic_istream<char,
std::char_traits<char>
>&)]+0xa4):C:/BoostLib/boost_1_34_1/boost/graph/graphviz.hpp: undefined
reference to `XML_SetCharacterDataHandler'
../../SRLGrp/BoostLib/boost_1_34_1/libs/graph/src/graphml.o(.text$_ZN14graphml_reader3runERSi[graphml_reader::run(std::basic_istream<char,
std::char_traits<char>
>&)]+0xb6):C:/BoostLib/boost_1_34_1/boost/graph/graphviz.hpp: undefined
reference to `XML_SetUserData'
../../SRLGrp/BoostLib/boost_1_34_1/libs/graph/src/graphml.o(.text$_ZN14graphml_reader3runERSi[graphml_reader::run(std::basic_istream<char,
std::char_traits<char> >&)]+0x12b): In function
`ZN5boost12read_graphmlERSiRNS_12mutate_graphE':
C:/Dev-Cpp/graphml/../../BoostLib/boost_1_34_1/libs/graph/src/graphml.cpp:349:
undefined reference to `XML_Parse'
../../BoostLib/boost_1_34_1/libs/graph/src/graphml.o(.text$_ZN14graphml_reader3runERSi[graphml_reader::run(std::basic_istream<char,
std::char_traits<char>
>&)]+0x1af):C:/Dev-Cpp/graphml/../..BoostLib/boost_1_34_1/libs/graph/src/graphml.cpp:351:
undefined reference to `XML_GetCurrentColumnNumber'
../../BoostLib/boost_1_34_1/libs/graph/src/graphml.o(.text$_ZN14graphml_reader3runERSi[graphml_reader::run(std::basic_istream<char,
std::char_traits<char>
>&)]+0x1c0):C:/Dev-Cpp/graphml/../../BoostLib/boost_1_34_1/libs/graph/src/graphml.cpp:351:
undefined reference to `XML_GetCurrentLineNumber'
../../BoostLib/boost_1_34_1/libs/graph/src/graphml.o(.text$_ZN14graphml_reader3runERSi[graphml_reader::run(std::basic_istream<char,
std::char_traits<char>
>&)]+0x1d1):C:/Dev-Cpp/graphml/../../BoostLib/boost_1_34_1/libs/graph/src/graphml.cpp:351:
undefined reference to `XML_GetErrorCode'
../../BoostLib/boost_1_34_1/libs/graph/src/graphml.o(.text$_ZN14graphml_reader3runERSi[graphml_reader::run(std::basic_istream<char,
std::char_traits<char>
>&)]+0x1d9):C:/Dev-Cpp/graphml/../../BoostLib/boost_1_34_1/libs/graph/src/graphml.cpp:351:
undefined reference to `XML_ErrorString'
../../SRLGrp/BoostLib/boost_1_34_1/libs/graph/src/graphml.o(.text$_ZN14graphml_reader3runERSi[graphml_reader::run(std::basic_istream<char,
std::char_traits<char> >&)]+0x259): In function
`Z41__static_initialization_and_destruction_0ii':
C:/Dev-Cpp/include/c++/3.4.2/iostream:77: undefined reference to
`XML_ParserFree'
../../BoostLib/boost_1_34_1/libs/graph/src/graphml.o(.text$_ZN14graphml_reader3runERSi[graphml_reader::run(std::basic_istream<char,
std::char_traits<char> >&)]+0x3c9): In function
`GLOBAL__D__ZN5boost12read_graphmlERSiRNS_12mutate_graphE':
C:/Dev-Cpp/graphml/../../BoostLib/boost_1_34_1/libs/graph/src/graphml.cpp:355:
undefined reference to `XML_ParserFree'
collect2: ld returned 1 exit status

Thanks
Abhishek
=====-----=====-----=====
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