Ok, here is my CMakeLists.txt.  You are right but could you tell me what the syntax is for the fix?<div><br></div><div><div>cmake_minimum_required(VERSION 2.4.6)</div><div>include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)</div>
<div><br></div><div># Set the build type.  Options are:</div><div>#  Coverage       : w/ debug symbols, w/o optimization, w/ code-coverage</div><div>#  Debug          : w/ debug symbols, w/o optimization</div><div>#  Release        : w/o debug symbols, w/ optimization</div>
<div>#  RelWithDebInfo : w/ debug symbols, w/ optimization</div><div>#  MinSizeRel     : w/o debug symbols, w/ optimization, stripped binaries</div><div>#set(ROS_BUILD_TYPE RelWithDebInfo)</div><div><br></div><div>rosbuild_init()</div>
<div><br></div><div>#set the default path for built executables to the "bin" directory</div><div>set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)</div><div>#set the default path for built libraries to the "lib" directory</div>
<div>set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)</div><div><br></div><div>#uncomment if you have defined messages</div><div>rosbuild_genmsg()</div><div>#uncomment if you have defined services</div><div>rosbuild_gensrv()</div>
<div><br></div><div>include_directories(include)</div><div><br></div><div>#common commands for building c++ executables and libraries</div><div>#rosbuild_add_library(${PROJECT_NAME} src/example.cpp)</div><div>#target_link_libraries(${PROJECT_NAME} another_library)</div>
<div>#rosbuild_add_boost_directories()</div><div>#rosbuild_link_boost(${PROJECT_NAME} thread)</div><div>#rosbuild_add_executable(surf src/find_obj.cpp)</div><div>rosbuild_add_executable(homography_generator src/homography_generator.cpp)</div>
<div>#target_link_libraries(example ${PROJECT_NAME})</div><div><br></div><br>-- <br>Todd Anderson<br>(919) 710-0546<br>Washington University in St. Louis Class of 2011<br>School of Engineering and Applied Sciences<br>
</div>