bfl on groovy, catkin_make errors and compile errors
I have a strange problem with using bfl under ros groovy. I'm using the regular installed bfl package. "roscd bfl" takes me to /opt/ros/groovy/share/bfl which contains a package.xml.
Yet when I include bfl in the find_package() line of my project's CMakeLists.txt just like any other ros package, catkin_make complains:
CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
Could not find a configuration file for package bfl.
Set bfl_DIR to the directory containing a CMake configuration file for bfl.
The file will have one of the following names:
bflConfig.cmake
bfl-config.cmake
If I leave out bfl from the find_package() and try to include e.g.
#include "bfl/pdf/gaussian.h"
the compiler throughs an excessive amount of errors (in total >700) e.g.
/opt/ros/groovy/include/bfl/wrappers/matrix/vector_wrapper.h:60: error: reference to 'MatrixWrapper' is ambiguous
Any suggestions, ideas what could cause that behaviour?