Boost logo

Boost Users :

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


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

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>
#include <boost/spirit/home/support/detail/integer/endian.hpp>

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

What am I doing wrong?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at