build error
Added by Chris Howard over 9 years ago
Anyone have any ideas on this build error??
[ 0%] Building CXX object src/CMakeFiles/wt.dir/Wt/WIOService.o
In file included from /tmp/boost_1_59_0/boost/asio/detail/impl/posix_tss_ptr.ipp:24:0,
from /tmp/boost_1_59_0/boost/asio/detail/posix_tss_ptr.hpp:76,
from /tmp/boost_1_59_0/boost/asio/detail/tss_ptr.hpp:27,
from /tmp/boost_1_59_0/boost/asio/detail/call_stack.hpp:20,
from /tmp/boost_1_59_0/boost/asio/impl/handler_alloc_hook.ipp:19,
from /tmp/boost_1_59_0/boost/asio/handler_alloc_hook.hpp:80,
from /tmp/boost_1_59_0/boost/asio/detail/handler_alloc_helpers.hpp:21,
from /tmp/boost_1_59_0/boost/asio/detail/bind_handler.hpp:19,
from /tmp/boost_1_59_0/boost/asio/detail/wrapped_handler.hpp:18,
from /tmp/boost_1_59_0/boost/asio/io_service.hpp:24,
from /tmp/wt-3.3.5-rc1/src/Wt/WIOService:10,
from /tmp/wt-3.3.5-rc1/src/Wt/WIOService.C:7:
/tmp/boost_1_59_0/boost/asio/error.hpp:87:31: error: a function call cannot appear in a constant-expression
BOOST_ASIO_NATIVE_ERROR(ERROR_BROKEN_PIPE),
^
/tmp/boost_1_59_0/boost/asio/error.hpp:53:50: note: in definition of macro 'BOOST_ASIO_WIN_OR_POSIX'
# define BOOST_ASIO_WIN_OR_POSIX(e_win, e_posix) e_win
Replies (5)
RE: build error - Added by Koen Deforche over 9 years ago
Hey,
What's the platform, compiler, etc?
Boost 1.59 is very new. Perhaps it's an error in this boost version, did you try with e.g. 1.58?
Regards,
koen
RE: build error - Added by Nicole King over 9 years ago
Boost 1.59 breaks the build:
Render/CssParser.C:37:41: fatal error: boost/spirit/home/phoenix.hpp: No such file or directory
This release of boost it contains Spirit v.2.5.3. The what's new for this release of Spirit contains the following text:
"The deprecated headers are removed. It's been there for a couple of years now and it's about time to do some cleanup."
It seems that the warnings about these headers have been ignored for some years now.
RE: build error - Added by Nicole King over 9 years ago
Also .... I'm not prepared to go back to boost 1.58, because that would break several other existing projects.
RE: build error - Added by Koen Deforche over 9 years ago
Spirit v.2.5.3 has been in boost since 1.50, and Wt has been supporting it since mid 2014.
What version of Wt are you trying to build, on what platform, and with what compiler? Can you post the contents of your CMakeCache.txt?
RE: build error - Added by Nicole King over 9 years ago
Hmmm. Thanks for the nudge. It seems I was trying to compile version 3.3.3. Stupid me! I apologise for any aspersions you feel I have been casting on your work.