build oculus_rviz_plugins with OculusSDK 0.3.2

asked 2014-10-05 15:27:07 -0600

Fred Eduardo gravatar image

Hey guys, I am trying to port oculus_rviz_plugins to work with Oculus Rift DK2, so the first step is to build it with new SDK, Then I am going to replace old to new functions from the new API. So I have OculusSDK in my home, then I 'make' it with no errors, and then tried to catkin_make oculus_rviz_plugins in my catkin_ws, but I always get the following. It cant find the SDK. I suppose I didnt build OculusSDK properly. How can I do it? newbie here.

CMake Error at oculus_rviz_plugins/CMakeLists.txt:17 (FIND_PACKAGE):
  Could not find module FindOculusSDK.cmake or a configuration file for
  package OculusSDK.

  Adjust CMAKE_MODULE_PATH to find FindOculusSDK.cmake or set OculusSDK_DIR
  to the directory containing a CMake configuration file for OculusSDK.  The
  file will have one of the following names:

    OculusSDKConfig.cmake
    oculussdk-config.cmake



CMake Error at /opt/ros/groovy/share/catkin/cmake/catkin_package.cmake:156 (message):
  catkin_package() DEPENDS on 'OculusSDK' which must be find_package()-ed
  before.  If it is a catkin package it can be declared as CATKIN_DEPENDS
  instead without find_package()-ing it.
Call Stack (most recent call first):
  /opt/ros/groovy/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
  oculus_rviz_plugins/CMakeLists.txt:23 (catkin_package)


-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

Thanks!

edit retag flag offensive close merge delete