[rosbuild] Failed to include hide_plugin_symbols from pluginlib
Hi
I am trying to create a rqt plugin in Groovy using rosbuild and C++, but i get the error "[rosbuild] Failed to include hide_plugin_symbols from pluginlib" under the CMake configuration. In my manifest.xml I depending on rqt_gui, rqt_gui_cpp and ros_cpp and export rqt_gui plugin="${prefix}/plugin.xml".
The error happens in the line rosbuild_include(pluginlib hide_plugin_symbols)
My CMakeLists.txt:
cmake_minimum_required(VERSION 2.4.6)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
project(rqt_object_modeller)
rosbuild_init()
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
find_package(Qt4 COMPONENTS QtCore QtGui REQUIRED)
include(${QT_USE_FILE})
include_directories(${CMAKE_CURRENT_BINARY_DIR})
set(rqt_object_modeller_SRCS src/my_plugin.cpp )
set(rqt_object_modeller_HDRS include/rqt_object_modeller/my_plugin.h )
set(rqt_object_modeller_UIS resource/widget.ui )
qt4_wrap_ui(rqt_object_modeller_UIS_H ${rqt_object_modeller_UIS})
qt4_wrap_cpp(rqt_object_modeller_MOCS ${rqt_object_modeller_HDRS})
rosbuild_include(pluginlib hide_plugin_symbols)
pluginlib_hide_plugin_symbols(rqt_object_modeller MyPlugin)
rosbuild_add_library( ${PROJECT_NAME} ${rqt_object_modeller_SRCS} ${rqt_object_modeller_MOCS} ${rqt_object_modeller_UIS_H} )
target_link_libraries( ${PROJECT_NAME} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} )
Hope for some help. It is very frustrating.
Best Thomas