How can I fix a Fortran compiling error?

  • Context: Fortran 
  • Thread starter Thread starter mechb05
  • Start date Start date
  • Tags Tags
    Error Fortran
Click For Summary

Discussion Overview

The discussion revolves around troubleshooting a Fortran compiling error encountered after installing gcc and SciTE. Participants explore potential issues related to environment variable settings and seek alternative methods for running Fortran code.

Discussion Character

  • Technical explanation, Debate/contested, Homework-related

Main Points Raised

  • One participant suggests that Windows may not be able to locate the Fortran compiler and recommends adding the compiler's directory path to the path environment variable.
  • Another participant questions the correctness of the path variable settings, noting that the provided screenshot was unclear and pointing out potential oddities in the path structure.
  • A later reply indicates that the original poster managed to resolve the issue by following a video tutorial, implying that there may be multiple ways to address the compiling error.

Areas of Agreement / Disagreement

Participants express differing views on whether the path variable is set correctly, indicating a lack of consensus on the issue. The discussion remains unresolved regarding the exact cause of the compiling error.

Contextual Notes

Limitations include unclear visibility of the path variable settings due to the quality of the screenshot and the potential for multiple configurations affecting the compiler's accessibility.

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: 513
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: 536
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
 

Similar threads

  • · Replies 17 ·
Replies
17
Views
7K
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
10K
Replies
8
Views
4K
Replies
14
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K