From: Mark W. <di...@ho...> - 2000-05-24 20:01:20
|
I have a couple of possibly easy questions to answer about the Mesa 3.2 code. I'm trying to compile it on an AIX system and am not sure I have been successful. After compilation, I set the library and include directories, then tried to compile an OpenGL/GLUT program but found that there is no GL/glut.h file in the include directory. Also, I noticed that there is no library file libglut.a in the lib directory. I thought that GLUT was included in this release of Mesa? Is it located somewhere else or do I have to separately download the GLUT stuff to compile it? I saw bug report #105057 which said you have to compile GLUT separately in the src-glut directory, but I don't have that directory (I do have a src-glu directory). This may not be related, but I'm getting a number of warning messages (which I'm not too concerned about yet) and an error message (which appears to be benign but I'm not sure). I've included the last part of the output from doing a "make aix" for reference. Note that I changed the compiler from cc to gcc. ***************************************************************** gcc -c -I../include -O -DAIXV3 quadric.c gcc -c -I../include -O -DAIXV3 tess.c In file included from tess.c:40: tess.h:124: warning: inline declaration ignored for function with `...' tess.c:523: warning: inline declaration ignored for function with `...' gcc -c -I../include -O -DAIXV3 tess_fist.c In file included from tess_fist.c:44: tess.h:124: warning: inline declaration ignored for function with `...' gcc -c -I../include -O -DAIXV3 tess_hash.c In file included from tess_hash.c:41: tess.h:124: warning: inline declaration ignored for function with `...' gcc -c -I../include -O -DAIXV3 tess_heap.c In file included from tess_heap.c:41: tess.h:124: warning: inline declaration ignored for function with `...' gcc -c -I../include -O -DAIXV3 tess_winding.c In file included from tess_winding.c:41: tess.h:124: warning: inline declaration ignored for function with `...' gcc -c -I../include -O -DAIXV3 tess_clip.c In file included from tess_clip.c:48: tess.h:124: warning: inline declaration ignored for function with `...' ../bin/mklib.ar-ruv libGLU.a 1 2 030200 glu.o mipmap.o nurbs.o nurbscrv. o nurbssrf.o nurbsutl.o project.o quadric.o tess.o tess_fist.o tess_hash.o tess_ heap.o tess_winding.o tess_clip.o ar: Creating an archive file libGLU.a. mv libGLU.a* ../lib Target "targets" is up to date. if [ -d src-glut ] ; then cd src-glut ; make -f Makefile.X11 aix ; fi if [ -d demos ] ; then cd demos ; make -f Makefile.X11 aix ; fi if [ -d xdemos ] ; then cd xdemos ; make -f Makefile.X11 aix ; fi if [ -d samples ] ; then cd samples ; make -f Makefile.X11 aix ; fi if [ -d book ] ; then cd book ; make -f Makefile.X11 aix ; fi if [ -d widgets-sgi ] ; then cd widgets-sgi; make -f Makefile.X11 aix ; fi make -f Makefile.X11 targets "GL_LIB = libGL.a" "GLU_LIB = libGLU.a" "GLUT_LIB = libglut.a" "GLW_LIB = libGLw.a" "CC = gcc" "CFLAGS = -O -DAIXV3" "MAKELIB = ../bin/mklib.ar-ruv" "XLIBS = -lX11 -lXext -lXmu -lXi -lm" ../bin/mklib.ar-ruv libGLw.a 1 0 0 GLwDrawA.o ar: Creating an archive file libGLw.a. mv libGLw.a* ../lib mv *.a ../lib mv: 0653-401 Cannot rename *.a to ../lib/*.a: A file or directory in the path name does not exist. make: 1254-004 The error code from the last command is 1. make: 1254-005 Ignored error code 1 from last command. Target "targets" is up to date. ****************************************************************** |