Why did my installation fail?
Opened this issue · 5 comments
Build State
Built state is: unspecified
Building tests
This can be deactivated by using CMAKE_BUILD_TYPE=Release
CMake Error at tests/CMakeLists.txt:2 (add_subdirectory):
The source directory
/home/wen/Desktop/WENOEXT/tests/Catch2
does not contain a CMakeLists.txt file.
-- Configuring incomplete, errors occurred!
See also "/home/wen/Desktop/WENOEXT/build/CMakeFiles/CMakeOutput.log".
With the above problem solved, the new question is does this format support openfoam6?
With the above problem solved, the new question is does this format support openfoam6?
May I ask how you solved the problem above?
It is supporting OpenFOAM 5.x to version 8.
Build State
Built state is: unspecified Building tests This can be deactivated by using CMAKE_BUILD_TYPE=Release CMake Error at tests/CMakeLists.txt:2 (add_subdirectory): The source directory
/home/wen/Desktop/WENOEXT/tests/Catch2
does not contain a CMakeLists.txt file.
-- Configuring incomplete, errors occurred! See also "/home/wen/Desktop/WENOEXT/build/CMakeFiles/CMakeOutput.log".
Regarding this issue: You probably did not clone the git submodules. I had changed from the single header Catch2 file to the new Catch2 v3 release which is an own library. This is included as a git submodule.
After cloning execute:
git submodule init
git submodule update
After cloning execute:
git submodule init git submodule update
Thanks, it worked!