[R-SIG-Mac] Problems with rgl

Matthew Cohen mcohen at mail.la.utexas.edu
Fri May 27 06:21:31 CEST 2005


When installing rgl from source, I get the following three warnings:

 > scene.cpp: In member function `void Texture::beginUse 
(RenderContext*)':
 > scene.cpp:1994: warning: invalid conversion from `int*' to `GLint*'

 > ld: warning multiple definitions of symbol _glPointParameteri
 > /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ 
libGL.dylib(gll_api.o)
 > definition of _glPointParameteri
 > /usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of  
_glPointParameteri

 > ld: warning multiple definitions of symbol _glPointParameteriv
 > /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ 
libGL.dylib(gll_api.o)
 > definition of _glPointParameteriv
 > /usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of  
_glPointParameteriv

Then, if I try to load rgl, I get the following message:

 > Error in dyn.load(x, as.logical(local), as.logical(now)) :
 >     unable to load shared library
 > '/Library/Frameworks/R.framework/Resources/library/rgl/libs/rgl.so':
 >   dlopen(/Library/Frameworks/R.framework/Resources/library/rgl/ 
libs/rgl.so, 6): Symbol not
 > found: _glXSwapBuffers
 >   Referenced from: /Library/Frameworks/R.framework/Resources/ 
library/rgl/libs/rgl.so
 >   Expected in: flat namespace
 > Error in .C(symbol.C("rgl_quit"), success = FALSE, PACKAGE = "rgl") :
 >     "C" function name not in DLL for package 'rgl'

Any ideas about what the problem is, and how to fix it?

I am running R 2.1.0a on a iBook G3 with OS 10.4.1.

Thanks,

Matthew Cohen



More information about the R-SIG-Mac mailing list