ChenguangZhang / sdfibm

Immersed boundary method empowered by signed distance field, and OpenFOAM.
Other
142 stars 51 forks source link

Install issue #12

Open AmruthaR11 opened 11 months ago

AmruthaR11 commented 11 months ago

Hello, I have installed OpenFoam v9, g++ with C++17 and Cmake 3.27.9. But I am facing issue when I enter make after cmake .. in my ubuntu command prompt.

[ 6%] Building CXX object libcollision/CMakeFiles/collision.dir/ugrid.o In file included from /home/amrutha/sdfibm/src/libcollision/ugrid.h:9, from /home/amrutha/sdfibm/src/libcollision/ugrid.cpp:1: /home/amrutha/sdfibm/src/libcollision/../types.h:4:10: fatal error: tensor.H: No such file or directory 4 | #include "tensor.H" | ^~~~~~ compilation terminated. make[2]: [libcollision/CMakeFiles/collision.dir/build.make:76: libcollision/CMakeFiles/collision.dir/ugrid.o] Error 1 make[1]: [CMakeFiles/Makefile2:234: libcollision/CMakeFiles/collision.dir/all] Error 2 make: *** [Makefile:91: all] Error 2

Any suggestions would be really appreciated. Thank you.

gaz-b5 commented 1 week ago

I am facing a similar issue with a different library, I am using OpenFoam 10.1, with everything else on the most recent version.

[ 5%] Building CXX object CMakeFiles/sdfibm_util.dir/cellenumerator.o In file included from /home/bruce/openFoamProjects/btp/sdfibm/src/cellenumerator.h:11, from /home/bruce/openFoamProjects/btp/sdfibm/src/cellenumerator.cpp:1: /home/bruce/openFoamProjects/btp/sdfibm/src/meshinfo.h:4:10: fatal error: fvc.H: No such file or directory 4 | #include "fvc.H" | ^~~ compilation terminated. make[2]: [CMakeFiles/sdfibm_util.dir/build.make:76: CMakeFiles/sdfibm_util.dir/cellenumerator.o] Error 1 make[1]: [CMakeFiles/Makefile2:174: CMakeFiles/sdfibm_util.dir/all] Error 2 make: *** [Makefile:91: all] Error 2

I would appreciate some guidance on this issue. Thank you.