Turn on Full Compiler Logging and maybe you can see your problem or some else can see it.
Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
Tim S.
D:\WorkingArea\Graphic\z-buffer\main.c|3|graphics.h: No such file or directory|
mingw32-gcc.exe: compiler: No such file or directory
mingw32-gcc.exe: logging=full command line: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 31 warnings
compiler search directories :c:\MinGW\bin
linker :d:\workingarea\graphic\z_buffer
link library :GRAPGICS.LIB
and GRAPHICS.LIB is already in linker directory!