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[2]: *** [tum_ardrone/src/UINode/moc_RosThread.cxx] Error 1
CMakeFiles/Makefile2:1913: recipe for target ‘tum_ardrone/CMakeFiles/drone_gui.dir/all’ failed
make[1]: *** [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
Any suggestions?
Thank you
2 Likes
Hello @sambaranghosal ,
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.
ralves
January 11, 2022, 2:57pm
3
Hi @sambaranghosal
Edit 2021-01-17
We just put a solution in production. From now on, you should not have this error anymore.
Original answer
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:
Hi @VT71 ,
Edit 2021-01-17
We just put a solution in production. From ow on, you should not have this error anymore.
Original answer
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
wget 'https://bitbucket.org/!api/2.0/snippets/theconstructcore/6XReqM/f56add37692a6f5254…
zlwnge
March 4, 2022, 12:53pm
4
hello,
i aslo get this error, but where should i put this .hpp file?