Jack, see my note to Brian re: using find_library. It may be a better solution than just adding the library name directly. Also, wait to hear what Brian has to say. --Nick On Fri, Jan 14, 2011 at 10:36 AM, Jack O'Quin wrote: > On Fri, Jan 14, 2011 at 11:30 AM, Nicholas Butko wrote: > > I am running cturtle, not unstable. > > Here's a patch for camera_drivers version 1.2. (It's not committed in > that SVN branch, you'll need to apply it by hand wherever that stack > is checked out.) > > Index: camera1394/src/nodes/CMakeLists.txt > =================================================================== > --- camera1394/src/nodes/CMakeLists.txt (revision 35252) > +++ camera1394/src/nodes/CMakeLists.txt (working copy) > @@ -1,2 +1,10 @@ > -rosbuild_add_executable(camera1394_node camera1394.cpp > dev_camera1394.cpp features.cpp) > -target_link_libraries(camera1394_node dc1394) > +# Mac OSX requires extra linker parameters > +if(CMAKE_SYSTEM_NAME MATCHES "Darwin") > + set(DC1394 dc1394 "-framework CoreServices") > +else(CMAKE_SYSTEM_NAME MATCHES "Darwin") > + set(DC1394 dc1394) > +endif(CMAKE_SYSTEM_NAME MATCHES "Darwin") > + > +rosbuild_add_executable(camera1394_node > + camera1394.cpp dev_camera1394.cpp features.cpp) > +target_link_libraries(camera1394_node ${DC1394}) > Index: rosdep.yaml > =================================================================== > --- rosdep.yaml (revision 35252) > +++ rosdep.yaml (working copy) > @@ -12,6 +12,7 @@ > ubuntu: libdc1394-22-dev > arch: libdc1394 > fedora: libdc1394-devel > + macports: libdc1394 > > gforth: > ubuntu: gforth > -- > joq > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users >