Roboearth build fails at re_vision
I m trying to build roboearth on oneiric on electric version of ROS and using gcc4.6 compiler. but i came across with the following error:
[ 19%] Building CXX object CMakeFiles/DUtilsCV.dir/src/3rdparty/DUtilsCV/Drawing.o /home/pragyan/tredext/biome/roboearth/re_vision/src/3rdparty/DUtilsCV/Drawing.cpp: In static member function ‘static void DUtilsCV::Drawing::drawCorrespondences(cv::Mat&, const cv::Mat&, const cv::Mat&, const std::vector<cv::keypoint>&, const std::vector<cv::keypoint>&, const std::vector<int>&, const std::vector<int>&)’:
/home/pragyan/tredext/biome/roboearth/re_vision/src/3rdparty/DUtilsCV/Drawing.cpp:107:35: error: taking address of temporary [-fpermissive]
/home/pragyan/tredext/biome/roboearth/re_vision/src/3rdparty/DUtilsCV/Drawing.cpp:116:3: error: taking address of temporary [-fpermissive]
/home/pragyan/tredext/biome/roboearth/re_vision/src/3rdparty/DUtilsCV/Drawing.cpp:124:3: error: taking address of temporary [-fpermissive] make[3]: * [CMakeFiles/DUtilsCV.dir/src/3rdparty/DUtilsCV/Drawing.o] Error 1 make[3]: Leaving directory/home/pragyan/tredext/biome/roboearth/re_vision/build' make[2]: *** [CMakeFiles/DUtilsCV.dir/all] Error 2 make[2]: Leaving directory
/home/pragyan/tredext/biome/roboearth/re_vision/build' make[1]: * [all] Error 2 make[1]: Leaving directory `/home/pragyan/tredext/biome/roboearth/re_vision/build'
Any body with clue what's the meaning of error: taking address of temporary[-fpermissive] and how it can be resolved? Thanks in advanced.