Ask Your Question
0

Install errors on OSX

asked 2013-03-08 04:59:47 -0600

jkp gravatar image

I am trying to install ROS Groovy using the instructions on http://www.ros.org/wiki/groovy/Installation/OSX/Homebrew/Source.

I am installing on a fresh installation of Mountain Lion. I have installed XCode + command line tools and followed the instructions on the page.

I have chosen the recommended desktop installation.

I get to the point where I run ./src/catkin/bin/catkin_make_isolated --install-space /opt/ros/groovy --install

Compiling the first package, bfl, I get the following error:

[ 40%] Built target orocos-bfl
[ 41%] Building CXX object tests/CMakeFiles/test_complete_filter.dir/complete_filter_test.o
In file included from /Users/jkp/ros_catkin_ws/src/bfl/tests/complete_filter_test.cpp:20:
In file included from /Users/jkp/ros_catkin_ws/src/bfl/tests/complete_filter_test.hpp:32:
In file included from /Users/jkp/ros_catkin_ws/src/bfl/src/filter/mixtureBootstrapFilter.h:35:
In file included from /Users/jkp/ros_catkin_ws/src/bfl/src/filter/mixtureParticleFilter.h:375:
/Users/jkp/ros_catkin_ws/src/bfl/src/filter/mixtureParticleFilter.cpp:105:27: error: member reference base type 'Mixture<SVar> *' is not a structure
      or union
  for(int i =0 ; i < prior.NumComponentsGet() ; i++)
                     ~~~~~^~~~~~~~~~~~~~~~~
/Users/jkp/ros_catkin_ws/src/bfl/src/filter/mixtureParticleFilter.cpp:111:27: error: member reference base type 'Mixture<SVar> *' is not a structure
      or union
  for(int i =0 ; i < prior.NumComponentsGet() ; i++)
                     ~~~~~^~~~~~~~~~~~~~~~~
/Users/jkp/ros_catkin_ws/src/bfl/src/filter/mixtureParticleFilter.cpp:113:32: error: member reference base type 'Mixture<SVar> *' is not a structure
      or union
    _old_samplesVec[i] = (prior.ComponentGet(i)->ListOfSamplesGet());
                          ~~~~~^~~~~~~~~~~~~
/Users/jkp/ros_catkin_ws/src/bfl/src/filter/mixtureParticleFilter.cpp:362:16: warning: self-comparison always evaluates to true
      [-Wtautological-compare]
        result == result && this->DynamicResampleStepOne(i);
               ^
/Users/jkp/ros_catkin_ws/src/bfl/src/filter/mixtureParticleFilter.cpp:451:16: warning: self-comparison always evaluates to true
      [-Wtautological-compare]
        result == result && this->ResampleOne(i);
               ^
/Users/jkp/ros_catkin_ws/src/bfl/src/filter/mixtureParticleFilter.cpp:362:16: warning: self-comparison always evaluates to true
      [-Wtautological-compare]
        result == result && this->DynamicResampleStepOne(i);
               ^
/Users/jkp/ros_catkin_ws/src/bfl/tests/complete_filter_test.cpp:211:36: note: in instantiation of member function
      'BFL::MixtureParticleFilter<MatrixWrapper::ColumnVector, MatrixWrapper::ColumnVector>::DynamicResampleStep' requested here
  my_filter_mixtureBootstrap = new MixtureBootstrapFilter<ColumnVector,ColumnVector> (&prior_mix, RESAMPLE_PERIOD, RESAMPLE_THRESHOLD);
                                   ^
In file included from /Users/jkp/ros_catkin_ws/src/bfl/tests/complete_filter_test.cpp:20:
In file included from /Users/jkp/ros_catkin_ws/src/bfl/tests/complete_filter_test.hpp:32:
In file included from /Users/jkp/ros_catkin_ws/src/bfl/src/filter/mixtureBootstrapFilter.h:35:
In file included from /Users/jkp/ros_catkin_ws/src/bfl/src/filter/mixtureParticleFilter.h:375:
/Users/jkp/ros_catkin_ws/src/bfl/src/filter/mixtureParticleFilter.cpp:451:16: warning: self-comparison always evaluates to true
      [-Wtautological-compare]
        result == result && this->ResampleOne(i);
               ^
/Users/jkp/ros_catkin_ws/src/bfl/tests/complete_filter_test.cpp:211:36: note: in instantiation of member function
      'BFL::MixtureParticleFilter<MatrixWrapper::ColumnVector, MatrixWrapper::ColumnVector>::Resample' requested here
  my_filter_mixtureBootstrap = new MixtureBootstrapFilter<ColumnVector,ColumnVector> (&prior_mix, RESAMPLE_PERIOD, RESAMPLE_THRESHOLD);
                                   ^
4 warnings and 3 errors generated.
make[2]: *** [tests/CMakeFiles/test_complete_filter.dir/complete_filter_test.o] Error 1
make[1]: *** [tests/CMakeFiles/test_complete_filter.dir/all] Error 2
make: *** [all] Error 2

Since the OSX installation is brand new, I suppose that I haven't got any other software or ... (more)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-03-08 05:29:41 -0600

William gravatar image

bfl is a Filtering library which is used in some things like the navigation stack. You probably don't need it, you can just remove it from your workspace and move on:

$ rm -rf /path/to/workspace/src/bfl

Additionally, pcl* is known not to compile currently, so remove it too for now:

$ rm -rf /path/to/workspace/src/pcl*

If you really need bfl to work, I suggest emailing the maintainer since an issue tracker is not listed for it.

edit flag offensive delete link more

Comments

Thanks. I am just learning ROS, so I don't know if I will have any use for bfl or not. If I do, I will debug the compilation.

jkp gravatar imagejkp ( 2013-03-12 08:30:33 -0600 )edit
1

answered 2013-05-23 07:00:49 -0600

d235j gravatar image

This seems to be caused by a bug in bfl. See http://bugs.orocos.org/show_bug.cgi?id=1029 for information and a patch.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-03-08 04:59:47 -0600

Seen: 971 times

Last updated: May 23 '13