Author Topic: initial error  (Read 37 times)

Online return

  • Single posting newcomer
  • *
  • Posts: 2
initial error
« on: Today at 03:58:03 pm »
excuse me, but I am having trouble getting started. I install MinGW fortran on a windows laptop Codeblocks. I am trying a simple print test project and getting error messages.

Checking for existence: C:\Users\fempo\Documents\new projects\hello\main.exe

-------------- Build file: "no target" in "no project" (compiler: unknown)---------------

g++.exe   -c "C:\Users\fempo\Documents\new projects\hello\main.f90" -o "C:\Users\fempo\Documents\new projects\hello\main.o"
Execution of 'g++.exe   -c "C:\Users\fempo\Documents\new projects\hello\main.f90" -o "C:\Users\fempo\Documents\new projects\hello\main.o"' in 'C:\Users\fempo\Documents\new projects\hello' failed.
Checking for existence: C:\Users\fempo\Documents\new projects\hello\main.exe

-------------- Build file: "no target" in "no project" (compiler: unknown)---------------

g++.exe   -c "C:\Users\fempo\Documents\new projects\hello\main.f90" -o "C:\Users\fempo\Documents\new projects\hello\main.o"
Execution of 'g++.exe   -c "C:\Users\fempo\Documents\new projects\hello\main.f90" -o "C:\Users\fempo\Documents\new projects\hello\main.o"' in 'C:\Users\fempo\Documents\new projects\hello' failed.
Checking for existence: C:\Users\fempo\Documents\new projects\hello\main.exe

-------------- Build file: "no target" in "no project" (compiler: unknown)---------------

g++.exe   -c "C:\Users\fempo\Documents\new projects\hello\main.f90" -o "C:\Users\fempo\Documents\new projects\hello\main.o"
Execution of 'g++.exe   -c "C:\Users\fempo\Documents\new projects\hello\main.f90" -o "C:\Users\fempo\Documents\new projects\hello\main.o"' in 'C:\Users\fempo\Documents\new projects\hello' failed.
Checking for existence: C:\Users\fempo\Documents\new projects\hello\main.exe


Can someone help?

Offline Miguel Gimenez

  • Lives here!
  • ****
  • Posts: 796
Re: initial error
« Reply #1 on: Today at 05:12:27 pm »
Looks like you have not set up the compiler, follow these instructions.

Also, you should create a project for better results.

Online return

  • Single posting newcomer
  • *
  • Posts: 2
Re: initial error
« Reply #2 on: Today at 06:27:01 pm »
I followed those instructions and Codeblocks has already identified the compiler?