Re: Pb including Xm.h

2003-07-08 Thread philippe guillaume
i think i found why it does not work ... there's two same-named files ! Myprog.h and myprog.h !!! Cygwin does not understand that this is two different files apparently ... oh la la la la :-( --- Elfyn McBratney <[EMAIL PROTECTED]> a écrit : > On Tue, 8 Jul 2003, [iso-8859-1] philippe guillaum

Re: Pb including Xm.h

2003-07-08 Thread Elfyn McBratney
On Tue, 8 Jul 2003, [iso-8859-1] philippe guillaume wrote: > here it is : > gcc -02 -gddb -Iblabla/include -c myprog.c Doesn't look like /usr/X11R6/include , does it? You need to add `-I/usr/X11R6/include' to that above command line. Elfyn -- Elfyn McBratney, E

Re: Pb including Xm.h

2003-07-08 Thread philippe guillaume
here it is : gcc -02 -gddb -Iblabla/include -c myprog.c and it produces this error : "In file included from myprog.c: blabla/myprog.h : Xm/Xm.h : No Such File Or Directory" --- Elfyn McBratney <[EMAIL PROTECTED]> a écrit : > On Tue, 8 Jul 2003, [iso-8859-1] philippe guillaume > wrote: > > > yes

Re: Pb including Xm.h

2003-07-08 Thread Elfyn McBratney
On Tue, 8 Jul 2003, [iso-8859-1] philippe guillaume wrote: > yes it is added like i told in the first post ... OK, can you send us the command that's failing? Elfyn > > > But when i installed cygwin, i installed all the > > > packages ... > > > And even if this package was not installed , why >

Re: Pb including Xm.h

2003-07-08 Thread philippe guillaume
yes it is added like i told in the first post ... --- Elfyn McBratney <[EMAIL PROTECTED]> a écrit : > On Tue, 8 Jul 2003, [iso-8859-1] philippe guillaume > wrote: > > > But when i installed cygwin, i installed all the > > packages ... > > And even if this package was not installed , why > the >

Re: Pb including Xm.h

2003-07-08 Thread Elfyn McBratney
On Tue, 8 Jul 2003, [iso-8859-1] philippe guillaume wrote: > But when i installed cygwin, i installed all the > packages ... > And even if this package was not installed , why the > file Xm.h is not found ? > I see it in /usr/X11R6/include/Xm/ > > I'm gonna try your solution If it's already there

Re: Pb including Xm.h

2003-07-08 Thread philippe guillaume
But when i installed cygwin, i installed all the packages ... And even if this package was not installed , why the file Xm.h is not found ? I see it in /usr/X11R6/include/Xm/ I'm gonna try your solution Thanks --- Elfyn McBratney <[EMAIL PROTECTED]> a écrit : > On Tue, 8 Jul 2003, [iso-8859-1]

Re: Pb including Xm.h

2003-07-08 Thread Elfyn McBratney
On Tue, 8 Jul 2003, [iso-8859-1] philippe guillaume wrote: > My program contains some include of "Xm/Xm.h" > > Libraries are defined like this : > INC_DIR_XLIB = /usr/X11R6/include > > and for compilation : > -I$(INC_DIR_LIB) > > I manage to compile it on Linux but not on Cygwin !!! > B