Skip to content

Instantly share code, notes, and snippets.

@peterdfields
Created October 30, 2012 15:39
Show Gist options
  • Save peterdfields/3981014 to your computer and use it in GitHub Desktop.
Save peterdfields/3981014 to your computer and use it in GitHub Desktop.
Homebrew built R 2.15.2 fails to build rgl package
> install.packages("rgl", dep=TRUE)
Installing package(s) into ‘/usr/local/Cellar/r/2.15.2/R.framework/Versions/2.15/Resources/library’
(as ‘lib’ is unspecified)
trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/rgl_0.92.894.tar.gz'
Content type 'application/x-gzip' length 1713982 bytes (1.6 Mb)
opened URL
==================================================
downloaded 1.6 Mb
* installing *source* package ‘rgl’ ...
** package ‘rgl’ successfully unpacked and MD5 sums checked
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking for libpng-config... yes
configure: using libpng-config
configure: using libpng dynamic linkage
checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking for glEnd in -lGL... yes
checking for gluProject in -lGLU... yes
checking for freetype-config... yes
configure: using Freetype and FTGL
configure: creating ./config.status
config.status: creating src/Makevars
** libs
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c ABCLineSet.cpp -o ABCLineSet.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c BBoxDeco.cpp -o BBoxDeco.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Background.cpp -o Background.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Color.cpp -o Color.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Disposable.cpp -o Disposable.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Light.cpp -o Light.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c LineSet.cpp -o LineSet.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c LineStripSet.cpp -o LineStripSet.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Material.cpp -o Material.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c PlaneSet.cpp -o PlaneSet.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c PointSet.cpp -o PointSet.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c PrimitiveSet.cpp -o PrimitiveSet.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c QuadSet.cpp -o QuadSet.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c RenderContext.cpp -o RenderContext.o
In file included from RenderContext.cpp:1:
In file included from ./RenderContext.hpp:8:
./rglmath.h:10:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
^
1 warning generated.
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Shape.cpp -o Shape.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c SphereMesh.cpp -o SphereMesh.o
In file included from SphereMesh.cpp:1:
In file included from ./SphereMesh.hpp:4:
In file included from ./render.h:4:
In file included from ./RenderContext.hpp:8:
./rglmath.h:10:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
^
1 warning generated.
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c SphereSet.cpp -o SphereSet.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c SpriteSet.cpp -o SpriteSet.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c String.cpp -o String.o
String.cpp:3:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
^
1 warning generated.
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Surface.cpp -o Surface.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c TextSet.cpp -o TextSet.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Texture.cpp -o Texture.o
Texture.cpp:1:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
^
1 warning generated.
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Viewpoint.cpp -o Viewpoint.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c api.cpp -o api.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c assert.cpp -o assert.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c callbacks.cpp -o callbacks.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c device.cpp -o device.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c devicemanager.cpp -o devicemanager.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c fps.cpp -o fps.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c ftgl.cpp -o ftgl.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c geom.cpp -o geom.o
In file included from geom.cpp:1:
In file included from ./geom.hpp:4:
./rglmath.h:10:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
^
1 warning generated.
cc -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -fPIC -g -O2 -c gl2ps.c -o gl2ps.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c glErrors.cpp -o glErrors.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c glgui.cpp -o glgui.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c gui.cpp -o gui.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c init.cpp -o init.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c par3d.cpp -o par3d.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c pixmap.cpp -o pixmap.o
pixmap.cpp:6:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
^
1 warning generated.
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c render.cpp -o render.o
In file included from render.cpp:1:
In file included from ./render.h:4:
In file included from ./RenderContext.hpp:8:
./rglmath.h:10:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
^
1 warning generated.
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c rglmath.cpp -o rglmath.o
In file included from rglmath.cpp:6:
./rglmath.h:10:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
^
1 warning generated.
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c rglview.cpp -o rglview.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c scene.cpp -o scene.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c select.cpp -o select.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c win32gui.cpp -o win32gui.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c win32lib.cpp -o win32lib.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c x11gui.cpp -o x11gui.o
x11gui.cpp:467:5: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
"WM_DELETE_WINDOW"
^
1 warning generated.
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c x11lib.cpp -o x11lib.o
c++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o rgl.so ABCLineSet.o BBoxDeco.o Background.o Color.o Disposable.o Light.o LineSet.o LineStripSet.o Material.o PlaneSet.o PointSet.o PrimitiveSet.o QuadSet.o RenderContext.o Shape.o SphereMesh.o SphereSet.o SpriteSet.o String.o Surface.o TextSet.o Texture.o Viewpoint.o api.o assert.o callbacks.o device.o devicemanager.o fps.o ftgl.o geom.o gl2ps.o glErrors.o glgui.o gui.o init.o par3d.o pixmap.o render.o rglmath.o rglview.o scene.o select.o win32gui.o win32lib.o x11gui.o x11lib.o -lGLU -lGL -framework OpenGL -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -L/usr/local/Cellar/libpng/1.5.13/lib -lpng15 -L/usr/X11/lib -lX11 -L/usr/local/Cellar/freetype/2.4.10/lib -lfreetype -lz -lbz2 -F/usr/local/Cellar/r/2.15.2/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
mkdir Temp
mv x11*.o Temp
mkdir -p AGL
mv AGL/* .
mv: rename AGL/* to ./*: No such file or directory
make: [aglrgl.so] Error 1 (ignored)
MAKINGAGL=TRUE /usr/local/Cellar/r/2.15.2/R.framework/Resources/bin/R CMD SHLIB -o aglrgl.so *.cpp *.c \
osx/*.mm osx/*.cpp
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -DRGL_USE_COCOA -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c x11gui.cpp -o x11gui.o
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -DRGL_USE_COCOA -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c x11lib.cpp -o x11lib.o
I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -DRGL_USE_COCOA -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -fPIC -c osx/osxgui.mm -o osx/osxgui.o
make[1]: I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include: No such file or directory
make[1]: [osx/osxgui.o] Error 1 (ignored)
c++ -I/usr/local/Cellar/r/2.15.2/R.framework/Resources/include -DNDEBUG -DHAVE_PNG_H -I/usr/local/Cellar/libpng/1.5.13/include/libpng15 -DRGL_USE_COCOA -DHAVE_FREETYPE -Iext/ftgl -I/usr/local/Cellar/freetype/2.4.10/include/freetype2 -I/usr/local/Cellar/freetype/2.4.10/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c osx/osxlib.cpp -o osx/osxlib.o
c++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o aglrgl.so ABCLineSet.o BBoxDeco.o Background.o Color.o Disposable.o Light.o LineSet.o LineStripSet.o Material.o PlaneSet.o PointSet.o PrimitiveSet.o QuadSet.o RenderContext.o Shape.o SphereMesh.o SphereSet.o SpriteSet.o String.o Surface.o TextSet.o Texture.o Viewpoint.o api.o assert.o callbacks.o device.o devicemanager.o fps.o ftgl.o geom.o glErrors.o glgui.o gui.o init.o par3d.o pixmap.o render.o rglmath.o rglview.o scene.o select.o win32gui.o win32lib.o x11gui.o x11lib.o gl2ps.o osx/osxgui.o osx/osxlib.o -L/usr/local/Cellar/libpng/1.5.13/lib -lpng15 -framework Cocoa -L/usr/local/Cellar/freetype/2.4.10/lib -lfreetype -lz -lbz2 none -F/usr/local/Cellar/r/2.15.2/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
clang: error: no such file or directory: 'osx/osxgui.o'
clang: error: no such file or directory: 'none'
make[1]: *** [aglrgl.so] Error 1
make: *** [aglrgl.so] Error 1
ERROR: compilation failed for package ‘rgl’
* removing ‘/usr/local/Cellar/r/2.15.2/R.framework/Versions/2.15/Resources/library/rgl’
Warning in install.packages :
installation of package ‘rgl’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/dd/0lfq53zn1g5dkhtqjznw5mmh0000gn/T/Rtmp8kNeKk/downloaded_packages’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment