Skip to content

Cannot compile Caribou/SofaCaribou #54

Answered by jnbrunet
ateixeira0163 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ateixeira0163 ,

Make sure you are using the installation path of both SOFA and SofaPython3. The installation path is the path to the directory created during the make install command. It is usually the build directory path, followed by the "install" directory. In your case, it looks like SofaPython3 is compiled alongside SOFA, so it is even simpler. Something like this should work:

~ $ cd ~/Sofa/src/build
~/Sofa/src/build $  cmake -DPLUGIN_SOFAPYTHON3=ON ..
~/Sofa/src/build $  make
~/Sofa/src/build $  make install
~/Sofa/src/build $  export SOFA_ROOT=~/Sofa/src/build/install   # See the "/install" here?

~ $ cd ~/caribou/src/build      # Or whatever your caribou build directory path i…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jnbrunet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants