| Problem in including files in makefile [message #155969] |
Sun, 09 October 2005 23:49  |
Eclipse User |
|
|
|
Originally posted by: rajesh_pandey19.yahoo.com
Hi,
I am able to compile my simple programs but if try to use differnt
header files and try to include them through makefile, it seems it is not
identified and the files which are using those header files give an error
message like:
FirstFile.h:3:23: FirstFileDef.h: No such file or directory.
I have included as below in makefile.
INCLUDE = -I..$(DIRSLASH)FirstFile
Since I am new to this environment, kindly suggest where am I wrong.
|
|
|
| Re: Problem in including files in makefile [message #156595 is a reply to message #155969] |
Fri, 21 October 2005 13:46  |
Eclipse User |
|
|
|
What have you defined $(DIRSLASH) to be? Which make utility are you
using? If you are trying to use a backslash, you may need to escape it
with another backslash, i.e. DIRSLASH = '\\'. Or, make sure your make
utility accepts backslashes.
From the error you list, FirstFile.h is found in the include path, but
FirstFileDef.h is not - are they both in the ..\FirstFile path?
--John
Rajesh wrote:
> Hi,
> I am able to compile my simple programs but if try to use differnt
> header files and try to include them through makefile, it seems it is
> not identified and the files which are using those header files give an
> error message like:
> FirstFile.h:3:23: FirstFileDef.h: No such file or directory.
> I have included as below in makefile.
> INCLUDE = -I..$(DIRSLASH)FirstFile
> Since I am new to this environment, kindly suggest where am I wrong.
>
|
|
|
Powered by
FUDForum. Page generated in 0.02877 seconds