Compile error BOOST_FUNCTION_RETURN 0.47 Aarch64

Questions, problems and discussion about compiling FreeOrion.
Post Reply
Message
Author
tarski
Space Krill
Posts: 3
Joined: Mon May 29, 2017 9:13 pm

Compile error BOOST_FUNCTION_RETURN 0.47 Aarch64

#1 Post by tarski » Mon Jun 05, 2017 3:33 pm

Hi,

I am trying to compile 0.47 on ARM (Aarch64) using GCC 6.10
I am using a modified docker image from the SDK to do the compilation. Cmake reported all dependencies were OK and that all the boost libraries were found

However, the compilation is failing at 44% at:

Code: Select all

/usr/include/boost/function/function_template.hpp:159:11: error: no match for call to '(std::tuple<const boost::function<void()>&>) ()'
           BOOST_FUNCTION_RETURN((*f)(BOOST_FUNCTION_ARGS));
           ^
I have attached the output from cmake and make
Attachments
make.txt
(22.35 KiB) Downloaded 21 times
cmake.txt
(2.72 KiB) Downloaded 22 times

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12293
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Compile error BOOST_FUNCTION_RETURN 0.47 Aarch64

#2 Post by Geoff the Medio » Mon Jun 05, 2017 4:13 pm


tarski
Space Krill
Posts: 3
Joined: Mon May 29, 2017 9:13 pm

Re: Compile error BOOST_FUNCTION_RETURN 0.47 Aarch64

#3 Post by tarski » Tue Jun 06, 2017 8:46 am

Thanks, it seems that GCC 6.1 is incompatible with Libboost 1.5.8. Unfortunately Ubuntu 16.04, which the SDK docker images is based off of, includes libboost 1.5.8. I'll try switching libboost and/or GCC version

Post Reply