Re: Re: compiling Motif (Lesstif) program

2003-03-07 Thread Klaus . Moschner
Hi Andrew, this missing -lSM was part of it. It still doesn't link correctly and this is the output now: $ gcc -c simple.c -o simple.o -I /usr/X11R6/include -L /usr/X11R6/lib/ $ gcc simple.o -o simple -I /usr/X11R6/include -L /usr/X11R6/lib/ -lXm -lXt -lSM -lX11 /usr/X11R6/lib//libXt.a(Shell.o)

compiling Motif (Lesstif) program

2003-03-06 Thread Klaus . Moschner
Hi, I just try learning X and Motif. I have a very simple program: ---snip--- #include #include #include main(int argc, char *argv[]) { Widget toplevel, msg; Arg al[10]; int ac; toplevel=XtInitialize(argv[0],"",NULL,0,&argc,argv); ac=0; XtSetArg(al[ac],XmNlabelString,XmStringCrea

Re: Antwort: Re: WMaker crashes when starting with startxwin.bat

2003-02-28 Thread Klaus . Moschner
Hi hjb, this was the sollution! Actually I had two problems: 1. When I installed cygwin, it didn't create a 'good' home directory. It cretared a directory '/usr/bin/%USERPROFILE%' because my Windows Home is on a different drive than my cygwin installation. 2. The correct path to HOME had to be set

Re: WMaker crashes when starting with startxwin.bat

2003-02-27 Thread Klaus . Moschner
JS, yes, you're probably right. But now the tricky question: How can I change the windows home to point to my $HOME in cygwin to solve that problem? Klaus > Hi Klaus, > > This answer probably won't help because I'm probably speaking rubbish, but > I > have got the same problem as you, so I kno

WMaker crashes when starting with startxwin.bat

2003-02-27 Thread Klaus . Moschner
Hi all, I just installed Cygwin using the Internet installation including XFree86 and wmaker. I can start X without any problem and I can start wmaker from the bash prompt. The only problem I have is with startxwin.bat. I changed the window manager in this file from twm to wmaker, but whenever I