[R-SIG-Mac] rgl on 10.4

roger koenker rkoenker at uiuc.edu
Tue May 24 19:56:57 CEST 2005


Thanks to extremely helpful advice provided by Simon I can now build R
from source on my 10.4 macs.   So far packages are also fine, with  
the exception
of rgl.... I wonder if anyone has had any success installing rgl on a  
10.4
system.  I get, from install.packages("rgl",type=:source),

g++ -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include -I/System/Library/Frameworks/OpenGL.framework/Headers  -I/usr/ 
X11R6/include -DHAVE_PNG_H  -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/ 
include -I/sw/include -I/usr/local/include  -Wall -pedantic -fno- 
exceptions -fno-rtti -fno-common  -g -O2 -c scene.cpp -o scene.o
scene.cpp: In member function `void Texture::beginUse(RenderContext*)':
scene.cpp:1994: error: invalid conversion from 'int*' to 'GLint*'
make: *** [scene.o] Error 1
ERROR: compilation failed for package 'rgl'
** Removing '/Library/Frameworks/R.framework/Versions/2.2.0/Resources/ 
library/rgl'
** Restoring previous '/Library/Frameworks/R.framework/Versions/2.2.0/ 
Resources/library/rgl'

Roger



url:    www.econ.uiuc.edu/~roger            Roger Koenker
email    rkoenker at uiuc.edu            Department of Economics
vox:     217-333-4558                University of Illinois
fax:       217-244-6678                Champaign, IL 61820



More information about the R-SIG-Mac mailing list