[R-SIG-Mac] rgl on 10.4

Jan de Leeuw deleeuw at stat.ucla.edu
Tue May 24 20:01:36 CEST 2005


rgl is X11 specific. The problem could come about because you use the
bundled Aqua OpenGL for the headers. You probably need an X11 OpenGL
installation. Since I don't use X11, I don't have rgl in my distro  
either.

On May 24, 2005, at 10:56 , roger koenker wrote:

> 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
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>

===
Jan de Leeuw; Distinguished Professor and Chair, UCLA Department of  
Statistics;
Editor: Journal of Multivariate Analysis, Journal of Statistical  
Software
US mail: 8130 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw at stat.ucla.edu
.mac: jdeleeuw ++++++  aim: deleeuwjan ++++++ skype: j_deleeuw
homepages: http://gifi.stat.ucla.edu ++++++ http://www.cuddyvalley.org
   
------------------------------------------------------------------------ 
-------------------------
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://gifi.stat.ucla.edu/sounds/nomatter.au



More information about the R-SIG-Mac mailing list