[R-SIG-Mac] rgl for R-devel

Duncan Murdoch murdoch.duncan at gmail.com
Sat Jul 19 14:41:13 CEST 2014


On 18/07/2014, 8:13 PM, Roger Koenker wrote:
> yzzy: system_profiler SPSoftwareDataType
> Software:
> 
>     System Software Overview:
> 
>       System Version: OS X 10.9.4 (13E28)
>       Kernel Version: Darwin 13.3.0
>       

I've just committed a patch to the rgl source on R-forge.r-project.org
following Simon's advice.  You'll get it if you download version
0.94.1118 or newer.  (It may take a while for R-forge to build the
tarball; it's been slow lately.)

There are a lot of other changes there compared to what's on CRAN, and
it doesn't include a bug fix for the dealloc bug I mentioned in another
email, so I don't recommend using this version:  but I'd appreciate
hearing if it fixes your problem.

Duncan Murdoch

> 
> Roger Koenker
> rkoenker at illinois.edu
> 
> 
> 
> 
> On Jul 18, 2014, at 8:07 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
> 
>> On 18/07/2014, 4:41 PM, Roger Koenker wrote:
>>> I'm trying to
>>>
>>> install.packages("rgl", type = "source")
>>>
>>> with
>>>
>>>> sessionInfo()
>>> R Under development (unstable) (2014-07-09 r66111)
>>> Platform: x86_64-apple-darwin13.1.0 (64-bit)
>>>
>>> locale:
>>> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>>>
>>> attached base packages:
>>> [1] stats     graphics  grDevices utils     datasets  methods   base     
>>>
>>> other attached packages:
>>> [1] quantreg_5.05 SparseM_1.05 
>>>
>>> loaded via a namespace (and not attached):
>>> [1] tcltk_3.2.0 tools_3.2.0
>>>
>>> and seeing (eventually):
>>>
>>> clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/GLKit.framework/Headers -I/System/Library/Frameworks/OpenGL.framework/Headers  -DHAVE_PNG_H -I/usr/local/include/libpng12 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/X11/include/freetype2 -Iext -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include   -Wall -mtune=core2 -g -O2  -fPIC  -Wall -mtune=core2 -g -O2  -c platform.cpp -o platform.o
>>> platform.cpp:16:10: fatal error: 'GLKMathUtils.h' file not found
>>> #include <GLKMathUtils.h> 
>>>         ^
>>> 1 error generated.
>>> make: *** [platform.o] Error 1
>>> ERROR: compilation failed for package ‘rgl’
>>>
>>> I do have a GLKit.framework  but there is no Headers subdir ...  
>>>
>>
>> What OSX version is that?  There were warnings about deprecated code in
>> rgl, so I switched to using GLKMathUtils, but apparently the configure
>> script isn't quite right.
>>
>> Duncan Murdoch
>



More information about the R-SIG-Mac mailing list