Code Monkey home page Code Monkey logo

Comments (7)

Kerstin-Keller avatar Kerstin-Keller commented on May 26, 2024 1

Please remove your build folder completely and then rebuild eCAL.
Please also pass -DHDF5_ROOT=/usr when calling cmake, thus calling

cmake .. -DCMAKE_BUILD_TYPE=Release -DECAL_THIRDPARTY_BUILD_PROTOBUF=OFF -DHDF5_ROOT=/usr

I would assume that it will then find the HDF5 version installed in your system (or at least I'd hope so).

Alternatively, you could add home/serov/anaconda3/lib to your LD_LIBRARY_PATH and use the anaconda hdf5 library at runtime.

from ecal.

rex-schilasky avatar rex-schilasky commented on May 26, 2024

I did the same on a "naked" Ubuntu 18.04 and ecaL_play is working well. I made a 'ldd' and the output is
image

from ecal.

aserbremen avatar aserbremen commented on May 26, 2024

Indeed I don't have a link to libhdf5.so.103

image

This is the tab completion listing for libhdf5_

image

Could you tell me how to correctly link the right library? I noticed that my installation tries to link libhdf5.so.103 whereas Yours libhdf5_serial.so.100. I am not sure about the exact impact of the different library names and numbers. Moreover I do not have the exact libhdf5.so.103 listed under /usr/lib/x86_64-linux-gnu/

from ecal.

Kerstin-Keller avatar Kerstin-Keller commented on May 26, 2024

Do you have libhdf5.so.103 somehwere else in your system (but not in the LD_LIBRARY_PATH)?
It would be interesting to see.
Also you can open the CMakeCache.txt file from your build directory and search for HDF5 in this file. It should tell you where CMake found the library.

from ecal.

aserbremen avatar aserbremen commented on May 26, 2024

Indeed I could find libhdf5.so.103 on my system. It is part of the anaconda python installation:
image

This might be a bit overkill, but here are the lines containingHDF5 in the CMakeCache.txt
image

What would be the best approach to tackela this problem? Manually link the library? Rebuild eCAL in a different way?

from ecal.

aserbremen avatar aserbremen commented on May 26, 2024

Please remove your build folder completely and then rebuild eCAL.
Please also pass -DHDF5_ROOT=/usr when calling cmake, thus calling

This helped me remove the wrong linkage of libhdf5.so.103 from the anaconda environment however cmake tried to link other libraries to the anaconda path.

I resolved the wrong linkage of libraries by temorarily removing all unwanted folders from PATH before configuring eCAL with cmake .. -DCMAKE_BUILD_TYPE=Release -DECAL_THIRDPARTY_BUILD_PROTOBUF=OFF -DHDF5_ROOT=/usr (described here https://gitlab.com/morpheus.lab/morpheus/issues/3):
echo $PATH
/opt/ros/melodic/bin:/home/serov/anaconda3/bin:/home/serov/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

and then exporting PATH without any unwanted folders, in my case /home/serov/anaconda3/bin and /home/serov/anaconda3/condabin:
export PATH="/opt/ros/melodic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

After that I was able to succesfully configure and build eCAL and run ecal_play or ecal_rec.

from ecal.

Kerstin-Keller avatar Kerstin-Keller commented on May 26, 2024

Ok, good to hear that it is working for you now 😄

from ecal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.