Hi JonY,
Hi,
try changing "gcc -c hello.c" by adding "-I." or use '#include "F1.H"' 
instead.
This works! Thanks.

Now I´ve copied Fl.H to another directory: C:\Programme\FEM_GMSH\fltk-1.1.9\FL .
And I have changed the Makefile to:
hello: hello.c C:\Programme\FEM_GMSH\fltk-1.1.9\FL\Fl.H
    gcc -c hello.c -I. -I/c/Programme/FEM_GMSH/fltk-1.1.9/FL


But again I get the message "No such file or directory":
$ make
gcc -c hello.c -I. -I/c/Programme/FEM_GMSH/fltk-1.1.9/FL
hello.c:3:16: Fl.H: No such file or directory
C:\Programme\Dev-Cpp\bin\make.exe: *** [hello] Error 1

What´s wrong now?


 
Greetings,

Michael Glockenmeier

----------------------------------------------
Fa. Michael Glockenmeier
Dipl.-Ing. Michael Glockenmeier
Hauptstr. 55 c
D-86926 Greifenberg
Germany

Tel ++49 (0) 8192/933 185
Fax ++49 (0) 8192/933 186
Email mglocken@aol.com

Visit my site: www.femcfd.com


-----Ursprüngliche Mitteilung-----
Von: JonY <10walls@gmail.com>
An: MSYS Discussion List <mingw-msys@lists.sourceforge.net>
Verschickt: Sa., 19. Jul. 2008, 15:08
Thema: Re: [Mingw-msys] make - file not found

mglocken@aol.com wrote:
> Hello,
>
> I´m trying to compile a little hello.c file with gcc running make.
>
> hello.c:
> #include <stdio.h>
> #include <Fl.H>
> int
> main ()
> {
> printf ("***********\n");
> printf ("Hello world1\n");
> printf ("***********\n");
> }
>
>
> Makefile:
> hello.o: hello.c Fl.H
> gcc -c hello.c
>
> hello.c, Fl.H and Makefile are in the same directory form where I´m
> running make.
>
> On MSYS shell I get this response:
> $ make
> gcc -c hello.c
> hello.c:3:16: Fl.H: No such file or directory
> C:\Programme\Dev-Cpp\bin\make.exe: *** [hello.o] Error 1
>
>
> After commenting out the line with #include <Fl.H> everything works
> fine. Why do I get the error message above?
>
>
>
> My system: WinXP SP2, MingW (installed with Dev-CPP V4.9.9.2) and MSYS
>
> Greetings,
>
> Michael Glockenmeier
>

Hi,
try changing "gcc -c hello.c" by adding "-I." or use '#include "F1.H"' 
instead.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mingw-msys mailing list
Mingw-msys@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-msys

AOL eMail auf Ihrem Handy!Ab sofort können Sie auch unterwegs Ihre AOL email abrufen. Registrieren Sie sich jetzt kostenlos.