- This topic has 4 replies, 3 voices, and was last updated 3 years, 10 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Building SOFA › Problem Compiling SOFA with Python3
Tagged: 64_bits, Linux_ubuntu, Plugin_other, SOFA_other, VS2017
Hello Everyone,
I started using SOFA with Python3 some weeks ago and after I’ve had some troubles I managed to compile it. Now I experimented a bit with other versions and ended up deleting the version I was currently using (current master branch). I tried to reinstall it, but I keep getting the following error message, when compiling the Python3 plugin:
https://i.postimg.cc/x85T0T11/Bildschirmfoto-von-2020-10-29-09-40-28.png
Does anyone have an idea what the problem might be?
Any help is greatly appreciated.
Thank you in advance!
Jacqueline
Hey @jacqueline,
Yeah you got it at a bad time, there was a change made in SOFA a couple of days ago and not propagated to SofaPython3. We merge the fix in SofaPython3 yesterday morning.
It should be fine now, simply git pull
the SofaPython3 repository.
JN
Hi @jnbrunet,
thank you very much for your response. I pulled the latest version of the SofaPython3 repository, but now I get an error message from cmake when I try to configure (or generate) the cmake file.
Do you know what I have done wrong?
https://i.postimg.cc/g2q9rb7W/Bildschirmfoto-von-2020-11-02-14-58-26.png
Update: I cloned the SofaPython3 repository manually (instead of using the fetch option, which is listed in cmake) and added the path to SOFA_EXTERNAL_DIRECTORIES and now it works.
Thank you for your help!
Jacqueline
Hey @jacqueline,
Awesome. We will now investigate your error with the fetch option, this isn’t normal and looks like a bug, thank you for reporting it.
J-N
Hi @jacqueline,
There is indeed a bug in SOFA, thank you for spotting it!
I opened a pull-request to fix it, it should be merged in the next days.
In the meantime, you can apply the fix on your SOFA by using this patch.
Cheers,
Guillaume.
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.