When compiling code downloaded from repository by eYSIP, getting following error
[ 56%] Built target tum_ardrone_generate_messages
[ 79%] Built target drone_stateestimation
[ 80%] Generating src/UINode/moc_RosThread.cxx
usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at “BOOST_JOIN”
tum_ardrone/CMakeFiles/drone_gui.dir/build.make:71: recipe for target ‘tum_ardrone/src/UINode/moc_RosThread.cxx’ failed
make: *** [tum_ardrone/src/UINode/moc_RosThread.cxx] Error 1
CMakeFiles/Makefile2:1913: recipe for target ‘tum_ardrone/CMakeFiles/drone_gui.dir/all’ failed
make: *** [tum_ardrone/CMakeFiles/drone_gui.dir/all] Error 2
Makefile:138: recipe for target ‘all’ failed
make: *** [all] Error 2
Invoking “make -j2 -l2” failed
I’ve been looking into this issue but couldn’t find a solution yet. I’ll go deeper into this next week. Please meanwhile try to continue working on other Units/Courses and sorry for the inconveniences.
We just put a solution in production. From now on, you should not have this error anymore.
We finally could find a way to bypass this error until the solution is integrated into our platform.
Please check the instructions on the following link:
We just put a solution in production. From ow on, you should not have this error anymore.
we created a file has_binary_operator.hpp that fixes this error.
We are going to use that file by default soon, but for the moment, you can just download it and put it in place of the default one.
So, the steps are the following:
Download has_binary_operator.hpp with
i aslo get this error, but where should i put this .hpp file?