Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Gazebo7 fails to build with hdf5 on Ubuntu Trusty #1841

Closed
osrf-migration opened this issue Jan 23, 2016 · 5 comments
Closed

Gazebo7 fails to build with hdf5 on Ubuntu Trusty #1841

osrf-migration opened this issue Jan 23, 2016 · 5 comments
Labels
all bug Something isn't working build minor

Comments

@osrf-migration
Copy link

Original report (archived issue) by Jose Luis Rivero (Bitbucket: Jose Luis Rivero, GitHub: j-rivero).


Using the gazebo7-7.0.0~pre1 on Ubuntu Trusty and enabling the support for HDF5 by following the HDF5 tutorial, the linker displays an error when trying to link gzserver.

Linking CXX executable gzserver
cd /home/jrivero/code/gazebo/build/gazebo && /usr/bin/cmake -E cmake_link_script CMakeFiles/gzserver.dir/link.txt --verbose=1
/usr/bin/c++    -std=c++11  -Wall -Wextra -Wno-long-long -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wfloat-equal -Wshadow -Winit-self -Wswitch-default -Wmissing-include-dirs -pedantic -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11  -g -O2 -mssse3 -msse3 -mfpmath=sse -msse -msse2     CMakeFiles/gzserver.dir/server_main.cc.o  -o "gzserver-7.0.0~pre1"  -L/home/jrivero/code/gazebo/build/test  -L/usr/lib/bullet_2.82 -rdynamic "libgazebo.so.7.0.0~pre1" "common/libgazebo_common.so.7.0.0~pre1" "util/libgazebo_util.so.7.0.0~pre1" "transport/libgazebo_transport.so.7.0.0~pre1" "physics/libgazebo_physics.so.7.0.0~pre1" "sensors/libgazebo_sensors.so.7.0.0~pre1" "rendering/libgazebo_rendering.so.7.0.0~pre1" "msgs/libgazebo_msgs.so.7.0.0~pre1" -lfreeimage -ltbb -lpthread "physics/libgazebo_physics.so.7.0.0~pre1" "util/libgazebo_util.so.7.0.0~pre1" -ltinyxml2 "../deps/opende/libgazebo_ode.so.7.0.0~pre1" "../deps/opende/GIMPACT/libgazebo_gimpact.so.7.0.0~pre1" "../deps/opende/ou/libgazebo_opende_ou.so.7.0.0~pre1" -lccd -lhdf5 -lz -lm "../deps/opende/OPCODE/libgazebo_opcode.so.7.0.0~pre1" -lBulletSoftBody -lBulletDynamics -lBulletCollision -lLinearMath /usr/lib/libdart-core.so.4.3.5 -lfcl -lccd -lassimp -lglut -lXmu -lXi -lSimTKsimbody -lSimTKmath -lSimTKcommon -lblas -llapack -lblas -llapack -ldl -lOgreRTShaderSystem -lOgreMain -lpthread -lOgreTerrain -lOgrePaging -lOgreMain -lpthread -lOgreTerrain -lOgrePaging "transport/libgazebo_transport.so.7.0.0~pre1" -lOgreRTShaderSystem -lOgreMain -lOgreTerrain -lOgrePaging -lOgreMain -lOgreTerrain -lOgrePaging -lGLU -lGL -lSM -lICE -lX11 -lXext -lX11 "msgs/libgazebo_msgs.so.7.0.0~pre1" "common/libgazebo_common.so.7.0.0~pre1" -lfreeimage -ldl -ltinyxml -lavcodec -lavformat -lavutil -lcurl -lswscale -ltar -ltbb -lsdformat -lrt -lgts -lm -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lopenal -lgdal -lprotobuf -lpthread "math/libgazebo_math.so.7.0.0~pre1" /usr/lib/x86_64-linux-gnu/libignition-math2.so.2.3.0 -lboost_thread -lboost_signals -lboost_system -lboost_filesystem -lboost_program_options -lboost_regex -lboost_iostreams -lboost_date_time -lpthread -Wl,-rpath,/home/jrivero/code/gazebo/build/test:/usr/lib/bullet_2.82:/home/jrivero/code/gazebo/build/gazebo:/home/jrivero/code/gazebo/build/gazebo/common:/home/jrivero/code/gazebo/build/gazebo/util:/home/jrivero/code/gazebo/build/gazebo/transport:/home/jrivero/code/gazebo/build/gazebo/physics:/home/jrivero/code/gazebo/build/gazebo/sensors:/home/jrivero/code/gazebo/build/gazebo/rendering:/home/jrivero/code/gazebo/build/gazebo/msgs:/home/jrivero/code/gazebo/build/deps/opende:/home/jrivero/code/gazebo/build/deps/opende/GIMPACT:/home/jrivero/code/gazebo/build/deps/opende/ou:/home/jrivero/code/gazebo/build/deps/opende/OPCODE:/home/jrivero/code/gazebo/build/gazebo/math: 
../deps/opende/libgazebo_ode.so.7.0.0~pre1: undefined reference to `H5::PredType::NATIVE_INT16'
../deps/opende/libgazebo_ode.so.7.0.0~pre1: undefined reference to `H5::FloatType::FloatType(H5::PredType const&)'
../deps/opende/libgazebo_ode.so.7.0.0~pre1: undefined reference to `H5::CommonFG::getNumObjs() const'
../deps/opende/libgazebo_ode.so.7.0.0~pre1: undefined reference to `H5::FloatType::~FloatType()'
../deps/opende/libgazebo_ode.so.7.0.0~pre1: undefined reference to `typeinfo for H5::FileIException'
../deps/opende/libgazebo_ode.so.7.0.0~pre1: undefined reference to `H5::DataSpace::operator=(H5::DataSpace const&)'
../deps/opende/libgazebo_ode.so.7.0.0~pre1: undefined reference to `H5::FileAccPropList::DEFAULT'
../deps/opende/libgazebo_ode.so.7.0.0~pre1: undefined reference to `H5::DataSet::write(void const*, H5::DataType const&, H5::DataSpace const&, H5::DataSpace const&, H5::DSetMemXferPropList const&) const'
...
@osrf-migration
Copy link
Author

Original comment by Jose Luis Rivero (Bitbucket: Jose Luis Rivero, GitHub: j-rivero).


  • Edited issue description

@osrf-migration
Copy link
Author

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


See also:

@osrf-migration
Copy link
Author

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


  • set version to "all"

@osrf-migration
Copy link
Author

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


see pull request #2669

@osrf-migration
Copy link
Author

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


  • changed state from "new" to "resolved"

pull request #2669

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
all bug Something isn't working build minor
Projects
None yet
Development

No branches or pull requests

1 participant