Robotics StackExchange | Archived questions

new executable not showing up in bin after rosmake

I'm trying to modify opennitracker.cpp in the opennitracker package. If I create a copy or even modify the current one and run rosmake it never puts a new executable in the bin folder. The line commented out when it was in there had no effect. I'm sure I'm missing something basic but I can't figure it out from the tutorials.

Here's my CMakeLists.txt file.

cmake_minimum_required(VERSION 2.4.6)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
rosbuild_init()
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
rosbuild_add_executable(openni_tracker src/openni_tracker.cpp)
#rosbuild_add_executable(openni_tracker_2 src/openni_tracker_2.cpp openni_tracker src/openni_tracker.cpp) 

Asked by punching on 2012-07-29 07:25:28 UTC

Comments

Can you also show us the output of your rosmake call?

Asked by Lorenz on 2012-07-29 10:46:20 UTC

Also add the ROS_PACKAGE_PATH + location of you copied project.

Asked by dornhege on 2012-07-29 23:51:44 UTC

Answers