|
Boost Users : |
From: Ray Hilton (RayHilton_64_at_[hidden])
Date: 2004-12-23 04:06:43
RE: [Boost-users] Re: [newbie] building serialization library
serialization library makes use of the boost.spirit library for its XML serializations.
the boost.spirit library that comes with boost is now v1.8.x which does not compile on very many compilers, yours is one of them hence the error:)
Serialization library can however use spirit 1.6.x (which probably will work for your compiler), download it at http://spirit.sourceforge.net/ and follow the instructions about setting SPIRIT_ROOT enviroment var in serialization docs, before trying to update
If using spirit 1.6.1 you will get an error saying something like apply_if.hpp does not exist, simply goto the spirit header file that tries to include and comment it out. Im not sure if the very recent spirit 1.6.2 fixed this problem but i don't see why it wouldnt have.
I was asking the same question a few weeks ago, and I can't seem to find my thread anymore however.
P.S Robert Ramey- I got it working so now i can start serializing my plans to conquer the world! :) And thanks for the help
Ray Hilton
"Muruganathan Annamalai" <Annamalai.Muruganathan_at_[hidden]> wrote in message news:037B536F875D9F4CA23B747E40FCF97B056416EE_at_blrk001a.sisl.co.in...
hi,
When I try to compile the serialization library, Iam getting the following error,
"cl" /Zm800 -nologo /EHsc -c -DNDEBUG -DNDEBUG -DBOOST_TEST_NO_AUTO_LINK=1 /Ogity /O2 /Gs /Ob2 /EHsc /GR /MT -Gy -I"bin\boost\libs\serialization\build" -I"d:\DEVSTU~1.0\Common\include" -I"E
\boost_1_32_0" -Fo"bin\boost\libs\serialization\build\libboost_wserialization.lib\msvc\release\runtime-link-static\threading-multi\xml_wgrammar.obj" -Tp"E:\boost_1_32_0\libs\serialization\build\..
src/xml_wgrammar.cpp"
..failed vc-C++ bin\boost\libs\serialization\build\libboost_wserialization.lib\msvc\release\runtime-link-static\threading-multi\xml_wgrammar.obj...
c-C++ bin\boost\libs\serialization\build\libboost_wserialization.lib\msvc\release\runtime-link-static\threading-multi\xml_wiarchive.obj
ml_wiarchive.cpp
:\boost_1_32_0\boost/spirit/core/config.hpp(56) : fatal error C1189: #error : "Compiler not supported. See note in <boost/spirit/core/config.hpp>"
If you look at config.cpp it is mentioned vc6 is not supported. How to overcome this?
--annamalai
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