Boost logo

Boost Users :

Subject: [Boost-users] [Spirit] compilation problem
From: Igor R (boost.lists_at_[hidden])
Date: 2011-09-06 09:13:07


Hello,

I've upgraded to 1.47, and any attempt to include a Spirit header
produces the following compiler error (MSVC 10):

#include <boost/spirit/include/qi.hpp>
int main()
{
}

"../spirit/home/support/detail/endian.hpp(22): fatal error C1083:
Cannot open include file: 'boost/integer/endian.hpp': No such file or
directory"

The error is in the following lines:
// If Boost has the endian library, use it, otherwise use an adapted version
// included with Spirit
#if BOOST_VERSION >= 104600
#include <boost/integer/endian.hpp>
#else
#include <boost/spirit/home/support/detail/integer/endian.hpp>
#endif

Actually, there's no boost/integer/endian.hpp file in the zip that
I've downloaded.

What am I doing wrong?

Thanks.


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