Failed to build razor_imu_9dof [closed]
Hi, I'm trying to build my catkin workspace on ROS Indigo, it used to build fine, but now the package razor_imu_9dof fail to build. I don't get why. The only thing I temember I did is to install some Android/Java SDK sofware and add a few lines in my .bahrc file.
Here is the output of my terminal :
dcx@dcx-M4700:~/catkin_ws$ catkin_make --pkg razor_imu_9dof
Base path: /home/dcx/catkin_ws
Source space: /home/dcx/catkin_ws/src
Build space: /home/dcx/catkin_ws/build
Devel space: /home/dcx/catkin_ws/devel
Install space: /home/dcx/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/dcx/catkin_ws/build"
####
####
#### Running command: "make -j8 -l8" in "/home/dcx/catkin_ws/build/razor_imu_9dof"
####
[ 0%] Built target std_msgs_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_cpp
[ 0%] [ 14%] Built target std_msgs_generate_messages_py
Generating Java gradle project from razor_imu_9dof
[ 14%] Built target _razor_imu_9dof_generate_messages_check_deps_RazorImu
[ 28%] [ 57%] [ 71%] Built target razor_imu_9dof_generate_messages_lisp
Built target razor_imu_9dof_generate_messages_py
Generating Java gradle project from razor_imu_9dof
[ 85%] Built target razor_imu_9dof_generate_messages_cpp
Traceback (most recent call last):
File "/opt/ros/indigo/share/genjava/cmake/../../../lib/genjava/genjava_gradle_project.py", line 14, in <module>
genjava.main(sys.argv)
File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/genjava_main.py", line 82, in main
gradle_project.create(args.package, args.output_dir)
File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/gradle_project.py", line 152, in create
raise IOError("could not find %s on the ros package path" % msg_pkg_name)
IOError: could not find razor_imu_9dof on the ros package path
make[2]: *** [razor_imu_9dof/java/razor_imu_9dof/build.gradle] Error 1
make[1]: *** [razor_imu_9dof/CMakeFiles/razor_imu_9dof_generate_messages_java_gradle.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
File "/opt/ros/indigo/share/genjava/cmake/../../../lib/genjava/genjava_gradle_project.py", line 14, in <module>
genjava.main(sys.argv)
File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/genjava_main.py", line 82, in main
gradle_project.create(args.package, args.output_dir)
File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/gradle_project.py", line 152, in create
raise IOError("could not find %s on the ros package path" % msg_pkg_name)
IOError: could not find razor_imu_9dof on the ros package path
make[2]: *** [razor_imu_9dof/java/razor_imu_9dof/build.gradle] Error 1
make[1]: *** [razor_imu_9dof/CMakeFiles/razor_imu_9dof_generate_messages_java.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
If I do rospack find razor_imu_9dof, it finds it well. I tried delete all the generated files in build and devel folders, but still the same issue. The package razor_imu_9dof works fine in fact as it's just two python scripts, but the build fail which is annoying.
Any idea how to solve this ?