Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2021-02-07 15:02:47

Jcm
Member
Registered: 2019-09-28
Posts: 11

salome-meca 2020 Error Geom module

Good morning,

Yesterday I installed salome-meca 2020 on Ubuntu 20.04 LTS, I followed the instructions in a previous message in this forum. I have already installade the salome-meca 2019 and it works fine.
In the geom module when I try to use the commands "2D sketch, 3D sketch, Isoline, Create 2D Polyline" a message error appears:

GUI library corresponding to the user action can not be found or loaded

I attached the picture to this message.
Thank you in advance for your help

Regards,
Claudio


Attachments:
error-salome-meca-2020.png, Size: 12.1 KiB, Downloads: 157

Offline

#2 2021-02-17 19:10:07

MoritzBaess
Member
Registered: 2021-02-11
Posts: 6

Re: salome-meca 2020 Error Geom module

Hey Claudio,

I currently have the same problem with the GEOModule. Did you find a solution for it?
So far I tried to install the package libjpeg62, as described in code-aster.org/forum2/viewtopic.php?id=25306, but that didnt work for me.

Thanks.
Regards
Moritz

Offline

#3 2021-02-19 04:19:05

linctus
Member
Registered: 2011-11-02
Posts: 30

Re: salome-meca 2020 Error Geom module

libjpeg62 is not the problem. It seems ffmpeg libraries relevant. Here is what I do (thanks to #4 in thread id=25493).
(1) enter salome shell

cd APPLI_DIR (somewhere/appli_V2020.0.1_universal_universal)
./salome shell

(2) see which libraries are missed under salome shell.

cd V2020.0.1_universal_universal/modules/GEOM_V9_4_0/lib/salome
ldd libEntityGUI.so | grep found

this will show the 'not found' libraries. Mine looks like this:
libavcodec.so.57 => not found
libavformat.so.57 => not found
libavutil.so.55 => not found
libswscale.so.4 => not found
(3) install libraries
Those libraries are in bionic (18.04) so I downloaded .dep packages and install by

sudo dpkg -i *.deb

I noted that the libraries above have some dependencies so I had to download and install the dependencies too. The dependencies are:
libswresample.so.2
libcrystalhd.so.3
libx265.so.146
libx264.so.152
libvpx.so.5
(4) link libstdc++6 to the system version in ubuntu 20.04
the version in V2020.0.1_universal_universal/prerequisites/debianForSalome/lib is 6.0.22 and it doesn't work for ubuntu 20.04 (which is version 6.0.28) so I have to rename the ones in debianForSalome/lib and link to those in /usr/lib/x86_64-linux-gnu.

Good luck.

Offline

#4 2021-02-19 10:34:20

MoritzBaess
Member
Registered: 2021-02-11
Posts: 6

Re: salome-meca 2020 Error Geom module

Hello linctus,

Thank you very much for your help. The procedure worked for me too.

Offline

#5 2021-02-19 12:02:15

rmoortgat
Member
From: Belgium
Registered: 2016-08-30
Posts: 38
Website

Re: salome-meca 2020 Error Geom module

I succeeded up to point 3.
However I'm just a beginner with Linux and it isn't clear how to link the c++ library.
Could please provide some more detail?
Thank you.
Roger

Offline

#6 2021-02-19 17:59:54

MoritzBaess
Member
Registered: 2021-02-11
Posts: 6

Re: salome-meca 2020 Error Geom module

Hey Roger,

try the procedure discussed in code-aster.org/forum2/viewtopic.php?id=24883   Post:20

regards,
Moritz

Offline

#7 2021-02-20 10:17:18

rmoortgat
Member
From: Belgium
Registered: 2016-08-30
Posts: 38
Website

Re: salome-meca 2020 Error Geom module

Thanks it worked.
The libstdc++6 wasn't the problem.
I was still missing some libav library files.
FYI, i upgraded to ubuntu 20.10 and all  working fine.
Roger

Offline