Fortran How can I fix a Fortran compiling error?

  • Thread starter Thread starter mechb05
  • Start date Start date
  • Tags Tags
    Error Fortran
AI Thread Summary
The discussion centers around issues faced after installing GCC and SciTE for Fortran programming. The user encountered an error when attempting to run basic code, suggesting that Windows could not locate the Fortran compiler. A common solution proposed was to add the compiler's directory path to the system's environment variable. Despite the user asserting that the path variable was already set, doubts were raised about its correctness, particularly regarding the directory structure shown in a screenshot. Ultimately, the user resolved the issue by following a tutorial on YouTube, indicating that video resources can be helpful for troubleshooting installation problems.
mechb05
Messages
3
Reaction score
0
I Just finished installing gcc and SciTE .

when i try to run a basic code ..the following error is returned(refer attached file)
many thanks


PS:I have saved fortarn.properties file in the installation folder of scyntilla
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    15.2 KB · Views: 487
Technology news on Phys.org
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:
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.


Hi Mark44
thanks for reply.

But the variable you are talking about is already set (refer the screenshot).

i think its something else.Can you suggest some other method of running fortran with good text editor as i am newbie...offcourse a freeone :P
 

Attachments

  • syntilla.jpg
    syntilla.jpg
    36.2 KB · Views: 520
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.
 
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.

Thanks MARK44

I somehow got it working by following a video on YOUTUBE
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Replies
17
Views
6K
Replies
1
Views
3K
Replies
5
Views
5K
Replies
5
Views
2K
Replies
1
Views
7K
Replies
2
Views
2K
Back
Top