[ros-users] failure building camera_drivers/trunk/camera1394 with latest release (updated today)

Blaise Gassend blaise at willowgarage.com
Fri May 14 03:15:40 UTC 2010


In theory there were no API changes, but it looks like something broke
in the new .cfg dependency generation.

{{{
blaise at bnl: ~/ros.karmic/mypkgs/camera_drivers/camera1394 $ rosrun
dynamic_reconfigure gendeps cfg/Camera1394.cfg
Finding dependencies for cfg/Camera1394.cfg
***********************************************************************************
load_module did not return. Unable to determine dependencies for file
listed above.
***********************************************************************************
Traceback (most recent call last):
  File
"/u/blaise/ros.karmic/mypkgs/driver_common/dynamic_reconfigure/cmake/gendeps", line 61, in <module>
    imp.load_module("__main__", f, srcfile, ('.cfg', 'U', 1))
  File "cfg/Camera1394.cfg", line 40, in <module>
    from dynamic_reconfigure.msg import SensorLevels
ImportError: No module named msg
}}}

That error message seems to be sucked in by cmake as a list of
dependencies, and I have created #4092 to track the problem.

In terms of fixing your problem, I would suggest using the SensorLevels
from driver_base. I intend to deprecate the ones in dynamic_reconfigure.
I'm not sure why this is breaking and have created #4093 to remind
myself to figure it out.

On Thu, 2010-05-13 at 20:29 -0500, Jack O'Quin wrote:
> Not sure what went wrong, make clean did not help. All suggestions welcome.
> 
> Are there interface changes for dynamic_reconfigure?
> 
> MSG: gencfg_cpp on:Camera1394.cfg
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/joq/svn/camera_drivers/camera1394/build
> cd build && make
> make[1]: Entering directory `/home/joq/svn/camera_drivers/camera1394/build'
> make[2]: Entering directory `/home/joq/svn/camera_drivers/camera1394/build'
> make[3]: Entering directory `/home/joq/svn/camera_drivers/camera1394/build'
> make[3]: Leaving directory `/home/joq/svn/camera_drivers/camera1394/build'
> make[3]: Entering directory `/home/joq/svn/camera_drivers/camera1394/build'
> make[3]: *** No rule to make target `../load_module', needed by
> `../cfg/cpp/camera1394/Camera1394Config.h'.
> make[3]: *** No rule to make target `../did', needed by
> `../cfg/cpp/camera1394/Camera1394Config.h'.
> make[3]: *** No rule to make target `../not', needed by
> `../cfg/cpp/camera1394/Camera1394Config.h'.
> make[3]: *** No rule to make target `../return.', needed by
> `../cfg/cpp/camera1394/Camera1394Config.h'.
> make[3]: *** No rule to make target `../Unable', needed by
> `../cfg/cpp/camera1394/Camera1394Config.h'.
> make[3]: *** No rule to make target `../to', needed by
> `../cfg/cpp/camera1394/Camera1394Config.h'.
> make[3]: *** No rule to make target `../determine', needed by
> `../cfg/cpp/camera1394/Camera1394Config.h'.
> make[3]: *** No rule to make target `../dependencies', needed by
> `../cfg/cpp/camera1394/Camera1394Config.h'.
> make[3]: *** No rule to make target `../for', needed by
> `../cfg/cpp/camera1394/Camera1394Config.h'.
> make[3]: *** No rule to make target `../file', needed by
> `../cfg/cpp/camera1394/Camera1394Config.h'.
> make[3]: *** No rule to make target `../listed', needed by
> `../cfg/cpp/camera1394/Camera1394Config.h'.
> make[3]: *** No rule to make target `../above.', needed by
> `../cfg/cpp/camera1394/Camera1394Config.h'.
> make[3]: Target `CMakeFiles/ROSBUILD_gencfg_cpp.dir/build' not remade
> because of errors.
> make[3]: Leaving directory `/home/joq/svn/camera_drivers/camera1394/build'
> make[2]: *** [CMakeFiles/ROSBUILD_gencfg_cpp.dir/all] Error 2
> make[2]: Target `all' not remade because of errors.
> make[2]: Leaving directory `/home/joq/svn/camera_drivers/camera1394/build'
> make[1]: *** [all] Error 2
> make[1]: Target `default_target' not remade because of errors.
> make[1]: Leaving directory `/home/joq/svn/camera_drivers/camera1394/build'
> make: *** [all] Error 2
> 





More information about the ros-users mailing list