Hi,

Did you try to:

$ roscd [your_pkg]
$ make clean
$ rosmake [your_pkg]

Hope this helps!

Gonçalo Cabrita

On Mar 2, 2012, at 11:47 AM, Haojie Zhang wrote:

Hi, all

Recently I got a new desktop and installed Electric on Ubuntu 11.10. When I rosmake  a package in Electric, it dosen't t work. The package is the same one which I have ever compiled it correctly in diamondback.  The error is:

CMake Error at build/CMakeFiles/CMakeSystem.cmake:1 (INCLUDE):
   include could not find load file:
     /opt/ros/diamondback/ros/core/rosbuild/rostoolchain.cmake
Call Stack (most recent call first):

Attached figure is the error in detail. Any suggestion? Thanks.

-- 
Haojie <Screenshot at 2012-02-26 14_27_57.png>_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users