News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Setting a Fortran compiler in CodeBlocks

Started by COQ, November 05, 2019, 04:39:53 PM

Previous topic - Next topic

COQ

Hi everybody,

Sorry for my english but Im french and I'm not accustomed to English writing. I'm a new user with codeblocks. I installed it today and I would like to use it to build Fortran Project using the gfortran compiler.  My version of gfortran compiler was installed using the installation application "gcc-8.3.0-64.exe". When I try to build and run my first project, I have an error : "Can't find compiler executable in your configured search path's for GNU Fortran COMPILER ". Yet I have specified the right paths in the search directories of the Compiler settings (Setting-->Compiler of the menu bar)

Does anyone knows how to solve this problem ?

Thank by advance for your help.

COQ

gd_on

#1
for example have a look on https://mypvt.xyz/gtk-fortran/
or on youtube : https://www.youtube.com/watch?v=b-9cBnnczNE
and adapt to your paths names
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).