Hi All,
I am trying to install PDL 2.4.5 on my mac intel. I tried installing
OpenGL-0.61 first, but it complains about:
perl Makefile.PL
glversion.c:13:21: error: GL/glut.h: No such file or directory
glversion.c: In function 'main':
glversion.c:25: error: 'GLuint' undeclared (first use in this function)
glversion.c:25: error: (Each undeclared identifier is reported only once
glversion.c:25: error: for each function it appears in.)
glversion.c:25: error: syntax error before 'idWindow'
glversion.c:30: error: 'GLUT_RGBA' undeclared (first use in this function)
glversion.c:31: error: 'idWindow' undeclared (first use in this function)
glversion.c:35: error: 'GL_VERSION' undeclared (first use in this function)
glversion.c:36: error: 'GL_VENDOR' undeclared (first use in this function)
glversion.c:37: error: 'GL_RENDERER' undeclared (first use in this function)
glversion.c:38: error: 'GL_EXTENSIONS' undeclared (first use in this
function)
make: *** [glversion.o] Error 1
So I tried installing freeglut-2.4.0 as I read OpenGL has some
dependencies on it. However, after doing the .configure step, I tried
the make and it failed with :
make
make all-recursive
Making all in src
source='freeglut_callbacks.c' object='libglut_la-freeglut_callbacks.lo'
libtool=yes \
depfile='.deps/libglut_la-freeglut_callbacks.Plo'
tmpdepfile='.deps/libglut_la-freeglut_callbacks.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I../include -I/usr/X11/include -g -O2 -Wall -pedantic -Werror -c
-o libglut_la-freeglut_callbacks.lo `test -f freeglut_callbacks.c ||
echo './'`freeglut_callbacks.c
rm -f .libs/libglut_la-freeglut_callbacks.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11/include -g -O2
-Wall -pedantic -Werror -c freeglut_callbacks.c -MT
libglut_la-freeglut_callbacks.lo -MD -MP -MF
.deps/libglut_la-freeglut_callbacks.TPlo -fno-common -DPIC -o
.libs/libglut_la-freeglut_callbacks.lo
cc1: warnings being treated as errors
In file included from /usr/X11/include/X11/extensions/xf86vmode.h:39,
from freeglut_internal.h:101,
from freeglut_callbacks.c:29:
/usr/X11/include/X11/Xmd.h:155: warning: ISO C90 does not support 'long
long'
make[2]: *** [libglut_la-freeglut_callbacks.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Any suggestions ?
Thanks !
a
David Mertens wrote:
> On Wed, Nov 11, 2009 at 4:15 PM, Karl Glazebrook
> <[email protected] <mailto:[email protected]>> wrote:
>
> For reference I attach my notes on 'Building SciKarl' in case it
> is useful to someone
>
> Karl
>
>
> This could be very handy. I'll take a look at it and see if some of
> it should be wikified. :)
>
> David
> ------------------------------------------------------------------------
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>
--
-----------------------------
Dr. Antonio Hales
ALMA Commissioning Scientist
Joint ALMA Office
Av Apoquindo 3846 Piso 19
Santiago - Chile
-----------------------------
(+56) 2 467 6236
(+56) 9 6 2062609
-----------------------------
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl