-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
catkin_make error #27
Comments
Same error here - @salahkhan94 did you manage to fix this? |
me too, anyone knows how to fix the problem?@salahkhan94 |
I reset to the earlier commit: eb23bbb, it can compile well. |
@cbyzju You, Sir, are genius! |
The first problem is that in line 15 The second problem is that your system lack |
Thanks @RiverIntheSky , your second method fixed my issue completely! 👍 |
I was trying to compile glog for 16.04 Ubuntu following is the error I received :
/bin/sh: 1: cannot open /home/sal/catkin_ws/src/fix-unused-typedef-warning.patch: No such file glog_catkin/CMakeFiles/glog_src.dir/build.make:101: recipe for target 'glog_catkin/glog_src-prefix/src/glog_src-stamp/glog_src-patch' failed make[2]: *** [glog_catkin/glog_src-prefix/src/glog_src-stamp/glog_src-patch] Error 2 CMakeFiles/Makefile2:793: recipe for target 'glog_catkin/CMakeFiles/glog_src.dir/all' failed make[1]: *** [glog_catkin/CMakeFiles/glog_src.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 8%] Built target std_msgs_generate_messages_nodejs [ 8%] Built target geometry_msgs_generate_messages_nodejs [ 8%] Built target geometry_msgs_generate_messages_eus Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed
I copied and pasted the fix-unused-typedef-warning.patch into the src folder of the catkin_ws and I got this error:
/bin/sh: 1: autoreconf: not found glog_catkin/CMakeFiles/glog_src.dir/build.make:108: recipe for target 'glog_catkin/glog_src-prefix/src/glog_src-stamp/glog_src-configure' failed make[2]: *** [glog_catkin/glog_src-prefix/src/glog_src-stamp/glog_src-configure] Error 127 CMakeFiles/Makefile2:793: recipe for target 'glog_catkin/CMakeFiles/glog_src.dir/all' failed make[1]: *** [glog_catkin/CMakeFiles/glog_src.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 3%] Built target viso2 [ 7%] Built target gflags_src [ 7%] Built target eigen_catkin Makefile:138: recipe for target 'all' failed make: *** [all] Error 2
Gratitude for helping out!
The text was updated successfully, but these errors were encountered: