Personal tools
You are here: Home Forum Install & build How to install a plugin on top of Official Salome 8.5.0 using salomeTools?

How to install a plugin on top of Official Salome 8.5.0 using salomeTools?

Up to Install & build

How to install a plugin on top of Official Salome 8.5.0 using salomeTools?

Posted by Christophe Trophime at August 20. 2018

Hi,
I have a plugin that I'd like to install on top of latest Salome 8.5.0 binaries (instead of rebuilding the whole software myself).
I've tried using the distribution for Ubuntu 16.04 that ships SalomeTools:

cd SALOME_ROOT_DIR

1) I've retrieved the name of the config:./sat config --list

2) I've added my plugin TOTO into the existing pyconf

3) I've tried to compile and install TOTO using: 

sat prepare SALOME-8.5.0

sat compile SALOME-8.5.0 -p TOTO


At this step salomeTools want to rebuild everything from scratch!!!
What's wrong with my procedure?

Best
C


Re: How to install a plugin on top of Official Salome 8.5.0 using salomeTools?

Posted by Christophe Bourcier at September 04. 2018

Hi Christophe,

This use case is described in the last section of the README:

compilation based on the binaries used as prerequisites
=======================================================

If you fail to compile the complete application (for example because
you are not root on your system and cannot install missing packages), you
may try a partial compilation based on the binaries.
For that it is necessary to copy the binaries from BINARIES to INSTALL,
and do some substitutions on cmake and .la files (replace the build directories
with local paths).
The procedure to do it is:
 1) Remove or rename INSTALL directory if it exists
 2) Execute the shell script install_bin.sh:
 > cd $ROOT
 > ./install_bin.sh
 3) Use SalomeTool (as explained in Sources section) and compile only the
    modules you need to (with -p option)

Christophe

Re: How to install a plugin on top of Official Salome 8.5.0 using salomeTools?

Posted by sebastien cadalen at September 25. 2018

Hi Christophe,

In version 8.4, 8.3 and all versions before the MeshGems plugins (Mg-CadSurf, Mg-Tetra, Mg-Hybrid, etc) are ready to be used with the official universal binary version of Salome. In version 8.5 the MeshGems plugin is not installed ? Could you give me a key to add them ?

Regards,

S├ębastien

Powered by Ploneboard
Document Actions