Author Topic: Setting a Fortran compiler in CodeBlocks  (Read 117 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

Online gd_on

  • Regular
  • ***
  • Posts: 488
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 10, svn C::B (last version or almost!), WxWidgets 3.1.3, Compilers 8.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\MinGW64) or 32 bits (sjlj, posix in C:\MinGW32).