Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why did my installation fail? #54

Open
Coolboomer9 opened this issue Apr 9, 2024 · 5 comments
Open

Why did my installation fail? #54

Coolboomer9 opened this issue Apr 9, 2024 · 5 comments

Comments

@Coolboomer9
Copy link


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
Copy link
Author

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

@croquemadame
Copy link

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

May I ask how you solved the problem above?

@JanGaertner
Copy link
Collaborator

It is supporting OpenFOAM 5.x to version 8.

@JanGaertner
Copy link
Collaborator

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
Copy link

croquemadame commented May 14, 2024

After cloning execute:

git submodule init
git submodule update

Thanks, it worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants