-
Notifications
You must be signed in to change notification settings - Fork 29
cmake No CMAKE_Fortran_COMPILER could be found. #6
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
Comments
I don't see how this issue relates to the action in this repo. Please checkout the packmol documentation on the instructions for building with CMake. |
https://cmake.org/cmake/help/latest/command/project.html Also people looking for solutions here for example: https://groups.google.com/g/comp.lang.fortran/c/Jna-QAHCOpk |
I didn't found in the issue that you have a problem using this action on Windows. That you are using this action on a Windows runner for creating a CMake build would be the information I needed to help. CMake compiler detection is another thing than being able to declare a Fortran project in CMake. The detection is platform specific and apparently different on Windows than on Unix platforms. Using |
Yeah, this didn't work (also noted in the links I've posted). The solution is to install some Visual Studio intel component, I guess I will just drop windows from testing. |
@w-bonelli thanks for the pointer. Can you provide an example of compiling on windows using Cmake in the test file? |
(Sorry for spamming with issues)
CMakeLists.txt header:
Step example:
Error:
See repo: https://github.com/afonari/packmol/
The text was updated successfully, but these errors were encountered: