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. Thanks for your time. Rgds Saptarshi
This is rgl-0.66.2 On Apr 28, 2006, at 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. > > Thanks for your time. > Rgds > Saptarshi > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting- > guide.html
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