Hi, I recentely installed the latest version of fenicsx and I am trying to install the contact library at asimov-contact/cpp at main · Wells-Group/asimov-contact · GitHub
I followed the steps in Errors while running asimov-contact demos · Issue #168 · Wells-Group/asimov-contact · GitHub
git clone https://github.com/Wells-Group/asimov-contact.git
cd asimov-contact/cpp
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX ..
make -j4
and I had the following error
Consolidate compiler generated dependencies of target dolfinx_contact
[ 5%] Building CXX object CMakeFiles/dolfinx_contact.dir/utils.cpp.o
[ 11%] Building CXX object CMakeFiles/dolfinx_contact.dir/contact_kernels.cpp.o
[ 17%] Building CXX object CMakeFiles/dolfinx_contact.dir/SubMesh.cpp.o
[ 23%] Building CXX object CMakeFiles/dolfinx_contact.dir/meshtie_kernels.cpp.o
In file included from /home/pietro/asimov-contact/cpp/utils.h:10,
from /home/pietro/asimov-contact/cpp/KernelData.h:11,
from /home/pietro/asimov-contact/cpp/meshtie_kernels.h:9,
from /home/pietro/asimov-contact/cpp/meshtie_kernels.cpp:7:
/home/pietro/asimov-contact/cpp/RayTracing.h:14:10: fatal error: spglog/spdlog.h: No such file or directory
14 | #include <spglog/spdlog.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/dolfinx_contact.dir/build.make:146: CMakeFiles/dolfinx_contact.dir/meshtie_kernels.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/pietro/asimov-contact/cpp/utils.h:10,
from /home/pietro/asimov-contact/cpp/utils.cpp:7:
/home/pietro/asimov-contact/cpp/RayTracing.h:14:10: fatal error: spglog/spdlog.h: No such file or directory
14 | #include <spglog/spdlog.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/dolfinx_contact.dir/build.make:76: CMakeFiles/dolfinx_contact.dir/utils.cpp.o] Error 1
In file included from /home/pietro/asimov-contact/cpp/utils.h:10,
from /home/pietro/asimov-contact/cpp/KernelData.h:11,
from /home/pietro/asimov-contact/cpp/contact_kernels.h:9,
from /home/pietro/asimov-contact/cpp/contact_kernels.cpp:7:
/home/pietro/asimov-contact/cpp/RayTracing.h:14:10: fatal error: spglog/spdlog.h: No such file or directory
14 | #include <spglog/spdlog.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/dolfinx_contact.dir/build.make:104: CMakeFiles/dolfinx_contact.dir/contact_kernels.cpp.o] Error 1
In file included from /home/pietro/asimov-contact/cpp/utils.h:10,
from /home/pietro/asimov-contact/cpp/SubMesh.cpp:8:
/home/pietro/asimov-contact/cpp/RayTracing.h:14:10: fatal error: spglog/spdlog.h: No such file or directory
14 | #include <spglog/spdlog.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/dolfinx_contact.dir/build.make:160: CMakeFiles/dolfinx_contact.dir/SubMesh.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/dolfinx_contact.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
I tried also to install and include #include <spglog/spdlog.h>
but it didn’t work. Someone is facing the same problem and have an idea of how to solve it?
Many Thanks