Hi guys,
I am installing dolfinx from the source (conda installation didn’t work for me) and I encounter this error while I run make install.
I am following instructions on “https://docs.fenicsproject.org/dolfinx/v0.4.1/python/installation.html” and installed all dependencies mentioned in there. “cmake …/” command worked successfully without any error. I am on Cluster and don’t have “sudo” access.
Consolidate compiler generated dependencies of target dolfinx
[ 1%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/fem/FiniteElement.cpp.o
/home/rajabi/Desktop/Dolfinx_project/dolfinx/cpp/dolfinx/fem/FiniteElement.cpp: In constructor 'dolfinx::fem::FiniteElement::FiniteElement(const ufcx_finite_element&)':
/home/rajabi/Desktop/Dolfinx_project/dolfinx/cpp/dolfinx/fem/FiniteElement.cpp:239:32: error: 'sobolev' in namespace 'basix' does not name a type
239 | static_cast<basix::sobolev::space>(ce->sobolev_space),
| ^~~~~~~
/home/rajabi/Desktop/Dolfinx_project/dolfinx/cpp/dolfinx/fem/FiniteElement.cpp:239:39: error: expected '>' before '::' token
239 | static_cast<basix::sobolev::space>(ce->sobolev_space),
| ^~
/home/rajabi/Desktop/Dolfinx_project/dolfinx/cpp/dolfinx/fem/FiniteElement.cpp:239:39: error: expected '(' before '::' token
239 | static_cast<basix::sobolev::space>(ce->sobolev_space),
| ^~
| (
/home/rajabi/Desktop/Dolfinx_project/dolfinx/cpp/dolfinx/fem/FiniteElement.cpp:239:41: error: '::space' has not been declared; did you mean 'isspace'?
239 | static_cast<basix::sobolev::space>(ce->sobolev_space),
| ^~~~~
| isspace
/home/rajabi/Desktop/Dolfinx_project/dolfinx/cpp/dolfinx/fem/FiniteElement.cpp:239:52: error: 'ufcx_basix_custom_finite_element' {aka 'struct ufcx_basix_custom_finite_element'} has no member named 'sobolev_space'
239 | static_cast<basix::sobolev::space>(ce->sobolev_space),
| ^~~~~~~~~~~~~
make[2]: *** [dolfinx/CMakeFiles/dolfinx.dir/fem/FiniteElement.cpp.o] Error 1
make[1]: *** [dolfinx/CMakeFiles/dolfinx.dir/all] Error 2
make: *** [all] Error 2
Thank you in advance for your replies