[R] Compilation error on installing rgl package

Kenneth Lo ken_great at yahoo.com
Wed Feb 20 22:54:35 CET 2008


Hi all,

I encountered difficulties when I tried to install the
rgl package.  I'm using R devel (2.7.0) on Mac OS X
10.5.1.  Below is the message popping up when
compiling the package from source.

I'd be grateful if someone can help me solve the
problem.

Thanks,
Kenneth

* Installing *source* package 'rgl' ...
checking for gcc... gcc -arch x86_64 -std=gnu99
checking for C compiler default output file name...
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler...
yes
checking whether gcc -arch x86_64 -std=gnu99 accepts
-g... yes
checking for gcc -arch x86_64 -std=gnu99 option to
accept ANSI C... none needed
checking how to run the C preprocessor... gcc -arch
x86_64 -std=gnu99 -E
checking for gcc... (cached) gcc -arch x86_64
-std=gnu99
checking whether we are using the GNU C compiler...
(cached) yes
checking whether gcc -arch x86_64 -std=gnu99 accepts
-g... (cached) yes
checking for gcc -arch x86_64 -std=gnu99 option to
accept ANSI C... (cached) none needed
checking for libpng-config... yes
configure: using libpng-config
configure: using libpng dynamic linkage
checking for X... libraries /usr/X11/lib, headers
/usr/X11/include
checking for glEnd in -lGL... yes
checking for gluProject in -lGLU... yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c BBoxDeco.cpp -o BBoxDeco.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c Background.cpp -o Background.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c Color.cpp -o Color.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c Disposable.cpp -o Disposable.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c FaceSet.cpp -o FaceSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c Light.cpp -o Light.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c LineSet.cpp -o LineSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c LineStripSet.cpp -o
LineStripSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c Material.cpp -o Material.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c PointSet.cpp -o PointSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c PrimitiveSet.cpp -o
PrimitiveSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c QuadSet.cpp -o QuadSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c RenderContext.cpp -o
RenderContext.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c Shape.cpp -o Shape.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c SphereMesh.cpp -o SphereMesh.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c SphereSet.cpp -o SphereSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c SpriteSet.cpp -o SpriteSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c String.cpp -o String.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c Surface.cpp -o Surface.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c TextSet.cpp -o TextSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c Texture.cpp -o Texture.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c TriangleSet.cpp -o TriangleSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c Viewpoint.cpp -o Viewpoint.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c api.cpp -o api.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c assert.cpp -o assert.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c callbacks.cpp -o callbacks.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c device.cpp -o device.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c devicemanager.cpp -o
devicemanager.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c fps.cpp -o fps.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c geom.cpp -o geom.o
gcc -arch x86_64 -std=gnu99
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include  
-I/usr/local/include -fPIC  -g -O2 -c gl2ps.c -o
gl2ps.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c glgui.cpp -o glgui.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c gui.cpp -o gui.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c init.cpp -o init.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c math.cpp -o math.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c osxgui.cpp -o osxgui.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c osxlib.cpp -o osxlib.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c par3d.cpp -o par3d.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c pixmap.cpp -o pixmap.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c render.cpp -o render.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c rglview.cpp -o rglview.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c scene.cpp -o scene.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c select.cpp -o select.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c win32gui.cpp -o win32gui.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c win32lib.cpp -o win32lib.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c x11gui.cpp -o x11gui.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-I/System/Library/Frameworks/OpenGL.framework/Headers 
-DHAVE_PNG_H -I/usr/local/include/libpng12
-I/usr/X11/include -DDarwin -DNO_GL_PREFIX
-I/usr/X11R6/include -Iext -I/usr/local/include   -g
-O2 -fPIC  -g -O2 -c x11lib.cpp -o x11lib.o
g++ -arch x86_64 -dynamiclib
-Wl,-headerpad_max_install_names  -undefined
dynamic_lookup -single_module -multiply_defined
suppress -L/usr/local/lib -o rgl.so BBoxDeco.o
Background.o Color.o Disposable.o FaceSet.o Light.o
LineSet.o LineStripSet.o Material.o PointSet.o
PrimitiveSet.o QuadSet.o RenderContext.o Shape.o
SphereMesh.o SphereSet.o SpriteSet.o String.o
Surface.o TextSet.o Texture.o TriangleSet.o
Viewpoint.o api.o assert.o callbacks.o device.o
devicemanager.o fps.o geom.o gl2ps.o glgui.o gui.o
init.o math.o osxgui.o osxlib.o par3d.o pixmap.o
render.o rglview.o scene.o select.o win32gui.o
win32lib.o x11gui.o x11lib.o -lGLU -lGL -framework
OpenGL  -L/usr/local/lib -lpng12 -L/usr/X11/lib -lX11 
-F/Library/Frameworks/R.framework/.. -framework R
-Wl,-framework -Wl,CoreFoundation
mkdir Temp
mv *.o Temp
MAKINGAGL=TRUE
/Library/Frameworks/R.framework/Resources/bin/R CMD
SHLIB  -o aglrgl.so *.cpp *.c
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
BBoxDeco.cpp -o BBoxDeco.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
Background.cpp -o Background.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
Color.cpp -o Color.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
Disposable.cpp -o Disposable.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
FaceSet.cpp -o FaceSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
Light.cpp -o Light.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
LineSet.cpp -o LineSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
LineStripSet.cpp -o LineStripSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
Material.cpp -o Material.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
PointSet.cpp -o PointSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
PrimitiveSet.cpp -o PrimitiveSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
QuadSet.cpp -o QuadSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
RenderContext.cpp -o RenderContext.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
Shape.cpp -o Shape.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
SphereMesh.cpp -o SphereMesh.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
SphereSet.cpp -o SphereSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
SpriteSet.cpp -o SpriteSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
String.cpp -o String.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
Surface.cpp -o Surface.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
TextSet.cpp -o TextSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
Texture.cpp -o Texture.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
TriangleSet.cpp -o TriangleSet.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
Viewpoint.cpp -o Viewpoint.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
api.cpp -o api.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
assert.cpp -o assert.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
callbacks.cpp -o callbacks.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
device.cpp -o device.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
devicemanager.cpp -o devicemanager.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
fps.cpp -o fps.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
geom.cpp -o geom.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
glgui.cpp -o glgui.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
gui.cpp -o gui.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
init.cpp -o init.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
math.cpp -o math.o
g++ -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include
-DHAVE_PNG_H -I/usr/local/include/libpng12
-DRGL_USE_CARBON
-I/System/Library/Frameworks/AGL.framework/Headers
-Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2 -c
osxgui.cpp -o osxgui.o
osxgui.cpp: In constructor
‘gui::OSXWindowImpl::OSXWindowImpl(gui::Window*)’:
osxgui.cpp:74: error: ‘CreateNewWindow’ was not
declared in this scope
osxgui.cpp:78: error: ‘kEventWindowDrawContent’ was
not declared in this scope
osxgui.cpp:91: error: ‘GetWindowEventTarget’ was not
declared in this scope
osxgui.cpp: In member function ‘virtual void
gui::OSXWindowImpl::setTitle(const char*)’:
osxgui.cpp:111: error: ‘SetWindowTitleWithCFString’
was not declared in this scope
osxgui.cpp: In member function ‘virtual void
gui::OSXWindowImpl::setWindowRect(int, int, int,
int)’:
osxgui.cpp:119: error: ‘MoveWindow’ was not declared
in this scope
osxgui.cpp:120: error: ‘SizeWindow’ was not declared
in this scope
osxgui.cpp: In member function ‘virtual void
gui::OSXWindowImpl::getWindowRect(int*, int*, int*,
int*)’:
osxgui.cpp:126: error: ‘GetWindowBounds’ was not
declared in this scope
osxgui.cpp: In member function ‘virtual void
gui::OSXWindowImpl::destroy()’:
osxgui.cpp:135: error: ‘DisposeWindow’ was not
declared in this scope
osxgui.cpp: In member function ‘void
gui::OSXWindowImpl::init_glfont()’:
osxgui.cpp:160: warning: ‘aglUseFont’ is deprecated
(declared at
/System/Library/Frameworks/AGL.framework/Headers/agl.h:383)
osxgui.cpp:168: warning: ‘aglUseFont’ is deprecated
(declared at
/System/Library/Frameworks/AGL.framework/Headers/agl.h:383)
osxgui.cpp: In member function ‘void
gui::OSXWindowImpl::init_gl()’:
osxgui.cpp:191: warning: ‘aglSetDrawable’ is
deprecated (declared at
/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
osxgui.cpp:191: error: ‘GetWindowPort’ was not
declared in this scope
osxgui.cpp: In member function ‘virtual void
gui::OSXWindowImpl::update()’:
osxgui.cpp:223: error: ‘InvalWindowRect’ was not
declared in this scope
osxgui.cpp: In member function ‘virtual void
gui::OSXWindowImpl::show()’:
osxgui.cpp:229: error: ‘ShowWindow’ was not declared
in this scope
osxgui.cpp:230: error: ‘GetWindowBounds’ was not
declared in this scope
osxgui.cpp: In member function ‘virtual void
gui::OSXWindowImpl::bringToTop(int)’:
osxgui.cpp:237: error: ‘BringToFront’ was not declared
in this scope
osxgui.cpp: In member function ‘OSStatus
gui::OSXWindowImpl::windowHandler(OpaqueEventHandlerCallRef*,
OpaqueEventRef*)’:
osxgui.cpp:261: error: ‘kEventWindowDrawContent’ was
not declared in this scope
osxgui.cpp:270: error: ‘GetWindowBounds’ was not
declared in this scope
make[1]: *** [osxgui.o] Error 1
make: *** [aglrgl.so] Error 2
chmod:
/Library/Frameworks/R.framework/Resources/library/rgl/libs/*:
No such file or directory
ERROR: compilation failed for package 'rgl'




      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page.



More information about the R-help mailing list