Compile Error boost::F?OR_EACH not declared

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Post Reply
t34mst3r
Posts: 1
Joined: September 24th, 2014, 11:46 am

Compile Error boost::F?OR_EACH not declared

Post by t34mst3r »

I wanted to compile wesnoth 1.10 on linux (mint 17 64-bit)
I get this error message:
In file included from /home/sads/Downloads/wesnoth-1.10/src/builder.cpp:23:0:
/home/sads/Downloads/wesnoth-1.10/src/foreach.hpp:9:22: error: ‘boost::BOOST_FOREACH’ has not been declared
#define foreach BOOST_FOREACH
^
make[2]: *** [src/CMakeFiles/wesnoth-game.dir/builder.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/wesnoth-game.dir/all] Error 2
make: *** [all] Error 2
User avatar
iceiceice
Posts: 1056
Joined: August 23rd, 2013, 2:10 am

Re: Compile Error boost::F?OR_EACH not declared

Post by iceiceice »

You might want to try downloading version 1.10.7 instead.
Spoiler:
Post Reply