I tried compiling Debian package "xbs" (
http://packages.debian.org/unstable/science/xbs.html
ball and stick molecule modelling software) and
failed. It seems a trivial error. Apparently I don't
understand the X library in XDarwin. Following is the
Makefile and the error message. I'd appreciate any
suggestion.
Dong
Makefile
-------------------------------------------------------
CC = gcc
CFLAGS = -O3
LIBS = -lX11 -lm
LIBPATH = -L/usr/X11R6/lib
all: xbs.c
$(CC) $(CFLAGS) -o xbs xbs.c $(LIBPATH)
$(LIBS)
clean:
-rm *.o xbs
-------------------------------------------------------
Error message:
xbs.c:29: header file 'X11/X.h' not found
xbs.c:30: header file 'X11/Xlib.h' not found
xbs.c:31: header file 'X11/Xutil.h' not found
xbs.c:32: header file 'X11/keysym.h' not found
xbs.c:130: undefined type, found `Display'
xbs.c:131: undefined type, found `Window'
... ....
-------------------------------------------------------
xbs.c
-----------------------------------------
#include <X11/X.h>
#include "X11/Xlib.h"
#include <X11/Xutil.h>
#include <X11/keysym.h>
-----------------------------------------
__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners