Page 1 of 1

CL compiles all files independently

Posted: Mon Mar 13, 2017 9:25 am
by cristoferfb
Hi I am new in CodeLite, I create a new Project in C using GCC like compiler but when I run my project this compile all files independently of others, I have an main.h with all the require instruction and the other files don't know about this, for example i have a file example.c with the error:
use of undeclared identifier 'FILE'
but I require stdio.h in my main.h

I can compile my project without CL and works ¿what is the problem?

Re: CL compiles all files independently

Posted: Mon Mar 13, 2017 1:03 pm
by eranif
Please see the HOW TO POST thread (see my signature) and post all relevant information