pyomeca / bioviz

Biorbd visualization toolkit
MIT License
18 stars 26 forks source link

error after compiled biorbd #73

Open AurelienRenou opened 2 years ago

AurelienRenou commented 2 years ago

I tried to compile biorbd, so i installed each package manually but when i ran my code i had some error like :

ffmpeg: error while loading shared libraries: libopenh264.so.5: cannot open shared object file: No such file or directory

And

2022-05-24 11:20:42.439 (   8.902s) [        E24EA740]vtkOpenGLRenderWindow.c:493    ERR| vtkEGLRenderWindow (0x563cfeb71e50): GLEW could not be initialized: Missing GL version

Two errors appeared at different time, i found how to not have this problem by import specific version of each package by using:

conda install -c conda-forge python=3.9 numpy=1.22.3 scipy=1.8.0 packaging=21.3 setuptools matplotlib pandas=1.4.2 pyomeca casadi tinyxml vtk=9.0.3 pyqt=5.9.2 graphviz ipopt=3.14.6 pyqtgraph rbdl=3.1.3 pkgconfig cmake swig

it may also come from a problem with ffmpeg and vtk version

pariterre commented 2 years ago

If this is a solution, please add this to the readme of biorbd repo (instead of bioviz)

AurelienRenou commented 2 years ago

There is a problem with bioviz after compiled biorbd but it seems to be link to bioviz, not specifically linked to the compilation. In addition i found that in the read me it said that you need to install graphviz but Pierre said to me that it suppose to be python-graphviz so maybe there is a problem here.

pariterre commented 2 years ago

There is a problem

is much to vague for me to help. Please provide at least a piece of code and the error traceback

Graphviz

Graphviz only make sense for bioptim, it is not used in bioviz