- #1
Mark44 said:It appears to me that Windows doesn't know how to find your compiler. You need to add the directory path for the Fortran compiler to the path environment variable. Here's a link that might help if you don't know how to do this: http://www.computerhope.com/issues/ch000549.htm.
Mark44 said:I'm not convinced that you have the path variable set correctly. The screen shot was pretty small, so was hard to read. The 2nd item looks like C:\gcc\libexec\gcc\686pc...
Does this actually refer to a directory on your computer? The two gcc parts in the path seem odd to me.
A Fortran compiling error is an error that occurs when a program written in the Fortran programming language fails to compile, or translate, into machine code that the computer can understand and execute. This can happen due to syntax errors, logical errors, or issues with the compiler itself.
Some common causes of Fortran compiling errors include syntax errors, such as missing or incorrect punctuation, logical errors, such as incorrect use of variables or control structures, and issues with the compiler, such as outdated or incompatible versions.
To fix a Fortran compiling error, you will need to carefully review your code for any syntax or logical errors and make the necessary corrections. You may also need to update your compiler or use a different compiler if the issue persists.
This error typically occurs when there is a missing or incorrect END statement in your code. The END statement is used to indicate the end of a program, subroutine, or function in Fortran. Make sure all of your END statements are properly placed and match the corresponding program structures.
There are a variety of resources available for troubleshooting Fortran compiling errors, including online forums, documentation and manuals for Fortran compilers, and experienced programmers who may be able to provide guidance and support. Additionally, some compilers may have built-in features for identifying and resolving common compiling errors.