PCL Compiling error on Mac OSX with clang
Hello,
So I am trying to eliminate my Ubuntu VM by installing ROS on my Mac OSX directly. I am following the Homebrew tutorial for the installation. After solving several hickups I am now stuck when it tries to compile PCL.
It appears the script uses the clang compiler because there were some unsolvable errors with the g++ compiler (?), however using clang gives me the following error :
/Users/hansgaiser/ros_catkin_ws/src/pcl/common/include/pcl/common/point_operators.h:79:5: error: overloaded 'operator*' must have at least one parameter of class or enumeration type
operator* (const PointT& p, const float& scalar)
^
(ps. I got different errors with PCL before, they are resolved now, according to some other questions by applying the last 3 patches from here and some patch for ply_parser.h from here)
This error seems to be similar to something I found at the PCL forum here. Their fix appears to be to compile using g++. If I try to compile everything with g++ however, I get an error for rosconsole, which appears to be a known error.
I tried searching for a solution here and on the PCL forums, but I could not find anything.
What to do next?