Closed storopoli closed 3 years ago
Could you please post version information for rgl
, and the install command that you used?
Here it is:
> sessionInfo()
R version 4.0.4 (2021-02-15)
Platform: aarch64-apple-darwin20.3.0 (64-bit)
Running under: macOS Big Sur 11.2.2
Matrix products: default
BLAS: /opt/homebrew/Cellar/openblas/0.3.13/lib/libopenblasp-r0.3.13.dylib
LAPACK: /opt/homebrew/Cellar/r/4.0.4/lib/R/lib/libRlapack.dylib
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
loaded via a namespace (and not attached):
[1] compiler_4.0.4 tools_4.0.4 parallel_4.0.4 knitr_1.31 xfun_0.21
[6] rlang_0.4.10
And the install command:
r$> install.packages("rgl")
Installing package into ‘/opt/homebrew/lib/R/4.0/site-library’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/rgl_0.105.22.tar.gz'
Content type 'application/x-gzip' length 2995117 bytes (2.9 MB)
==================================================
downloaded 2.9 MB
* installing *source* package ‘rgl’ ...
** package ‘rgl’ successfully unpacked and MD5 sums checked
** using staged installation
checking for gcc... clang
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 clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking how to run the C preprocessor... clang -E
checking for gcc... (cached) clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang 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 XAllocClassHint... yes
checking for glEnd in -lGL... yes
checking for glEnd... yes
checking for gluErrorString in -lGLU... yes
checking for gluErrorString... yes
configure: Darwin, so ensuring /opt/X11/bin is at the head of the PATH...
checking for pkg-config... yes
configure: using Freetype and FTGL
configure: creating ./config.status
config.status: creating R/noOpenGL.R
config.status: creating src/useNULL/Makevars
config.status: creating src/Makevars
** libs
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c ABCLineSet.cpp -o ABCLineSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c BBoxDeco.cpp -o BBoxDeco.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Background.cpp -o Background.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c ClipPlane.cpp -o ClipPlane.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Color.cpp -o Color.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Disposable.cpp -o Disposable.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Light.cpp -o Light.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c LineSet.cpp -o LineSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c LineStripSet.cpp -o LineStripSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Material.cpp -o Material.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c NULLgui.cpp -o NULLgui.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c PlaneSet.cpp -o PlaneSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c PointSet.cpp -o PointSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c PrimitiveSet.cpp -o PrimitiveSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c RenderContext.cpp -o RenderContext.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Shape.cpp -o Shape.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c SphereMesh.cpp -o SphereMesh.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c SphereSet.cpp -o SphereSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c SpriteSet.cpp -o SpriteSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c String.cpp -o String.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Surface.cpp -o Surface.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c TextSet.cpp -o TextSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Texture.cpp -o Texture.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Viewpoint.cpp -o Viewpoint.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c api.cpp -o api.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c assert.cpp -o assert.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c callbacks.cpp -o callbacks.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c device.cpp -o device.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c devicemanager.cpp -o devicemanager.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c fps.cpp -o fps.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c ftgl.cpp -o ftgl.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c geom.cpp -o geom.o
clang -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -Wno-implicit-function-declaration -c gl2ps.c -o gl2ps.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c glErrors.cpp -o glErrors.o
gl2ps.c:4355:17: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551614 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
double dmax = ~1UL;
~~~~ ^~~~
gl2ps.c:4398:17: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551614 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
double dmax = ~1UL;
~~~~ ^~~~
gl2ps.c:4423:17: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551614 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
double dmax = ~1UL;
~~~~ ^~~~
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c glgui.cpp -o glgui.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c gui.cpp -o gui.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c init.cpp -o init.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c par3d.cpp -o par3d.o
3 warnings generated.
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c pixmap.cpp -o pixmap.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c platform.cpp -o platform.o
clang -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -Wno-implicit-function-declaration -c pretty.c -o pretty.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c render.cpp -o render.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c rglmath.cpp -o rglmath.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c rglview.cpp -o rglview.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c scene.cpp -o scene.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c select.cpp -o select.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c subscene.cpp -o subscene.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c win32gui.cpp -o win32gui.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c win32lib.cpp -o win32lib.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c x11gui.cpp -o x11gui.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/opt/X11/include -DHAVE_FREETYPE -Iext/ftgl -I/opt/homebrew/opt/freetype/include/freetype2 -Iext -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c x11lib.cpp -o x11lib.o
cp -Rp OpenGL useNULL && \
cp -p *.c *.h *.cpp useNULL/
clang++ -std=c++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/opt/homebrew/Cellar/r/4.0.4/lib/R/lib -L/opt/homebrew/opt/gettext/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/xz/lib -L/opt/homebrew/lib -o rgl.so ABCLineSet.o BBoxDeco.o Background.o ClipPlane.o Color.o Disposable.o Light.o LineSet.o LineStripSet.o Material.o NULLgui.o PlaneSet.o PointSet.o PrimitiveSet.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 platform.o pretty.o render.o rglmath.o rglview.o scene.o select.o subscene.o win32gui.o win32lib.o x11gui.o x11lib.o -lGLU -lGL -framework GLKit -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/opt/homebrew/Cellar/libpng/1.6.37/lib -lpng16 -L/usr/X11/lib -lX11 -L/opt/homebrew/opt/freetype/lib -lfreetype -L/opt/homebrew/Cellar/r/4.0.4/lib/R/lib -lR -lintl -Wl,-framework -Wl,CoreFoundation
cd useNULL && \
/opt/homebrew/Cellar/r/4.0.4/lib/R/bin/R CMD SHLIB -o useNULL.so *.cpp *.c
make[1]: warning: -jN forced in submake: disabling jobserver mode.
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c ABCLineSet.cpp -o ABCLineSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c BBoxDeco.cpp -o BBoxDeco.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Background.cpp -o Background.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c ClipPlane.cpp -o ClipPlane.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Color.cpp -o Color.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Disposable.cpp -o Disposable.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Light.cpp -o Light.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c LineSet.cpp -o LineSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c LineStripSet.cpp -o LineStripSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Material.cpp -o Material.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c NULLgui.cpp -o NULLgui.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c PlaneSet.cpp -o PlaneSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c PointSet.cpp -o PointSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c PrimitiveSet.cpp -o PrimitiveSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c RenderContext.cpp -o RenderContext.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Shape.cpp -o Shape.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c SphereMesh.cpp -o SphereMesh.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c SphereSet.cpp -o SphereSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c SpriteSet.cpp -o SpriteSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c String.cpp -o String.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Surface.cpp -o Surface.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c TextSet.cpp -o TextSet.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Texture.cpp -o Texture.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c Viewpoint.cpp -o Viewpoint.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c api.cpp -o api.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c assert.cpp -o assert.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c callbacks.cpp -o callbacks.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c device.cpp -o device.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c devicemanager.cpp -o devicemanager.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c fps.cpp -o fps.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c ftgl.cpp -o ftgl.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c geom.cpp -o geom.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c glErrors.cpp -o glErrors.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c glgui.cpp -o glgui.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c gui.cpp -o gui.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c init.cpp -o init.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c par3d.cpp -o par3d.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c pixmap.cpp -o pixmap.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c platform.cpp -o platform.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c render.cpp -o render.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c rglmath.cpp -o rglmath.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c rglview.cpp -o rglview.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c scene.cpp -o scene.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c select.cpp -o select.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c subscene.cpp -o subscene.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c win32gui.cpp -o win32gui.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c win32lib.cpp -o win32lib.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c x11gui.cpp -o x11gui.o
clang++ -std=c++11 -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -g -O2 -c x11lib.cpp -o x11lib.o
clang -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -Wno-implicit-function-declaration -c gl2ps.c -o gl2ps.o
clang -I"/opt/homebrew/Cellar/r/4.0.4/lib/R/include" -DNDEBUG -DHAVE_PNG_H -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -DRGL_NO_OPENGL -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/xz/include -I/opt/homebrew/include -fPIC -Wno-implicit-function-declaration -c pretty.c -o pretty.o
clang++ -std=c++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/opt/homebrew/Cellar/r/4.0.4/lib/R/lib -L/opt/homebrew/opt/gettext/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/xz/lib -L/opt/homebrew/lib -o useNULL.so ABCLineSet.o BBoxDeco.o Background.o ClipPlane.o Color.o Disposable.o Light.o LineSet.o LineStripSet.o Material.o NULLgui.o PlaneSet.o PointSet.o PrimitiveSet.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 platform.o render.o rglmath.o rglview.o scene.o select.o subscene.o win32gui.o win32lib.o x11gui.o x11lib.o gl2ps.o pretty.o -L/opt/homebrew/Cellar/libpng/1.6.37/lib -lpng16 -L/opt/homebrew/Cellar/r/4.0.4/lib/R/lib -lR -lintl -Wl,-framework -Wl,CoreFoundation
mkdir -p ../inst/useNULL && \
mv useNULL/useNULL.so ../inst/useNULL/rgl.so && \
rm useNULL/*.cpp useNULL/*.c useNULL/*.h useNULL/OpenGL/*
installing to /opt/homebrew/lib/R/4.0/site-library/00LOCK-rgl/00new/rgl/libs
** R
** demo
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
sh: line 1: 68084 Segmentation fault: 11 R_TESTS= '/opt/homebrew/Cellar/r/4.0.4/lib/R/bin/R' --no-save --no-restore --no-echo 2>&1 < '/tmp/Rtmpi4jFgU/file1061f181d7803'
ERROR: loading failed
* removing ‘/opt/homebrew/lib/R/4.0/site-library/rgl’
The downloaded source packages are in
‘/private/tmp/Rtmpcczkur/downloaded_packages’
Warning message:
In install.packages("rgl") :
installation of package ‘rgl’ had non-zero exit status
It looks as though you have a Homebrew installation of R, not the CRAN one. I don't use that, so you're largely on your own to debug this, but I can tell you where to look:
Check rgl/configure.ac : it has special casing
if test uname
= "Darwin" ; then
It might be that you don't want to be treated as Darwin, because Homebrew is more standard Unix-ish. So you could set
darwin="no"
after that, and not get the special treatment. You need to run autoconf
after that change.
If that's not enough, you could look at .onLoad in rgl/R/zzz.R
. It also has special casing for Darwin. Maybe you need to turn that off as well.
If neither of those works, I'm pretty sure you could do the install using
install.packages("rgl", configure.args = "--disable-opengl")
and it will successfully install, but without being able to display from within R. You can still use rglwidget()
to generate WebGL displays in a browser.
Thank you!
install.packages("rgl", configure.args = "--disable-opengl")
solved!
Hey guys I have this crazy error:
Library not loaded: @rpath/libc++.1.dylib
. How do I solve it?I have the XQuartz version
XQuartz 2.8.0_rc2
and it runs fine withxclock
in the terminal.