- This topic has 2 replies, 2 voices, and was last updated 2 years, 11 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forum › SofaPython3 › Getting Started › [SOLVED] SofaPython3 Install, fatal error: filesystem
Tagged: GCC, Linux_ubuntu, SOFA_2106, SofaPython3
Hi all,
I am trying to install SofaPython3 on my ubuntu 18.04. During compilation, I received error message being “PythonTest.h:27:10: fatal error: filesystem: No such file or directory #include <filesystem>”. Then the compilation terminated. I also tried to modify it as #include<experimental/filesystem> but received a huge error towards the end of compilation. Has anyone else encountered similar issue and is there a way out of it?
Cheers
I was doing exactly that yesterday and I think the problem may be gcc-8 (supposing you’re in Ubuntu 18.04 using the default packages) or pybind11 > 2.8 (something changed that broke SofaPython3). I would advise maybe try using gcc-9 and compiling pybind11 2.6.2.
Hi Alexandre,
Thanks for your reply. I just downgraded pybind11 from 2.8.0 to 2.6.2 and selected gcc-9 and g++-9 for compiling. Now the filesystem error is gone and I’ve successfully compiled it.
Cheers
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.