i have MOTIF installed X11
a easy program is saved as hello.c
there is the following message
where can i get the X11/intrinsic.h , file ???
need help to compile
my system : MX-16 Linux Debian Jessie / i386
hans@mx1:~/Documents
$ cc push.c -o push -lXm -lXt -lX11
In file included from push.c:2:0:
/usr/include/Xm/Xm.h:59:27: fatal error: X11/Intrinsic.h: No such file or directory
#include <X11/Intrinsic.h>
^
compilation terminated.
hans@mx1:~/Documents
---------- Post updated at 10:20 PM ---------- Previous update was at 09:18 PM ----------
i have installed ALL libxt-dev upgrades and packages. Now it compiles. There are the following messages :#############################################################################
root@mx1:/home/hans/Documents# cc push.c -o push -lXm -lXt -lX11
push.c: In function �main�:
push.c:25:48: warning: passing argument 3 of �XtAddCallback� from incompatible pointer type
XtAddCallback(button, XmNactivateCallback, pushed_fn, NULL);
^
In file included from /usr/include/Xm/Xm.h:59:0,
from push.c:2:
/usr/include/X11/Intrinsic.h:1241:13: note: expected �XtCallbackProc� but argument is of type �void (*)(struct _WidgetRec *, void *, struct XmPushButtonCallbackStruct *)�
extern void XtAddCallback(
^
push.c: In function �pushed_fn�:
push.c:35:6: warning: incompatible implicit declaration of built-in function �printf�
printf("Don't Push Me!!\n");
^
root@mx1:/home/hans/Documents#