<br><font size=2 face="sans-serif">Nicholas,</font>
<br>
<br><font size=2 face="sans-serif">   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 correctly. </font>
<br><font size=2 face="sans-serif"> I dont think it relates to your
problem but you will be needing it anyway to get the hokuyo to work on
OS X.</font>
<br>
<br><font size=2 face="sans-serif">~deepak</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Nicholas Butko <nbutko@ucsd.edu></b>
</font>
<br><font size=1 face="sans-serif">Sent by: ros-users-bounces@code.ros.org</font>
<p><font size=1 face="sans-serif">11/09/2010 10:26 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
User discussions <ros-users@code.ros.org></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">User discussions <ros-users@code.ros.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[ros-users] In dynamic_reconfigure:
an error (OSX)</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Trying to build hokuyo_node on OSX, I get an error
that I traced back to dynamic_reconfigure. <br>
<br>
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). <br>
<br>
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? <br>
<br>
--Nick <br>
<br>
<br>
<br>
<br>
0-1e-c2-b9-c8-99:dynamic_reconfigure nick$ make<br>
mkdir -p bin<br>
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake
 ..<br>
[rosbuild] Building package dynamic_reconfigure<br>
[rosbuild] Including /Users/nick/ros/ros/core/roscpp/cmake/roscpp.cmake<br>
[rosbuild] Including /Users/nick/ros/ros/core/roslisp/cmake/roslisp.cmake<br>
[rosbuild] Including /Users/nick/ros/ros/core/rospy/cmake/rospy.cmake<br>
[rosbuild] Including /Users/nick/ros/other/ros_experimental/rosjava/cmake/rosjava.cmake<br>
-- Java version 1.6.0.22 configured successfully!<br>
[rosbuild] Including /Users/nick/ros/other/ros_experimental/rosoct/cmake/rosoct.cmake<br>
MSG: gencfg_cpp on:Test.cfg<br>
-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to: /Users/nick/ros/stacks/driver_common/dynamic_reconfigure/build<br>
cd build && make <br>
make[3]: *** No rule to make target `/Library/Python/2.6/site-packages/PyYAML-3.09-py2.6-macosx-10.6-universal.egg/yaml/representer.py',
needed by `../cfg/cpp/dynamic_reconfigure/TestConfig.h'.  Stop.<br>
make[2]: *** [CMakeFiles/ROSBUILD_gencfg_cpp.dir/all] Error 2<br>
make[1]: *** [all] Error 2<br>
make: *** [all] Error 2<br>
<br>
0-1e-c2-b9-c8-99:dynamic_reconfigure nick$ echo $PYTHONPATH<br>
/Users/nick/ros/ros/core/roslib/src::/usr/local/lib/python2.6/site-packages<br>
0-1e-c2-b9-c8-99:dynamic_reconfigure nick$ python<br>
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) <br>
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin<br>
Type "help", "copyright", "credits" or "license"
for more information.<br>
>>> from yaml import representer<br>
>>> quit()<br>
<br>
_______________________________________________<br>
ros-users mailing list<br>
ros-users@code.ros.org<br>
</font></tt><a href="https://code.ros.org/mailman/listinfo/ros-users"><tt><font size=2>https://code.ros.org/mailman/listinfo/ros-users<br>
</font></tt></a>
<br>