Skip to content
Back to formatted view

Raw Message

Message-ID: <E98C3775-9B95-4163-9188-3F4AB8E279BE@mail.la.utexas.edu>
Date: 2005-05-27T06:22:38Z
From: Matthew Cohen
Subject: Problems with rgl

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