catkin_make_isolated failed for test_tf2 package [closed]
I am trying to build catkin_make_isolated
, but it fails when it comes to package test_tf2. The error that is produced is:
==> Processing catkin package: 'test_tf2'
==> Building with env: '/home/mars-lab/catkin_ws/devel_isolated/tf2_kdl/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/home/mars-lab/catkin_ws/build_isolated/test_tf2'
==> make -j8 -l8 in '/home/mars-lab/catkin_ws/build_isolated/test_tf2'
Unhandled exception of type 'RuntimeError':
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/builder.py", line 981, in build_workspace_isolated
number=index + 1, of=len(ordered_packages)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/builder.py", line 682, in build_package
"'\n This sometimes occurs when a non-catkin package is "
RuntimeError: No env.sh file generated at: '/home/mars-lab/catkin_ws/devel_isolated/test_tf2/env.sh'
This sometimes occurs when a non-catkin package is interpreted as a catkin package.
This can also occur when the cmake cache is stale, try --force-cmake.
<== Failed to process package 'test_tf2':
No env.sh file generated at: '/home/mars-lab/catkin_ws/devel_isolated/test_tf2/env.sh'
This sometimes occurs when a non-catkin package is interpreted as a catkin package.
This can also occur when the cmake cache is stale, try --force-cmake.
Command failed, exiting.
I tried following http://answers.ros.org/question/231666/ , however I get an error.
==> Processing plain cmake package: 'test_tf2'
==> Building with env: '/home/mars-lab/catkin_ws/devel_isolated/tf2_kdl/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/home/mars-lab/catkin_ws/build_isolated/test_tf2/devel'
==> make -j8 -l8 in '/home/mars-lab/catkin_ws/build_isolated/test_tf2/devel'
==> make install in '/home/mars-lab/catkin_ws/build_isolated/test_tf2/devel'
make: *** No rule to make target 'install'. Stop.
<== Failed to process package 'test_tf2':
Command '['/home/mars-lab/catkin_ws/devel_isolated/tf2_kdl/env.sh', 'make', 'install']' returned non-zero exit status 2
Reproduce this error by running:
==> cd /home/mars-lab/catkin_ws/build_isolated/test_tf2 && /home/mars-lab/catkin_ws/devel_isolated/tf2_kdl/env.sh make install
I am not sure how to fix this issue, can anyone guide me on how to make it work?
Thanks
Have you seen #q231666?
Yea I did, but I am new at this. I tried implementing it in my package but it produces error. I am not sure why.
Can you please update your question with what you've attempted and the results including any errors using the preformatted text (
101010
) button?I have updated the question with the error I had received.
I don't know what solved it, but reinstalling the
geometry2
package seemed to have done the trick.