[ros-users] rosbuild seems to cache external cmake files

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ruben Smits
Date:  
To: ros-users@code.ros.org
Subject: [ros-users] rosbuild seems to cache external cmake files
Hi,

I'm creating a package (ros_integration) that exports a cmake file using the 
roslang tag:
manifest.xml snippet (:
<export>
    <roslang cmake="${prefix}/cmake/GenerateRTTtypekit.cmake"/>
</export>


I recently moved the package to a different location and name and now rosbuild
is giving me problem:

[rosbuild] Building package ros_integration_common_msgs
[rosbuild] Including /opt/ros/cturtle/ros/core/roscpp/cmake/roscpp.cmake
[rosbuild] Including /opt/ros/cturtle/ros/core/rospy/cmake/rospy.cmake
[rosbuild] Including /opt/ros/cturtle/ros/core/roslisp/cmake/roslisp.cmake
[rosbuild] Including /home/rsmits/ros/kul-ros-
pkg/stacks/orocos_2.0/trunk/ros_integration/cmake/GenerateRTTtypekit.cmake
CMake Error at /opt/ros/cturtle/ros/core/rosbuild/public.cmake:400 (message):
Cannot include non-existent exported cmake file
/home/rsmits/ros/private-kul-ros-
pkg/orocos_rtt_ros_integration/cmake/GenerateRTTtypekit.cmake
Call Stack (most recent call first):
CMakeLists.txt:12 (rosbuild_init)

Apparently rosbuild is still pointing to the old location of the cmake file.
How can i make rosbuild forget about the old file? I already tried cleaning up
the package but that did not work.

Ruben