Force Rebuild of Base Package
All, I want to add some debug statements to fake_localization for some tests. I can't get the build system to build it. This is very aggravating:
- Adjust
$ROS_PACKAGE_PATH
to hold my packages first roscd fake_localization
moves me to my local sourcesrosmake
complains about ROS_NOBUILDfind /opt/ros -iname '*ROS_NOBUILD*'
returns nothingfind /home/me/workspace/navigation -iname '*ROS_NOBUILD*'
returns nothing
There is no ROS_NOBUILD in my directory. There is no documentation explaining where this ROS_NOBUILD is coming. I am having trouble finding documentation on how to remove supplied packages from the original installation due to the this strange organization of ../share
and ../include
and ../bin
folders in ros root.
I managed to build it, it was a catkin issue. However, to setup an entire workspace for catkin builds and move all my projects into a src
folder is redundant to me. My solution:
roscd fake_localization
mkdir build
cd build
cmake ..
make
Finally you need to move the executable out of the build directory otherwise rosrun will not find it...
cp devel/lib/fake_localization/fake_localization ..
or
cmake -DCMAKE_INSTALL_PREFIX=../bin ..
make install
But the second option adds all these bloated scripts in the bin directory. (But rosrun will find it).
What version of ROS are you using?
Hydro - I managed to build it - this was a catkin issue.