[R] Building RGL for R-2.3 for Tiger 10.4.6 on PPC

Duncan Murdoch murdoch at stats.uwo.ca
Fri Apr 28 15:45:04 CEST 2006


On 4/28/2006 1:48 AM, Saptarshi Guha wrote:
> Hi,
> 	I just installed R-2.3 for Tiger 10.4.6 on a PPC. However, though i  
> successfully installed RGL on R.2.2, this time it doesn't compile.
> 	I get this error when trying the R INSTALL command
> 
> 	In file included from Texture.hpp:14,
>                   from Material.hpp:5,
>                   from BBoxDeco.hpp:16,
>                   from BBoxDeco.cpp:1:
> 	opengl.hpp:22:19: error: GL/gl.h: No such file or directory
> 	opengl.hpp:23:20: error: GL/glu.h: No such file or directory
> 	make: *** [BBoxDeco.o] Error 1
> 
> 	I'm not sure whats happening... my cocoa apps (some of which use  
> OpenGL) compile successfully.

I don't use a Mac (or any other Unix-like), but presumably this is a 
configuration issue.  There are some command line options in RGL's 
configure script to specify where to look for the OpenGL libraries, and 
it looks as though you need to use them.

If you have experience working with configure scripts and notice 
something missing from RGL's which is causing this, let me or Daniel 
Adler know, and we'll fix it for the next release.

Duncan Murdoch




More information about the R-help mailing list