I'm facing issues with flightlib when installing on ubuntu 20.04 with ROS
Opened this issue · 1 comments
I'm getting following error when building with catkin. I've tried both "catkin_make" and "catkin build" both fail with the same error. pls help
In file included from /home/crux/catkin_ws/src/flightmare/flightlib/include/flightlib/envs/quadrotor_env/quadrotor_env.hpp:12,
from /home/crux/catkin_ws/src/flightmare/flightlib/include/flightlib/envs/test_env.hpp:10,
from /home/crux/catkin_ws/src/flightmare/flightlib/src/envs/test_env.cpp:1:
/home/crux/catkin_ws/src/flightmare/flightlib/include/flightlib/bridges/unity_bridge.hpp:19:10: fatal error: zmqpp/zmqpp.hpp: No such file or directory
19 | #include <zmqpp/zmqpp.hpp>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [flightmare/flightlib/CMakeFiles/flightlib.dir/build.make:258: flightmare/flightlib/CMakeFiles/flightlib.dir/src/envs/test_env.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1549: flightmare/flightlib/CMakeFiles/flightlib.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 93%] Built target autopilot_helper
[ 93%] Built target autopilot
make: *** [Makefile:141: all] Error 2
Invoking "make -j12 -l12" failed
I had the same problem and managed to get it working by manually installing zmqpp into a different directory, as described on the readme page for the repo: https://github.com/zeromq/zmqpp