PDA

View Full Version : Imakefile



04-14-2001, 03:47 AM
I found the source code for the redbook!
When i want to imake the source code, I get a pb.

I change the Imakefile as below:

TOP=/mysourcecode

INCLUDEDIR = /usr/include/GL

DEP_LIBRARIES = /usr/lib/libglut.a

LOCAL_LIBRARIES = $(DEP_LIBRARIES) -lXmu -lXext $(XLIB) -lGL -lGLU

INCLUDES = -I$(TOP) -I../.. -I$(INCLUDEDIR)/GL

AllTarget($(TARGETS) $(IMAGING_SUBSET))
.......

Atfer "imake", i get the error:

Imakefile.c:32: Imake.tmpl: No such file or directory
imake: Exit code 1.
Stop.

Please help!

rts
04-15-2001, 01:49 PM
You see, people name the file README for a very particular purpose... you are missing some stuff for your "imake" command: here is a quote from the README:



The Imakefile should generate a good Makefile with a simple
command such as:
% imake -DUseInstalled -I/usr/lib/X11/config


I did that and had no problems.