Open kochigami opened 9 years ago
[pepper_diary_demo] ==> '/home/kochigami/ros/hydro/build/pepper_diary_demo/build_env.sh /usr/bin/make -j8 -l8' in '/home/kochigami/ros/hydro/build/pepper_diary_demo'
Scanning dependencies of target karuta_recognition
Scanning dependencies of target pepper_diary_write
[ 54%] Built target trajectory_msgs_generate_messages_eus
[ 94%] Built target nav_msgs_generate_messages_eus
[ 97%] Building CXX object CMakeFiles/pepper_diary_write.dir/src/pepper_diary_write.cpp.o
[100%] Building CXX object CMakeFiles/karuta_recognition.dir/src/karuta_recognition.cpp.o
/home/kochigami/ros/hydro/src/pepper_diary_demo/src/karuta_recognition.cpp:16:41: : pepper_diary_demo/RectArray.h:
/home/kochigami/ros/hydro/src/pepper_diary_demo/src/pepper_diary_write.cpp:80:21: : pepper_diary_demo does not name a type
/home/kochigami/ros/hydro/src/pepper_diary_demo/src/pepper_diary_write.cpp:80:49: : expected unqualified-id before :: token
/home/kochigami/ros/hydro/src/pepper_diary_demo/src/pepper_diary_write.cpp:80:49: : expected ) before :: token
/home/kochigami/ros/hydro/src/pepper_diary_demo/src/pepper_diary_write.cpp:80:49: : expected initializer before :: token
make[2]: *** [CMakeFiles/pepper_diary_write.dir/src/pepper_diary_write.cpp.o] 1
make[1]: *** [CMakeFiles/pepper_diary_write.dir/all] 2
make[1]: *** ....
make[2]: *** [CMakeFiles/karuta_recognition.dir/src/karuta_recognition.cpp.o] 1
make[1]: *** [CMakeFiles/karuta_recognition.dir/all] 2
make: *** [all] 2
[pepper_diary_demo] <== '/home/kochigami/ros/hydro/build/pepper_diary_demo/build_env.sh /usr/bin/make -j8 -l8' failed with return code '2'
Failed <== pepper_diary_demo [ 2.8 seconds ]
[build] There were '1' errors:
Failed to build package 'pepper_diary_demo' because the following command:
# Command to reproduce:
cd /home/kochigami/ros/hydro/build/pepper_diary_demo && /home/kochigami/ros/hydro/build/pepper_diary_demo/build_env.sh /usr/bin/make -j8 -l8; cd -
# Path to log:
cat /home/kochigami/ros/hydro/build/build_logs/pepper_diary_demo.log
Exited with return code: 2
can't create ~/ros/hydro/devel/pepper_diary_demo(/include...)
When I tried executing "catkin_make", msgs also couldn't be created.
I forgot to comment out #include<pepper_diary_demo/interview.h> and so on, but I think .h files are not generated.
In http://wiki.ros.org/ROS/Tutorials/CreatingMsgAndSrv, hydro or later user should comment out generate_messages() in CMakeLists.txt!!
If errors like no reference to ros::*\ occurred after building, make sure to comment out "target_link()" in CMakeLists.txt.
Somehow in today's my environment turtlebot_actions in turtlebot_apps imagesift in jsk_recognition should be deleted to compile succeed
generate msg
I had trouble in generationg original messages when executing catkin build. I forgot to add "messgae_runtime" and "message_generation" in the package.xml and "messgae_generation" i nthe CMakeLists.txt.