[ros-users] icra_navigation_gazebo compile error

eunchul Jeon jsharp83 at gmail.com
Mon Oct 25 05:52:37 UTC 2010


I solved this problem just copy the boost library to /usr/local/lib

and now I see another compile error


[ 81%] Building CXX object
CMakeFiles/gazebo_ros_camera.dir/src/gazebo_ros_camera.o
In file included from
/home/jsharp/icra10_navigation_ros/stacks/simulator_gazebo/gazebo_plugins/src/vision_reconfigure.cpp:35:
/home/jsharp/icra10_navigation_ros/stacks/simulator_gazebo/gazebo_plugins/include/gazebo_plugins/vision_reconfigure.h:65:
error: field ‘callback_queue_thread_’ has incomplete type
/home/jsharp/icra10_navigation_ros/stacks/simulator_gazebo/gazebo_plugins/src/vision_reconfigure.cpp:
In constructor ‘VisionReconfigure::VisionReconfigure()’:
/home/jsharp/icra10_navigation_ros/stacks/simulator_gazebo/gazebo_plugins/src/vision_reconfigure.cpp:42:
error: ‘class VisionReconfigure’ has no member named
‘callback_queue_thread_’
/home/jsharp/icra10_navigation_ros/stacks/simulator_gazebo/gazebo_plugins/src/vision_reconfigure.cpp:42:
error: invalid use of incomplete type ‘struct boost::thread’
/usr/local/include/boost/thread/pthread/thread_data.hpp:22: error: forward
declaration of ‘struct boost::thread’
/home/jsharp/icra10_navigation_ros/stacks/simulator_gazebo/gazebo_plugins/src/vision_reconfigure.cpp:
In destructor ‘VisionReconfigure::~VisionReconfigure()’:
/home/jsharp/icra10_navigation_ros/stacks/simulator_gazebo/gazebo_plugins/src/vision_reconfigure.cpp:67:
error: ‘class VisionReconfigure’ has no member named
‘callback_queue_thread_’
make[3]: *** [CMakeFiles/vision_reconfigure.dir/src/vision_reconfigure.o] 오류
1
make[3]: Leaving directory
`/home/jsharp/icra10_navigation_ros/stacks/simulator_gazebo/gazebo_plugins/build'
make[2]: *** [CMakeFiles/vision_reconfigure.dir/all] 오류 2


How can I solve this?
I appreciate your help in advance.




2010년 10월 22일 오전 11:32, eunchul Jeon <jsharp83 at gmail.com>님의 말:

> I didn't catch the error in rosmake step.
> Maybe It is concerning the boost library, but I can't fix it.
> Following error is it, and My command is "rosmake icra_navigation_gazebo
> --rosdep-install"
>
>
> I appreciate your help in advance.
>
>
> CMake Error at
> /home/jsharp/icra10_navigation_ros/ros/core/rosbuild/public.cmake:848
> (message):
>     [rosboost-cfg --libs iostreams,system] failed with error: Traceback
> (most
>     recent call last):
>
>       File "/home/jsharp/icra10_navigation_ros/ros/bin/rosboost-cfg", line
> 35, in <module>
>         rosboost_cfg.main()
>       File
> "/home/jsharp/icra10_navigation_ros/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py",
> line 347, in main
>         output = libs(ver, options.libs.split(','))
>       File
> "/home/jsharp/icra10_navigation_ros/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py",
> line 283, in libs
>         print >> s, find_lib(ver, lib, True),
>       File
> "/home/jsharp/icra10_navigation_ros/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py",
> line 246, in find_lib
>         raise BoostError('Could not locate library [%s] in lib directory
> [%s]'%(name, dir))
>
>     rosboost_cfg.rosboost_cfg.BoostError: 'Could not locate library
> [iostreams]
>     in lib directory [/usr/local/lib]'
>
>   Call Stack (most recent call first):
>     CMakeLists.txt:15 (rosbuild_link_boost)
>
>
>   -- Configuring incomplete, errors occurred!
>
> -------------------------------------------------------------------------------}
>
>
>
>
> 2010/10/22 Tully Foote <tfoote at willowgarage.com>
>
> Eunchul,
>> Can you confirm that you have successfully ran a rosmake of the package?
>> `rosmake icra_navigation_gazebo` It sounds like the other nodes are not
>> all built.
>>
>> Tully
>>
>> 2010/10/21 eunchul Jeon <jsharp83 at gmail.com>
>>
>>>  When I follow instruction for ICRA2010_Marder-Eppstein<http://www.ros.org/wiki/Papers/ICRA2010_Marder-Eppstein?action=fullsearch&context=180&value=linkto%3A%22Papers/ICRA2010_Marder-Eppstein%22>,
>>> I can't finish the compile.
>>> In the step of "make test", I see the following error.
>>> I appreciate your help in advance.
>>>
>>> FAILURE: Test Fixture Nodes ['gazebo', 'pr2_gazebo_model',
>>> 'robot_state_publisher', 'pr2_mechanism_diagnostics', 'wide_stereo_proc',
>>> 'narrow_stereo_proc', 'narrow_stereo_textured_proc', 'diag_agg',
>>> 'robot_pose_ekf', 'gripper_action_node', 'gripper_action_node',
>>> 'point_head_action', 'position_joint_action_node', 'teleop_pr2',
>>> 'tilt_shadow_filter', 'tilt_laser_self_filter', 'base_shadow_filter',
>>> 'base_laser_self_filter', 'sac_ground_removal', 'move_base_local_node']
>>> failed to launch
>>>   File "/usr/lib/python2.6/unittest.py", line 279, in run
>>>     testMethod()
>>>   File
>>> "/home/jsharp/icra10_navigation_ros/ros/test/rostest/src/rostest/runner.py",
>>> line 88, in fn
>>>     self.assert_(not failed, "Test Fixture Nodes %s failed to
>>> launch"%failed)
>>>   File "/usr/lib/python2.6/unittest.py", line 325, in failUnless
>>>     if not expr: raise self.failureException, msg
>>>
>>> --------------------------------------------------------------------------------
>>>
>>>
>>> [ROSTEST]-----------------------------------------------------------------------
>>>
>>> [testdoor_and_table_test][failed]
>>>
>>> SUMMARY
>>>  * RESULT: FAIL
>>>  * TESTS: 0
>>>  * ERRORS: 0
>>>  * FAILURES: 1
>>>
>>> ERROR: The following tests failed to run:
>>>  * testdoor_and_table_test
>>>
>>> rostest log file is in
>>> /home/jsharp/.ros/log/rostest-jsharp-desktop-3573.log
>>> make[4]: ***
>>> [CMakeFiles/rostest__home_jsharp_icra10_navigation_ros_stacks_wg-ros-pkg-trunk_stacks_wg_robots_gazebo_icra_navigation_gazebo_worlds_door_and_table_door_and_table.launch]
>>>
>>> --
>>>
>>>
>>> ================================================
>>> Eunchul Jeon
>>>
>>> M.S. Student, Intelligent Systems and Neurobotics lab,
>>> Dept. Computer Science, KAIST
>>> Science town, Daejeon, 305-701, South Korea
>>> TEL: 82 42 350 3580
>>> E-mail: jsharp at kaist.ac.kr, jsharp83 at gmail.com
>>> Homepage: http://isnl.kaist.ac.kr
>>> ================================================
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Nokia and AT&T present the 2010 Calling All Innovators-North America
>>> contest
>>> Create new apps & games for the Nokia N8 for consumers in  U.S. and
>>> Canada
>>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
>>> marketing
>>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>>> http://p.sf.net/sfu/nokia-dev2dev
>>> _______________________________________________
>>> ros-users mailing list
>>> ros-users at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/ros-users
>>>
>>> _______________________________________________
>>> ros-users mailing list
>>> ros-users at code.ros.org
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>>
>>
>>
>> --
>> Tully Foote
>> Systems Engineer
>> Willow Garage, Inc.
>> tfoote at willowgarage.com
>> (650) 475-2827
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>


-- 
================================================
Eunchul Jeon

M.S. Student, Intelligent Systems and Neurobotics lab,
Dept. Computer Science, KAIST
Science town, Daejeon, 305-701, South Korea
TEL: 82 42 350 3580
E-mail: jsharp at kaist.ac.kr, jsharp83 at gmail.com
Homepage: http://isnl.kaist.ac.kr
================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20101025/e163e480/attachment-0003.html>


More information about the ros-users mailing list