[Gllug] Makefile for OpenGL / GLUT

Henry Gilbert henry.gilbert at gmail.com
Fri Jul 18 14:16:02 UTC 2008


2008/7/18 Andy Millar <andy at andymillar.co.uk>:
>> You weren't being ignored, but you were assuming that your %(LIBDIR) ??
>> would prompt me to change that to $(LIBDIR) instead
>> when I am new to the Makefile's syntax.
>
> You should have said :(
>
> I thought it would have been enough as you had used both $() and %() in your Makefile.
>

It's all pretty new to me, the only knowledge of Makefile I have is
how to change the subversion variable for recompiling a kernel.

Anyway, one of the exercises that doesn't require GL/glew.h and
bibutil.h gives the following error:

$make Exemplo3DOrto

g++ -I/usr/X11R6/include/ -L/usr/lib /usr/X11R6/lib  Exemplo3DOrto.cpp
-lglut -lGLU -lGL -lm -lpthread -lX11 -lXmu -lXi -o Exemplo3DOrto
/usr/X11R6/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
make: *** [Exemplo3DOrto] Error 1

So I think (or I hope) we are getting close.

regards

Henry
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list