CL compiles all files independently

CodeLite installation/troubleshooting forum
cristoferfb
CodeLite Curious
Posts: 1
Joined: Mon Mar 13, 2017 9:16 am
Genuine User: Yes
IDE Question: C++
Contact:

CL compiles all files independently

Post 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?
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: CL compiles all files independently

Post by eranif »

Please see the HOW TO POST thread (see my signature) and post all relevant information
Make sure you have read the HOW TO POST thread
Post Reply