-- Optional library RTT_PLUGIN_rtt-marshalling NOT FOUND.

Dear Sirs,

today I ran:

autoproj update
autoproj build

after this I try to create new component using orogen.
My component uses rtt-marshaliing so I modified the CMakeLists.txt

Adding the following two lines

find_package(RTTPlugin REQUIRED rtt-marshalling)
target_link_libraries(Rosetta ${RTT_PLUGIN_rtt-marshalling_LIBRARIES})

When I run the command

cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/lib/orocos

I get the following errors:

-- Optional library RTT_PLUGIN_rtt-marshalling NOT FOUND. If the library
is already installed, use the RTT_PLUGIN_rtt-marshalling_ROOT_DIR
environment variable or ccmake to set the missing variables manually.

-- Found RTT_PLUGIN_rtt-typekit

-- Found RTT_PLUGIN_rtt-transport-corba

-- Optional library RTT_PLUGIN_rtt-marshalling NOT FOUND. If the library
is already installed, use the RTT_PLUGIN_rtt-marshalling_ROOT_DIR
environment variable or ccmake to set the missing variables manually.

I reported this error a few weeks ago.
I dont' know if if was fixed.
For the moment I solved the problem modifying the CMakeLists.txt file as follows.

PROJECT(rosetta)
cmake_minimum_required(VERSION 2.6)

SET (CMAKE_MODULE_PATH "/usr/src/orocos/ocl/config/" "${CMAKE_SOURCE_DIR}/.orogen/config"})
INCLUDE(rosettaBase)

find_package(RTTPlugin REQUIRED rtt-marshalling)
target_link_libraries(Rosetta ${RTT_PLUGIN_rtt-marshalling_LIBRARIES})

# FIND_PACKAGE(KDL)
# FIND_PACKAGE(OCL)

The complete output of the Cmake command follows.

Best regards.

G. Rizzi

root@giampy-P5KC:~/rock/Rosetta13/build# cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/lib/orocos
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test CXX_SUPPORTS_WALL
-- Performing Test CXX_SUPPORTS_WALL - Success
-- Found Doxygen: /usr/bin/doxygen
-- documentation can be built
-- checking for module 'orocos-rtt-xenomai>=2.1.0'
-- found orocos-rtt-xenomai, version 2.3.1
-- checking for module 'typelib'
-- found typelib, version 1.1
-- checking for module 'orocos-rtt-corba-xenomai>=2.1.0'
-- found orocos-rtt-corba-xenomai, version 2.3.1
-- Orocos reports in /usr/src/orocos/install/include/rtt/transports/corba/rtt-corba-config.h to use the OMNIORB
-- checking for module 'orocos-ocl-xenomai>=2.1.0'
-- found orocos-ocl-xenomai, version 2.3.1
-- OCL found, the generated task library will be compatible with the deployer component
-- Optional library RTT_PLUGIN_rtt-marshalling NOT FOUND. If the library is already installed, use the RTT_PLUGIN_rtt-marshalling_ROOT_DIR environment variable or ccmake to set the missing variables manually.
-- Found RTT_PLUGIN_rtt-typekit
-- Found RTT_PLUGIN_rtt-transport-corba
-- Optional library RTT_PLUGIN_rtt-marshalling NOT FOUND. If the library is already installed, use the RTT_PLUGIN_rtt-marshalling_ROOT_DIR environment variable or ccmake to set the missing variables manually.
-- Configuring done
-- Generating done
-- Build files have been written to: /root/rock/Rosetta13/build
root@giampy-P5KC:~/rock/Rosetta13/build#