oh you gotta love it when this happens <\sarcasm> I already made that change and it didn't work before. But now with a new terminal window and repeating the compile … it works. I also just built all of image_pipeline and image_transport_plugins too. Thanks. On Sep 4, 2011, at 2:41 PM, William Woodall wrote: > actually, this is a ticket already, but I kindof forgot to put this error up. What is happening is that in the opencv2 pkg's manifest.xml file it is calling pkg-config for opencv. This doesn't work correctly with homebrew's installation and throws an error. So you end up with a multiline warning in the middle of your xml statement. Which is where you get the Invalid manifest file exception. The pkg-config that is in there now uses opencv-2.3.1, but for what ever reason, on OS X with homebrew you need to do just opencv with no version. See patch: > > https://code.ros.org/trac/ros-pkg/ticket/5141 > > And I just noticed that the patch comment is wrong =D. > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > William Woodall > Graduate Software Engineering > Auburn University > w@auburn.edu > wjwwood@gmail.com > williamjwoodall.com > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > On Sun, Sep 4, 2011 at 8:29 AM, Kevin Walchko wrote: > > Okay, I don't see any tickets for this and it seems to be related to dynamics_reconfigure. Unfortunately it seems to referencing a lot of python code and I don't know python :) > > Has anyone fixed this yet? I didn't see anything in William's patches that would help either. I did apply his reconfigure_gui patch. > > [kevin@tardis image_pipeline]$ rosmake image_proc > [ rosmake ] Packages requested are: ['image_proc'] > [ rosmake ] Logging to directory/Users/kevin/.ros/rosmake/rosmake_output-20110904-085712 > [ rosmake ] Expanded args ['image_proc'] to: > ['image_proc'] > [ rosmake ] Checking rosdeps compliance for packages image_proc. This may take a few seconds. > Failed to find rosdep opencv2.3 for package image_proc on OS:osx version:lion > WARNING: Rosdeps [u'opencv2.3'] could not be resolved > Failed to find rosdep opencv2.3 for package image_proc on OS:osx version:lion > [ rosmake ] rosdep check failed to find system dependencies: wxpython, opencv2.3 > [ rosmake ] Starting >>> tools/rospack > [ rosmake ] Finished <<< tools/rospack > [rosmake-0] Starting >>> rosbuild [ make ] > [rosmake-0] Finished <<< rosbuild No Makefile in package rosbuild > [rosmake-1] Starting >>> cpp_common [ make ] > [rosmake-0] Starting >>> roslang [ make ] > [rosmake-0] Finished <<< roslang No Makefile in package roslang > [rosmake-1] Finished <<< cpp_common [PASS] [ 1.39 seconds ] > [rosmake-0] Starting >>> roslib [ make ] > [rosmake-1] Starting >>> roscpp_traits [ make ] > [rosmake-1] Finished <<< roscpp_traits [PASS] [ 0.90 seconds ] > [rosmake-1] Starting >>> rostime [ make ] > [rosmake-0] Finished <<< roslib [PASS] [ 1.68 seconds ] > [rosmake-0] Starting >>> xmlrpcpp [ make ] > [rosmake-1] Finished <<< rostime [PASS] [ 1.65 seconds ] > [rosmake-1] Starting >>> roscpp_serialization [ make ] > [rosmake-0] Finished <<< xmlrpcpp [PASS] [ 2.02 seconds ] > [rosmake-0] Starting >>> rosconsole [ make ] > [rosmake-1] Finished <<< roscpp_serialization [PASS] [ 1.23 seconds ] > [rosmake-1] Starting >>> std_msgs [ make ] > [rosmake-0] Finished <<< rosconsole [PASS] [ 1.89 seconds ] > [rosmake-0] Starting >>> rosclean [ make ] > [rosmake-0] Finished <<< rosclean [PASS] [ 0.88 seconds ] > [rosmake-0] Starting >>> rosgraph [ make ] > [rosmake-0] Finished <<< rosgraph [PASS] [ 0.85 seconds ] > [rosmake-0] Starting >>> rosparam [ make ] > [rosmake-0] Finished <<< rosparam [PASS] [ 1.05 seconds ] > [rosmake-0] Starting >>> rosmaster [ make ] > [rosmake-0] Finished <<< rosmaster [PASS] [ 0.89 seconds ] > [rosmake-0] Starting >>> rosunit [ make ] > [rosmake-0] Finished <<< rosunit [PASS] [ 1.19 seconds ] > [rosmake-0] Starting >>> common_rosdeps [ make ] > [rosmake-0] Finished <<< common_rosdeps [PASS] [ 0.23 seconds ] > [rosmake-1] Finished <<< std_msgs [PASS] [ 7.15 seconds ] > [rosmake-1] Starting >>> rosgraph_msgs [ make ] > [rosmake-0] Starting >>> opencv2 [ make ] > [rosmake-0] Finished <<< opencv2 [PASS] [ 0.03 seconds ] > [rosmake-0] Starting >>> pluginlib [ make ] > [rosmake-1] Finished <<< rosgraph_msgs [PASS] [ 2.44 seconds ] > [rosmake-1] Starting >>> roscpp [ make ] > [rosmake-0] Finished <<< pluginlib [PASS] [ 3.50 seconds ] > [rosmake-0] Starting >>> rospy [ make ] > [rosmake-0] Finished <<< rospy [PASS] [ 0.87 seconds ] > [rosmake-0] Starting >>> bond [ make ] > [rosmake-0] Finished <<< bond [PASS] [ 1.62 seconds ] > [rosmake-0] Starting >>> smclib [ make ] > [rosmake-0] Finished <<< smclib [PASS] [ 0.06 seconds ] > [rosmake-1] Finished <<< roscpp [PASS] [ 6.85 seconds ] > [rosmake-1] Starting >>> rosout [ make ] > [rosmake-0] Starting >>> bondcpp [ make ] > [rosmake-1] Finished <<< rosout [PASS] [ 1.11 seconds ] > [rosmake-1] Starting >>> roslaunch [ make ] > [rosmake-1] Finished <<< roslaunch No Makefile in package roslaunch > [rosmake-1] Starting >>> rostest [ make ] > [rosmake-0] Finished <<< bondcpp [PASS] [ 1.48 seconds ] > [rosmake-0] Starting >>> nodelet [ make ] > [rosmake-1] Finished <<< rostest [PASS] [ 0.99 seconds ] > [rosmake-1] Starting >>> topic_tools [ make ] > [rosmake-0] Finished <<< nodelet [PASS] [ 3.86 seconds ] > [rosmake-0] Starting >>> message_filters [ make ] > [rosmake-1] Finished <<< topic_tools [PASS] [ 3.26 seconds ] > [rosmake-1] Starting >>> rosbag [ make ] > [rosmake-1] Finished <<< rosbag [PASS] [ 3.40 seconds ] > [rosmake-1] Starting >>> rosbagmigration [ make ] > [rosmake-1] Finished <<< rosbagmigration No Makefile in package rosbagmigration > [rosmake-1] Starting >>> geometry_msgs [ make ] > [rosmake-0] Finished <<< message_filters [PASS] [ 3.40 seconds ] > [rosmake-0] Starting >>> rosmsg [ make ] > [rosmake-0] Finished <<< rosmsg No Makefile in package rosmsg > [rosmake-0] Starting >>> rostopic [ make ] > [rosmake-0] Finished <<< rostopic [PASS] [ 1.20 seconds ] > [rosmake-0] Starting >>> rosservice [ make ] > [rosmake-0] Finished <<< rosservice [PASS] [ 1.10 seconds ] > [rosmake-0] Starting >>> dynamic_reconfigure [ make ] > [rosmake-1] Finished <<< geometry_msgs [PASS] [ 5.80 seconds ] > [rosmake-1] Starting >>> sensor_msgs [ make ] > [rosmake-0] Finished <<< dynamic_reconfigure [PASS] [ 5.53 seconds ] > [rosmake-1] Finished <<< sensor_msgs [PASS] [ 4.97 seconds ] > [rosmake-1] Starting >>> camera_calibration_parsers [ make ] > [rosmake-0] Starting >>> cv_bridge [ make ] > [rosmake-0] Finished <<< cv_bridge [PASS] [ 1.44 seconds ] > [rosmake-0] Starting >>> image_geometry [ make ] > [rosmake-1] Finished <<< camera_calibration_parsers [PASS] [ 2.40 seconds ] > [rosmake-1] Starting >>> image_transport [ make ] > [rosmake-0] Finished <<< image_geometry [PASS] [ 2.62 seconds ] > [rosmake-1] Finished <<< image_transport [PASS] [ 2.67 seconds ] > [rosmake-1] Starting >>> image_proc [ make ] > [ rosmake ] Last 40 linesage_proc: 2.5 sec ] [ 1 Active 43/44 Complete ] > {------------------------------------------------------------------------------- > Call Stack (most recent call first): > /usr/local/electric/driver_common/dynamic_reconfigure/cmake/cfgbuild.cmake:83 (gencfg_cpp) > CMakeLists.txt:13 (include) > > > MSG: gencfg_cpp on:Rectify.cfg > Finding dependencies for /usr/local/electric/image_pipeline/image_proc/cfg/Rectify.cfg > *********************************************************************************** > load_module did not return. Unable to determine dependencies for file listed above. > *********************************************************************************** > Traceback (most recent call last): > File "/usr/local/electric/driver_common/dynamic_reconfigure/cmake/gendeps", line 64, in > imp.load_module("__main__", f, srcfile, ('.cfg', 'U', 1)) > File "/usr/local/electric/image_pipeline/image_proc/cfg/Rectify.cfg", line 4, in > import roslib; roslib.load_manifest(PACKAGE) > File "/usr/local/electric/ros/core/roslib/src/roslib/launcher.py", line 75, in load_manifest > sys.path = prefix + _generate_python_path(package_name, [], os.environ) + sys.path > File "/usr/local/electric/ros/core/roslib/src/roslib/launcher.py", line 131, in _generate_python_path > raise roslib.packages.InvalidROSPkgException("While loading package '%s': %s"%(d.package, str(e))) > roslib.packages.InvalidROSPkgException: While loading package 'cv_bridge': While loading package 'cv_bridge': cannot load dependency 'opencv2' > Lower level error was Traceback (most recent call last): > File "/usr/local/electric/ros/core/roslib/src/roslib/launcher.py", line 128, in _generate_python_path > paths.extend(_generate_python_path(d.package, depends, env)) > File "/usr/local/electric/ros/core/roslib/src/roslib/launcher.py", line 118, in _generate_python_path > m = roslib.manifest.parse_file(manifest_file) > File "/usr/local/electric/ros/core/roslib/src/roslib/manifest.py", line 139, in parse_file > return roslib.manifestlib.parse_file(Manifest(), file) > File "/usr/local/electric/ros/core/roslib/src/roslib/manifestlib.py", line 488, in parse_file > raise ManifestException("Invalid manifest file [%s]: %s"%(os.path.abspath(file), e)) > ManifestException: Invalid manifest file [/usr/local/electric/vision_opencv/opencv2/manifest.xml]: invalid XML: not well-formed (invalid token): line 23, column 42 > > CMake Error at /usr/local/electric/driver_common/dynamic_reconfigure/cmake/cfgbuild.cmake:65 (string): > string sub-command REPLACE requires at least four arguments. > Call Stack (most recent call first): > /usr/local/electric/driver_common/dynamic_reconfigure/cmake/cfgbuild.cmake:83 (gencfg_cpp) > CMakeLists.txt:13 (include) > > > -- Configuring incomplete, errors occurred! > -------------------------------------------------------------------------------} > [ rosmake ] Output from build of package image_proc written to: > [ rosmake ] /Users/kevin/.ros/rosmake/rosmake_output-20110904-085712/image_proc/build_output.log > [rosmake-1] Finished <<< image_proc [FAIL] [ 2.53 seconds ] > [ rosmake ] Halting due to failure in package image_proc. > [ rosmake ] Waiting for other threads to complete. > [ rosmake ] Results: > [ rosmake ] Built 44 packages with 1 failures. > [ rosmake ] Summary output to directory > [ rosmake ] /Users/kevin/.ros/rosmake/rosmake_output-20110904-085712 > [ rosmake ] WARNING: Rosdep did not detect the following system dependencies as installed: wxpython, opencv2.3 Consider using --rosdep-install option or `rosdep install image_proc` > > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users > > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users