Author Topic: Setting a Fortran compiler in CodeBlocks  (Read 5905 times)

Offline COQ

  • Multiple posting newcomer
  • *
  • Posts: 11
Setting a Fortran compiler in CodeBlocks
« on: November 05, 2019, 04:39:53 pm »
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

Offline gd_on

  • Lives here!
  • ****
  • Posts: 797
Re: Setting a Fortran compiler in CodeBlocks
« Reply #1 on: November 05, 2019, 05:08:01 pm »
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
« Last Edit: November 05, 2019, 05:09:56 pm by gd_on »
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).