Author Topic: Compiling, running, anything to do with Fortan  (Read 2935 times)

Offline fgw

  • Single posting newcomer
  • *
  • Posts: 3
Compiling, running, anything to do with Fortan
« on: October 16, 2017, 09:51:54 am »
I keep getting this message "Goto "Settings->Compiler...->Global compiler settings->GNU Fortran Compiler->Toolchain executables" and fix the compiler's setup." when attempting to run / compile even the default 'Hello World' fortran program. Does anyone know what it means? And more importantly could you please shed any light on how to fix it? I've been into the settings but I'm not that familiar with Code blocks yet that I can make head not tail of that message and what I should be changing. I have used the search feature on here but I didn't find anything that helped.

Any help would be gratefully received. Thanks in advance.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Compiling, running, anything to do with Fortan
« Reply #1 on: October 16, 2017, 09:56:56 am »
It means you likely do not have a [FORTRAN] compiler installed.
Or, Code::Blocks needs configured to find the compiler.

Tim S.
 
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline fgw

  • Single posting newcomer
  • *
  • Posts: 3
Re: Compiling, running, anything to do with Fortan
« Reply #2 on: October 16, 2017, 10:27:42 am »
I should add that when I go into the Compiler settings the GNU Fortran Compiler is selected...I thought that meant that Code blocks came with this installed.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Compiling, running, anything to do with Fortan
« Reply #3 on: October 16, 2017, 11:49:37 am »
Nope, it doesn't come with preinstall fortran compiler.
You need to install one of the supported compilers.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline fgw

  • Single posting newcomer
  • *
  • Posts: 3
Re: Compiling, running, anything to do with Fortan
« Reply #4 on: October 17, 2017, 10:19:05 am »
Got the GNU Fortran Compiler added into Code blocks now and saved the environment so it doesn't keep reverting to C++ compiler.  :)