Skip to content

No CMake_Fortran_COMPILER could be found. #135

Answered by ngoiz
jas220 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

I might be wrong on this but let's try a few things. I assume you have gfortran installed. If you run on the shell which gfortran what do you get?

The issue that CMAKE is showing is that it cannot find the compiler, you can manually specify where to look for it by running:
FC=/path/to/gfortran CXX=path/to/gcc cmake ..

Give this a go see if it works. If not we'll try and figure something out

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@jas220
Comment options

@fonsocarre
Comment options

@jas220
Comment options

@jas220
Comment options

@ngoiz
Comment options

Answer selected by ArturoMS13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants