News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Compiling, running, anything to do with Fortan

Started by fgw, October 16, 2017, 09:51:54 AM

Previous topic - Next topic

fgw

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.

stahta01

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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

fgw

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.

oBFusCATed

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!]

fgw

Got the GNU Fortran Compiler added into Code blocks now and saved the environment so it doesn't keep reverting to C++ compiler.  :)