WENO-OF / WENOEXT

Weighted essentially non-oscillatory library for the framework of OpenFOAM
GNU General Public License v3.0
119 stars 64 forks source link

Why did my installation fail? #54

Open Coolboomer9 opened 4 months ago

Coolboomer9 commented 4 months ago

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".

Coolboomer9 commented 4 months ago

With the above problem solved, the new question is does this format support openfoam6?

croquemadame commented 3 months ago

With the above problem solved, the new question is does this format support openfoam6?

May I ask how you solved the problem above?

JanGaertner commented 3 months ago

It is supporting OpenFOAM 5.x to version 8.

JanGaertner commented 3 months ago
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
croquemadame commented 3 months ago

After cloning execute:

git submodule init
git submodule update

Thanks, it worked!