[ros-users] In dynamic_reconfigure: an error (OSX)

DRamachandran at hra.com DRamachandran at hra.com
Tue Nov 9 18:33:22 UTC 2010


   There was a fix to the hokuyo_node for OS X  discussed a couple of 
months ago on the mailing list. I'm not sure it was pushed into the trunk. 
It was related to setting file opening flags for the hokuyo serial device 
 I dont think it relates to your problem but you will be needing it anyway 
to get the hokuyo to work on OS X.


Nicholas Butko <nbutko at ucsd.edu> 
Sent by: ros-users-bounces at code.ros.org
11/09/2010 10:26 AM
Please respond to
User discussions <ros-users at code.ros.org>

User discussions <ros-users at code.ros.org>

[ros-users] In dynamic_reconfigure: an error (OSX)

Trying to build hokuyo_node on OSX, I get an error that I traced back to 

Somehow cmake is generating spurious python dependencies (see below). The 
problem is that a binary .egg file is identified as a dependency, but it 
is treaded like a folder. So the .egg file exists, but is not a folder, 
and when make tries to look into the folder that doesn't exist, it can't 
find the file. But the .egg file works just fine, as shown below (import 
works just fine in Python). 

I'm not sure how to debug this, and I'm not sure how it can be fixed. Does 
anyone with more experience with Python and CMake have any ideas? 


0-1e-c2-b9-c8-99:dynamic_reconfigure nick$ make
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find 
rosbuild`/rostoolchain.cmake  ..
[rosbuild] Building package dynamic_reconfigure
[rosbuild] Including /Users/nick/ros/ros/core/roscpp/cmake/roscpp.cmake
[rosbuild] Including /Users/nick/ros/ros/core/roslisp/cmake/roslisp.cmake
[rosbuild] Including /Users/nick/ros/ros/core/rospy/cmake/rospy.cmake
[rosbuild] Including 
-- Java version configured successfully!
[rosbuild] Including 
MSG: gencfg_cpp on:Test.cfg
-- Configuring done
-- Generating done
-- Build files have been written to: 
cd build && make 
make[3]: *** No rule to make target 
needed by `../cfg/cpp/dynamic_reconfigure/TestConfig.h'.  Stop.
make[2]: *** [CMakeFiles/ROSBUILD_gencfg_cpp.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

0-1e-c2-b9-c8-99:dynamic_reconfigure nick$ echo $PYTHONPATH
0-1e-c2-b9-c8-99:dynamic_reconfigure nick$ python
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from yaml import representer
>>> quit()

ros-users mailing list
ros-users at code.ros.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20101109/695a1a00/attachment-0003.html>

More information about the ros-users mailing list