[R-SIG-Mac] rgl broken with 2.15.1?

Duncan Murdoch murdoch.duncan at gmail.com
Thu Jul 12 15:47:08 CEST 2012


On 12/07/2012 9:36 AM, peter dalgaard wrote:
> (Why do we get an identical post 2 weeks later??)
>
> I see slightly different trouble:
>
> > library(rgl)
> Error : .onLoad failed in loadNamespace() for 'rgl', details:
>    call: dyn.load(file, DLLpath = DLLpath, ...)
>    error: unable to load shared object '/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgl/libs/x86_64/aglrgl.so':
>    dlopen(/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgl/libs/x86_64/aglrgl.so, 6): Symbol not found: __ZN3gui13OSXGUIFactory12hasEventLoopEv
>    Referenced from: /Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgl/libs/x86_64/aglrgl.so
>    Expected in: dynamic lookup
>
> Error: package/namespace load failed for ‘rgl’
> -------------
>
> The odd thing is, it happens only in R.app 64 bit, not in 32 bit and not in R64 in Terminal.app.  Same pattern was present in 2.15.0.

The workaround for the problem you're seeing is just to delete the 
aglrgl.so library.  It doesn't work on the latest OSX release in 64 
bits.  (I suspect that's caused by rgl using an API that Apple no longer 
offers, but I don't know a fix.)  The command line version uses the X11 
driver, and R.app 64 bit will fall back to that if aglrgl.so is not found.

I don't know what's causing Michael's problem and doubt if the same 
workaround would help, but it probably wouldn't hurt.

Duncan Murdoch
>
>
>
>
> On Jun 29, 2012, at 18:39 , Michael Kubovy wrote:
>
> >> sessionInfo()
> > R version 2.15.1 (2012-06-22)
> > Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
> >
> > locale:
> > [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
> >
> > attached base packages:
> > [1] datasets  splines   utils     stats     graphics  grDevices methods   base
> >
> > other attached packages:
> > [1] DiceEval_1.1        DiceKriging_1.3.3   BiocInstaller_1.4.7 ctv_0.7-4           sos_1.3-4           brew_1.0-6          Hmisc_3.9-3         survival_2.36-14
> > [9] MASS_7.3-19
> >
> > loaded via a namespace (and not attached):
> > [1] cluster_1.14.2 grid_2.15.1    lattice_0.20-6 tools_2.15.1
> > ############## FROM BINARY #############
> >> install.packages('rgl')
> > trying URL 'http://lib.stat.cmu.edu/R/CRAN/bin/macosx/leopard/contrib/2.15/rgl_0.92.880.tgz'
> > Content type 'application/x-gzip' length 10757858 bytes (10.3 Mb)
> > opened URL
> > ==================================================
> > downloaded 10.3 Mb
> >
> >
> > The downloaded binary packages are in
> > 	/var/folders/gm/j372x16n747504v9j8nvwryr0000gn/T//RtmpxtW0O1/downloaded_packages
> >> library(rgl)
> > Error in get(Info[i, 1], envir = env) :
> >  internal error -3 in R_decompress1
> > Error: package/namespace load failed for Œrgl‚
> > ############## FROM SOURCE #############
> >> install.packages('rgl', type = 'source' )
> > trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/rgl_0.92.880.tar.gz'
> > Content type 'application/x-gzip' length 1742168 bytes (1.7 Mb)
> > opened URL
> > ==================================================
> > downloaded 1.7 Mb
> > ######### ... ##############
> > * installing *source* package Œrgl‚ ...
> > ** package Œrgl‚ successfully unpacked and MD5 sums checked
> > checking for gcc... gcc -arch x86_64 -std=gnu99
> > checking whether the C compiler works... yes
> > checking for C compiler default output file name... a.out
> > checking for suffix of executables... checking whether we are cross compiling... no
> > 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 ISO C89... 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 ISO C89... (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
> > checking for glEnd in -lGL... yes
> > checking for gluProject in -lGLU... yes
> > checking for freetype-config... yes
> > configure: using Freetype and FTGL
> > configure: creating ./config.status
> > config.status: creating src/Makevars
> > ** libs
> > *** arch - x86_64
> > g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/include -Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2  -c ABCLineSet.cpp -o ABCLineSet.o
> > g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/include -Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2  -c PlaneSet.cpp -o PlaneSet.o
> > g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/include -Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2  -c ftgl.cpp -o ftgl.o
> > g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/include -Iext -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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/include -Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2  -c glErrors.cpp -o glErrors.o
> > g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/include -Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2  -c rglmath.cpp -o rglmath.o
> > g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/include -Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2  -c x11gui.cpp -o x11gui.o
> > x11gui.cpp: In constructor Œgui::X11GUIFactory::X11GUIFactory(const char*)‚:
> > x11gui.cpp:468: warning: deprecated conversion from string constant to Œchar*‚
> > g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng14 -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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 ABCLineSet.o BBoxDeco.o Background.o Color.o Disposable.o Light.o LineSet.o LineStripSet.o Material.o PlaneSet.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 Viewpoint.o api.o assert.o callbacks.o device.o devicemanager.o fps.o ftgl.o geom.o gl2ps.o glErrors.o glgui.o gui.o init.o par3d.o pixmap.o render.o rglmath.o rglview.o scene.o select.o win32gui.o win32lib.o x11gui.o x11lib.o -lGLU -lGL -framework OpenGL -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -L/usr/local/lib -lpng14 -L/usr/X11/lib -lX11 -L/usr/local/lib -lfreetype -lz -lbz2 -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
> > mkdir Temp
> > mv x11*.o Temp
> > mkdir -p AGL
> > mv AGL/* .
> > MAKINGAGL=TRUE /Library/Frameworks/R.framework/Resources/bin/R CMD SHLIB  -o aglrgl.so *.cpp *.c \
> > 		osx/*.mm osx/*.cpp
> > g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -DHAVE_PNG_H -I/usr/local/include/libpng14 -DRGL_USE_COCOA -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/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/x86_64 -DNDEBUG -DHAVE_PNG_H -I/usr/local/include/libpng14 -DRGL_USE_COCOA -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/include -Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2  -c x11lib.cpp -o x11lib.o
> > g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -DHAVE_PNG_H -I/usr/local/include/libpng14 -DRGL_USE_COCOA -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/include/freetype2 -I/usr/local/include -Iext -I/usr/local/include   -g -O2 -fPIC  -g -O2  -c osx/osxlib.cpp -o osx/osxlib.o
> > g++ -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o aglrgl.so ABCLineSet.o BBoxDeco.o Background.o Color.o Disposable.o Light.o LineSet.o LineStripSet.o Material.o PlaneSet.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 Viewpoint.o api.o assert.o callbacks.o device.o devicemanager.o fps.o ftgl.o geom.o glErrors.o glgui.o gui.o init.o par3d.o pixmap.o render.o rglmath.o rglview.o scene.o select.o win32gui.o win32lib.o x11gui.o x11lib.o gl2ps.o osx/osxgui.o osx/osxlib.o -L/usr/local/lib -lpng14 -framework Cocoa -L/usr/local/lib -lfreetype -lz -lbz2 -lobjc -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
> > ld: warning: ignoring file osx/osxgui.o, file was built for i386 which is not the architecture being linked (x86_64)
> > mv x11*.o AGL
> > mv Temp/* .
> > rm -rf Temp
> > installing to /Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgl/libs/x86_64
> > ** R
> > ** demo
> > ** inst
> > ** preparing package for lazy loading
> > ** help
> > *** installing help indices
> > ** building package indices
> > ** testing if installed package can be loaded
> > ######### ... ##############
> > * DONE (rgl)
> >
> > The downloaded source packages are in
> > 	Œ/private/var/folders/gm/j372x16n747504v9j8nvwryr0000gn/T/RtmpxtW0O1/downloaded_packages‚
> >> library(rgl)
> > Error in get(Info[i, 1], envir = env) :
> >  internal error -3 in R_decompress1
> > Error: package/namespace load failed for Œrgl‚
> >
> >
> > ______________________________________________
> > Professor Michael Kubovy
> > University of Virginia
> > Department of Psychology
> > for mail add:						for FedEx or UPS add:
> > P.O.Box 400400					Gilmer Hall, Room 102
> > Charlottesville, VA 22904-4400	485 McCormick Road
> > USA							Charlottesville, VA 22903
> > 		room	phone
> > Office:    B011	+1-434-982-4729
> > Lab:        B019	+1-434-982-4751
> > WWW:    http://www.people.virginia.edu/~mk9y/
> >
> >
> > 	[[alternative HTML version deleted]]
> >
> > _______________________________________________
> > R-SIG-Mac mailing list
> > R-SIG-Mac at r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>



More information about the R-SIG-Mac mailing list