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

Nicholas Butko nbutko at ucsd.edu
Tue Nov 9 18:40:09 UTC 2010


Thanks Deepak. 

You're right that it probably doesn't relate to this problem, but I will keep it in mind if/when this problem gets worked out. 

Thanks again,
Nick

On Nov 9, 2010, at 10:33 AM, DRamachandran at hra.com wrote:

> 
> Nicholas, 
> 
>    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. 
>  I dont think it relates to your problem but you will be needing it anyway to get the hokuyo to work on OS X. 
> 
> ~deepak 
> 
> 
> 
> 
> 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>
> 
> To
> User discussions <ros-users at code.ros.org>
> cc
> Subject
> [ros-users] In dynamic_reconfigure: an error (OSX)
> 
> 
> 
> 
> 
> Trying to build hokuyo_node on OSX, I get an error that I traced back to dynamic_reconfigure. 
> 
> 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? 
> 
> --Nick 
> 
> 
> 
> 
> 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 /Users/nick/ros/other/ros_experimental/rosjava/cmake/rosjava.cmake
> -- Java version 1.6.0.22 configured successfully!
> [rosbuild] Including /Users/nick/ros/other/ros_experimental/rosoct/cmake/rosoct.cmake
> MSG: gencfg_cpp on:Test.cfg
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /Users/nick/ros/stacks/driver_common/dynamic_reconfigure/build
> cd build && make 
> 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.
> 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
> /Users/nick/ros/ros/core/roslib/src::/usr/local/lib/python2.6/site-packages
> 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
> https://code.ros.org/mailman/listinfo/ros-users
> 
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users

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


More information about the ros-users mailing list