Error using loadlibrary ; Could not find file libCore.h.

4 Ansichten (letzte 30 Tage)
Inês Cardoso
Inês Cardoso am 11 Dez. 2023
Bearbeitet: Inês Cardoso am 11 Dez. 2023
Hello everyone!
I'm using Omega Toolbox in Matlab on my ubuntu system to reconstruct data in root format from the Gate software.
When I load the data I get this error:
"Invalid C++ MEX-file 'GATE_root_matlab': libCore.so: cannot open shared object file: No such file or directory"
So I tried to solve it as follows:
setenv('LD_LIBRARY_PATH', '/lib/x86_64-linux-gnu:/lib64:$LD_LIBRARY_PATH'); %indicates the paths of the libCore.so dependencies
loadlibrary('/home/vgate/Software/root/bin/lib/libCore.so');
Then, I get this error
"Error using loadlibrary
Could not find file libCore.h.
Error in loadlibrary
Error in gate_main_simple (line 325)
loadlibrary('/home/vgate/Software/root/bin/lib/libCore.so');"
I've tried looking for libCore.h on the computer but I can't find it. Does anyone know what I can do?
Thank you

Antworten (0)

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by