Skip to content
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

fix include directory of iob.h #220

Merged
merged 1 commit into from
Oct 5, 2015

Conversation

YoheiKakiuchi
Copy link
Member

#219
これの解決策です。

@k-okada
Copy link
Member

k-okada commented Oct 1, 2015

うーん.このレベルでコンパイル失敗しているならtravis引っかかってもいいと思うけど.

@k-okada
Copy link
Member

k-okada commented Oct 1, 2015

@robograffitti
Copy link
Member

自分も垣内さんと同じ変更をすればよいと思って変えたのですが、
該当箇所を修正した状態でコンパイルすると、今度は他のところで同じようなインクルードのエラーが出ます。

leus@fc3:~/ros/indigo$ catkin b hrpsys_gazebo_general --force-cmake
==> Expanding alias 'b' from 'catkin b hrpsys_gazebo_general --force-cmake' to 'catkin build hrpsys_gazebo_general --force-cmake'
-------------------------------------------------------------------------------
Profile:                     default
Extending:          [cached] /home/leus/ros/indigo_parent/devel:/opt/ros/indigo
Workspace:                   /home/leus/ros/indigo
Source Space:       [exists] /home/leus/ros/indigo/src
Build Space:        [exists] /home/leus/ros/indigo/build
Devel Space:        [exists] /home/leus/ros/indigo/devel
Install Space:     [missing] /home/leus/ros/indigo/install
DESTDIR:                     None
-------------------------------------------------------------------------------
Isolate Develspaces:         False
Install Packages:            False
Isolate Installs:            False
-------------------------------------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
-------------------------------------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None
-------------------------------------------------------------------------------
Workspace configuration appears valid.

NOTE: Forcing CMake to run for each package.
------------------------------------------------------------------------------- 
Found '342' packages in 1.0 seconds. 
Starting ==> assimp_devel                                                       
Starting ==> hrpsys_gazebo_msgs                                                 
Starting ==> hrpsys_tools                                                       
Starting ==> openrtm_tools                                                      
Starting ==> rtmbuild                                                           
Finished <== assimp_devel           [ 0.7 seconds ]                             
Starting ==> collada_urdf_jsk_patch                                             
Finished <== rtmbuild               [ 0.7 seconds ]                             
Finished <== hrpsys_tools           [ 0.7 seconds ]                             
Finished <== openrtm_tools          [ 0.9 seconds ]                             
Starting ==> hrpsys_ros_bridge                                                  
Finished <== hrpsys_gazebo_msgs     [ 1.5 seconds ]                             
Finished <== collada_urdf_jsk_patch [ 0.9 seconds ]                             
Finished <== hrpsys_ros_bridge      [ 10.4 seconds ]                            
Starting ==> hrpsys_gazebo_general                                              

[hrpsys_gazebo_general] ==> '/home/leus/ros/indigo/build/hrpsys_gazebo_general/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j' in '/home/leus/ros/indigo/build/hrpsys_gazebo_general'
[ 15%] Built target SampleRobot_hrpsys_gazebo_general_compile
[ 21%] [ 31%] [ 31%] [ 36%] Built target hrpIo_gazebo
[ 42%] Built target GetVelPlugin
Built target SetVelPlugin
Built target AddForcePlugin
Built target IOBPlugin
[ 42%] Built target all_robots_compile
[ 47%] [ 52%] Built target PubTfPlugin
Built target ThermoPlugin
[ 63%] [ 63%] Building CXX object iob/CMakeFiles/hrpEC_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/ec/hrpEC/hrpEC.cpp.o
Building CXX object iob/CMakeFiles/hrpEC_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/ec/hrpEC/hrpEC-common.cpp.o
[ 68%] [ 73%] [ 78%] [ 84%] [ 89%] Building CXX object iob/CMakeFiles/RobotHardware_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/robot.cpp.o
Building CXX object iob/CMakeFiles/RobotHardware_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardwareService_impl.cpp.o
[ 94%] Building CXX object iob/CMakeFiles/RobotHardware_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardware.cpp.o
Building CXX object iob/CMakeFiles/RobotHardwareComp_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardwareComp.cpp.o
Building CXX object iob/CMakeFiles/RobotHardwareComp_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/robot.cpp.o
Building CXX object iob/CMakeFiles/RobotHardwareComp_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardware.cpp.o
In file included from /home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardwareService_impl.cpp:1:0:
/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardwareService_impl.h:7:35: fatal error: RobotHardwareService.hh: 
 #include "RobotHardwareService.hh"
                                   ^
compilation terminated.
In file included from /home/leus/ros/indigo_parent/devel/share/hrpsys/src/ec/hrpEC/hrpEC.cpp:3:0:
/home/leus/ros/indigo_parent/devel/share/hrpsys/src/ec/hrpEC/hrpEC.h:14:38: fatal error: ExecutionProfileService.hh: 
 #include "ExecutionProfileService.hh"
                                      ^
compilation terminated.
make[2]: *** [iob/CMakeFiles/RobotHardware_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardwareService_impl.cpp.o]  1
make[2]: *** ....
[100%] In file included from /home/leus/ros/indigo_parent/devel/share/hrpsys/src/ec/hrpEC/hrpEC-common.cpp:1:0:
/home/leus/ros/indigo_parent/devel/share/hrpsys/src/ec/hrpEC/hrpEC.h:14:38: fatal error: ExecutionProfileService.hh: 
 #include "ExecutionProfileService.hh"
                                      ^
compilation terminated.
Building CXX object iob/CMakeFiles/RobotHardwareComp_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardwareService_impl.cpp.o
In file included from /home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardware.cpp:11:0:
/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardware.h:20:27: fatal error: HRPDataTypes.hh: 
 #include "HRPDataTypes.hh"
                           ^
In file included from /home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardware.cpp:11:0:
/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardware.h:20:27: fatal error: HRPDataTypes.hh: 
 #include "HRPDataTypes.hh"
                           ^
compilation terminated.
In file included from /home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardwareComp.cpp:14:0:
/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardware.h:20:27: fatal error: HRPDataTypes.hh: 
 #include "HRPDataTypes.hh"
                           ^
compilation terminated.
compilation terminated.
In file included from /home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardwareService_impl.cpp:1:0:
/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardwareService_impl.h:7:35: fatal error: RobotHardwareService.hh: 
 #include "RobotHardwareService.hh"
                                   ^
compilation terminated.
/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/robot.cpp:9:20: fatal error: io/iob.h: 
 #include "io/iob.h"
                    ^
compilation terminated.
/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/robot.cpp:9:20: fatal error: io/iob.h: 
 #include "io/iob.h"
                    ^
compilation terminated.
make[2]: *** [iob/CMakeFiles/RobotHardwareComp_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardwareService_impl.cpp.o]  1
make[2]: *** ....
make[2]: *** [iob/CMakeFiles/hrpEC_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/ec/hrpEC/hrpEC.cpp.o]  1
make[2]: *** ....
make[2]: *** [iob/CMakeFiles/hrpEC_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/ec/hrpEC/hrpEC-common.cpp.o]  1
make[1]: *** [iob/CMakeFiles/hrpEC_gazebo.dir/all]  2
make[1]: *** ....
make[2]: *** [iob/CMakeFiles/RobotHardwareComp_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardware.cpp.o]  1
make[2]: *** [iob/CMakeFiles/RobotHardware_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardware.cpp.o]  1
make[2]: *** [iob/CMakeFiles/RobotHardwareComp_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/RobotHardwareComp.cpp.o]  1
make[2]: *** [iob/CMakeFiles/RobotHardware_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/robot.cpp.o]  1
make[1]: *** [iob/CMakeFiles/RobotHardware_gazebo.dir/all]  2
make[2]: *** [iob/CMakeFiles/RobotHardwareComp_gazebo.dir/home/leus/ros/indigo_parent/devel/share/hrpsys/src/rtc/RobotHardware/robot.cpp.o]  1
make[1]: *** [iob/CMakeFiles/RobotHardwareComp_gazebo.dir/all]  2
make: *** [all]  2
[hrpsys_gazebo_general] <== '/home/leus/ros/indigo/build/hrpsys_gazebo_general/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j' failed with return code '2'

Failed   <== hrpsys_gazebo_general  [ 1.6 seconds ]                             
[build] There were '1' errors:                                                  

Failed to build package 'hrpsys_gazebo_general' because the following command:

# Command to reproduce:
cd /home/leus/ros/indigo/build/hrpsys_gazebo_general && /home/leus/ros/indigo/build/hrpsys_gazebo_general/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j; cd -

# Path to log:
cat /home/leus/ros/indigo/build/build_logs/hrpsys_gazebo_general.log

Exited with return code: 2 

[build] Runtime: 14.5 seconds 

YoheiKakiuchi added a commit that referenced this pull request Oct 5, 2015
@YoheiKakiuchi YoheiKakiuchi merged commit 68e3e2f into start-jsk:master Oct 5, 2015
@YoheiKakiuchi YoheiKakiuchi deleted the fix_hrpsys branch October 5, 2015 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants