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

Have an issue with cmake #93

Closed
BWWwustl opened this issue Nov 28, 2023 · 3 comments
Closed

Have an issue with cmake #93

BWWwustl opened this issue Nov 28, 2023 · 3 comments

Comments

@BWWwustl
Copy link

Capture
After I clone the repo and trying to cmake, I got this error. I am pretty new to C++ and don't know what could cause this problem, anyone could help would be appreciate

@KrisThielemans
Copy link
Collaborator

I think this is because doesn't find your "tool chain". Looks like you are on Windows. What compiler etc did you install? For instance, you could use https://visualstudio.microsoft.com/vs/community/, or https://clang.llvm.org/get_started.html, or you could use WSL.

You need to tell CMake that this is what you're going to use. See for instance https://cmake.org/cmake/help/v3.27/generator/Visual%20Studio%2017%202022.html. Note that when using cmake from the command line, you'd want to do this from a prompt that has the tools in the path (usually called "Powershell for Visual Studio 2022" or so).

Alternatively, you use the binary on https://github.com/UCL/PETPVC/releases. Due to #94 you'll have to use 1.2.10 but that'd be fine.

@KrisThielemans
Copy link
Collaborator

Alternatively, you use the binary

Or use conda https://anaconda.org/conda-forge/petpvc

@BWWwustl
Copy link
Author

Thanks. I used the binary version to install the PETPVC.

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

2 participants