Percepetion_pcl status under Osx [closed]

asked 2011-12-21 18:03:08 -0600

LucaGhera gravatar image

Hi all, I'm wondering what's the status of the PCL stack under Osx Lion.

I read that there was some problems before. Currently I'm able to compile PCL from sources (not ROS stack), however when I try to compile the ROS stack it fails. In particular the first error is with Flann (see below). To be noticed that I'm using Homebrew as package manager. Why I need to recompile Flann and the ROS stacks don't reuse the HomeBrew version?

Thanks!

This is the rosmake perception-pcl --rosdep-install result:

echo "Building FLANN..."
Building FLANN...
cd build/flann-1.6.10-src && cmake -DCMAKE_INSTALL_PREFIX=`pwd`/../.. -DBUILD_C_BINDINGS=true -DBUILD_PYTHON_BINDINGS=false -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_MATLAB_BINDINGS=false && make install
-- Install prefix: /Users/luca/Software/ros/electric/perception_pcl/flann
-- Build type: RELEASE
-- Building C bindings: true
-- Building python bindings: false
-- Building matlab bindings: false
-- Using MPI support: OFF
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/luca/Software/ros/electric/perception_pcl/flann/build/flann-1.6.10-src
[  3%] Building CXX object src/cpp/CMakeFiles/flann.dir/flann/flann.cpp.o
/Users/luca/Software/ros/electric/perception_pcl/flann/build/flann-1.6.10-src/src/cpp/flann/flann.cpp: In function ‘void* _flann_build_index(T*, int, int, float*, FLANNParameters*)’:
/Users/luca/Software/ros/electric/perception_pcl/flann/build/flann-1.6.10-src/src/cpp/flann/flann.cpp:121: error: ‘FLANN_DIST_HIST_INTERSECT_UNION’ was not declared in this scope
/Users/luca/Software/ros/electric/perception_pcl/flann/build/flann-1.6.10-src/src/cpp/flann/flann.cpp:122: error: ‘HistIntersectionUnionDistance’ was not declared in this scope
/Users/luca/Software/ros/electric/perception_pcl/flann/build/flann-1.6.10-src/src/cpp/flann/flann.cpp:122: error: parse error in template argument list
/Users/luca/Software/ros/electric/perception_pcl/flann/build/flann-1.6.10-src/src/cpp/flann/flann.cpp: In function ‘int _flann_save_index(void*, char*)’:
/Users/luca/Software/ros/electric/perception_pcl/flann/build/flann-1.6.10-src/src/cpp/flann/flann.cpp:198: error: ‘FLANN_DIST_HIST_INTERSECT_UNION’ was not declared in this scope
/Users/luca/Software/ros/electric/perception_pcl/flann/build/flann-1.6.10-src/src/cpp/flann/flann.cpp:199: error: ‘HistIntersectionUnionDistance’ was not declared in this scope
/Users/luca/Software/ros/electric/perception_pcl/flann/build/flann-1.6.10-src/src/cpp/flann/flann.cpp:199: error: parse error in template argument list
/Users/luca/Software/ros/electric/perception_pcl/flann/build/flann-1.6.10-src/src/cpp/flann/flann.cpp:199: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘char*’ to binary ‘operator>’
/Users/luca/Software/ros/electric/perception_pcl/flann/build/flann-1.6.10-src/src/cpp/flann/flann.cpp: In function ‘void* _flann_load_index(char*, T*, int, int)’:
/Users/luca/Software/ros/electric/perception_pcl/flann/build/flann-1.6.10-src/src/cpp/flann/flann.cpp:271: error: ‘FLANN_DIST_HIST_INTERSECT_UNION’ was not declared in this scope
/Users/luca/Software/ros/electric/perception_pcl/flann/build/flann-1.6.10-src/src/cpp/flann/flann.cpp:272: error: ‘HistIntersectionUnionDistance’ was not declared in this scope
/Users/luca/Software/ros/electric/perception_pcl/flann/build/flann-1.6.10-src/src/cpp/flann/flann.cpp:272: error: parse error in template argument ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2013-02-03 07:46:45