User forums > Help

compiler issiues

<< < (2/3) > >>

Willieham:
This is the error message


 -------------- Build: Debug in sdfa (compiler: GNU GCC Compiler)---------------

gcc -Wall -g -Wmain -pedantic-errors -pedantic -Wzero-as-null-pointer-constant -w -Wfatal-errors -Wextra -ansi -D#include <stdio.h>  -c /home/willaim/Desktop/programming/sdfa/main.c -o obj/Debug/main.o
/bin/sh: 1: cannot open stdio.h: No such file

oBFusCATed:
Why do you have this -D#include <stdio.h> in the command line?
Include directives are added to your source file, not in the C::B settings!

Willieham:
Its not in the command line. All of c program is done in the Code::Blocks IDE.

stahta01:

--- Quote from: Willieham on May 06, 2017, 01:04:08 am ---I installed the Binary release and the Mingw installer but the compiler still will not work.

--- End quote ---

Please state what OS you are talking about in each post; because what I read is you installed MinGW under the Linux OS.
This is NOT a good thing for a newbie to do!

Tim S.

stahta01:
Please confirm that you installed the  "build essential" package under the Linux OS!!

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version