Background: I'm using Ubuntu 14.04 and wanted to make a ROS program that uses OpenCV with CUDA support, which is not supported in the packages provided by Ubuntu, as well as VISP, which should depend on this OpenCV, so I decided to build OpenCV from source with CUDA enabled, and VISP and VISP bridge from source as well
When I get to building my ROS application, I get the following error:
CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
Could not find a package configuration file provided by "visp_bridge" with
any of the following names:
visp_bridgeConfig.cmake
visp_bridge-config.cmake
Add the installation prefix of "visp_bridge" to CMAKE_PREFIX_PATH or set
"visp_bridge_DIR" to a directory containing one of the above files. If
"visp_bridge" provides a separate development package or SDK, be sure it
has been installed.
So I tried adding /usr/local/share/visp_bridge, /usr/local/share/visp_bridge/cmake to both CMAKE_PREFIX_PATH and visp_bridge_DIR (which I set with export). But this makes no difference, I still get the error. The files that the error specified are definitely located in /usr/local/share/visp_bridge/cmake. It also seems that catkin_make is definitely reading my environment variables based on earlier output
So why isn't it reading it?
↧