Author Topic: win8 fortran Execution failed  (Read 1891 times)

Offline omid.eftekhar

  • Single posting newcomer
  • *
  • Posts: 1
win8 fortran Execution failed
« on: November 03, 2020, 01:08:39 pm »
Hi there,
I have a problem programming in fortran useing code blocks version 20.03 in Windows 8.
I do all the compiler(GNU fortran) and debugger configurations according to what I did in Windows 10, but when I try to compile the program, I see the following error.

-------------- Build: Debug in ftest (compiler: GNU Fortran Compiler)---------------

gfortran.exe -Jobj\Debug\ -Wall  -g     -c C:\Users\OMID-PC\Desktop\ftest\main.f90 -o obj\Debug\main.o
Execution of 'gfortran.exe -Jobj\Debug\ -Wall  -g     -c C:\Users\OMID-PC\Desktop\ftest\main.f90 -o obj\Debug\main.o' in 'C:\Users\OMID-PC\Desktop\ftest' failed.

This is while following the same path in Windows 10 programs can be compiled without any problems.
Does version 20.03 not work in Windows 8 ?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13439
    • Travis build status
Re: win8 fortran Execution failed
« Reply #1 on: November 03, 2020, 02:07:32 pm »
Sending PM to random people won't help you solve your problem faster.
(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 stahta01

  • Lives here!
  • ****
  • Posts: 7191
    • My Best Post
Re: win8 fortran Execution failed
« Reply #2 on: November 03, 2020, 07:21:29 pm »
Is the version of "gfortran.exe" the same on both computers?

NOTE: Code::Blocks is an IDE and not an Compiler and it is not an FORTRAN compiler either!

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
When in doubt, read the CB WiKi FAQ.