mercredi 22 mars 2023

Install spymicmac on Ubuntu 22.04 with Anaconda3 installed

 Software micmac can be found here:

https://spymicmac.readthedocs.io/en/v0.1.1/setup.html

When installation was tried using the setup from this page, an error was throwing in relation with qt5. It seems that there was a mistake with Anaconda qt5 installation.

The solution has been to find the directory of installation of qt5 using:

locate /qt5/plugins/

In our case, it was:

/usr/lib/x86_64-linux-gnu/qt5/plugins

Then, rather than doing:

cmake .. -DWITH_QT5=1 -DWERROR=0 -DWITH_CCACHE=OFF

as indicated in the spymicmac documentation, use:

cmake .. -DWITH_QT5=1 -DWERROR=0 -DWITH_CCACHE=OFF -DCMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins



Aucun commentaire: