osrf / gazebo_tutorials

Tutorials for gazebo
http://gazebosim.org/tutorials
145 stars 71 forks source link

HDF 5 tutorial #40

Closed osrf-migration closed 7 years ago

osrf-migration commented 9 years ago

Original report (archived issue) by Nate Koenig (Bitbucket: Nathan Koenig).


Gazebo 6 does not compile with libhdf5-dev. Partial compiler errors:

#!c++

Linking CXX executable gzserver
../deps/opende/libgazebo_ode.so.6.1.0: undefined reference to `H5::AbstractDs::getIntType() const'
../deps/opende/libgazebo_ode.so.6.1.0: undefined reference to `H5::PredType::NATIVE_LONG'
../deps/opende/libgazebo_ode.so.6.1.0: undefined reference to `typeinfo for H5::GroupIException'
../deps/opende/libgazebo_ode.so.6.1.0: undefined reference to `H5::PredType::NATIVE_ULLONG'
../deps/opende/libgazebo_ode.so.6.1.0: undefined reference to `H5::PredType::NATIVE_INT16'
../deps/opende/libgazebo_ode.so.6.1.0: undefined reference to `H5::FloatType::FloatType(H5::PredType const&)'
../deps/opende/libgazebo_ode.so.6.1.0: undefined reference to `H5::DataSet::write(std::string const&, H5::DataType const&, H5::DataSpace const&, H5::DataSpace const&, H5::DSetMemXferPropList const&) const'
../deps/opende/libgazebo_ode.so.6.1.0: undefined reference to `H5::CommonFG::openGroup(std::string const&) const'
osrf-migration commented 8 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


See also:

osrf-migration commented 7 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


This is still not working with gazebo8. I was thinking of adding a note to the tutorial with the last version it's been known to work, but if it doesn't work since gazebo6, and the cmake flag is not there on gazebo5, I'm not sure when it worked...

osrf-migration commented 7 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


I just tested it with the gazebo6_6.0.0 tag and it compiles. I'm going to try moving through the tags to see when it breaks.

osrf-migration commented 7 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


I also got it to compile with the head of the gazebo6 branch:

I have observed linking errors with gazebo7, but gazebo6 seems to be working for me. Can anyone else reproduce this linking error with gazebo6?

osrf-migration commented 7 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


Never mind, I did the build wrong...

osrf-migration commented 7 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


see gazebo pull request 2669

osrf-migration commented 7 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


fixed in gazebo pull request 2669