Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Imakefile

  1. #1
    Guest

    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!

  2. #2
    Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    433

    Re: Imakefile

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •