Skip to content

Error in SofaCaribou bindings #99

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

You must be logged in to vote

Hey @Ziemnono

Alright, I did some digging and I found what's the problem here. The caribou plugin is made to be install into the "plugins" directory of your SOFA installation. To be more precise, Caribou's binaries will search for SOFA's binaries by looking into parent folders and expecting to find SOFA root at some point. This search path is baked into the libraries (.so) during Caribou compilation.

In your case, the "clean" solution is to copy or move Caribou installation directory into $SOFA_ROOT/plugins/SofaCaribou and give this path to python:

# Install Caribou into SOFA plugins
u@h:~/ $ export SOFA_ROOT=~/sofa/build/install
u@h:~/ $ export CARIBOU_ROOT=~/caribou/build/install
u@h:~/ $ 

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

Ziemnono
Jan 26, 2022
Collaborator Author

You must be logged in to vote
0 replies
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