Imakefile

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!

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.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.