[R-SIG-Mac] [R] [R-pkgs] RGL v0.65

Cyrus Harmon ch-rsig-mac at bobobeach.com
Mon Aug 22 23:00:18 CEST 2005


I got it working using R-2.2.0-devel as of yesterday and GCC4. I did  
have to add a couple casts to keep GCC4's pickier type-checking  
happy, and I had to go back and add --enable-aqua or --with-aqua or  
whatever in order to build the Mac GUI, but eventually it all worked,  
other than some repaint issues with the graphs.

Cyrus

On Aug 22, 2005, at 1:54 PM, Rob J Goedman wrote:

> Hi,
>
> Has anybody been able to install the new version? On OS X 10.4
> with vanilla R-2.1.1 I get:
>
> Robs-Laptop:~/Downloads rob$ R CMD install rgl_0.65.tar.gz
> * Installing *source* package 'rgl' ...
>
> checking for libpng-config... yes
> configure: creating ./config.status
> config.status: creating src/Makevars
> ** libs
> g++-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/
> include -DRGL_USE_CARBON -I/System/Library/Frameworks/AGL.framework/
> Headers -DHAVE_PNG_H -I/usr/local/include -I/usr/local/include   -fno-
> common  -g -O2 -c BBoxDeco.cpp -o BBoxDeco.o
> g++-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/
> include -DRGL_USE_CARBON -I/System/Library/Frameworks/AGL.framework/
> Headers -DHAVE_PNG_H -I/usr/local/include -I/usr/local/include   -fno-
> common  -g -O2 -c Background.cpp -o Background.o
>
> ... (many more)
>
> g++-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/
> include -DRGL_USE_CARBON -I/System/Library/Frameworks/AGL.framework/
> Headers -DHAVE_PNG_H -I/usr/local/include -I/usr/local/include   -fno-
> common  -g -O2 -c x11lib.cpp -o x11lib.o
> g++-3.3 -bundle -flat_namespace -undefined suppress -L/usr/local/lib -
> o rgl.so BBoxDeco.o Background.o Color.o Disposable.o FaceSet.o
> Light.o LineSet.o LineStripSet.o Material.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 TriangleSet.o
> Viewpoint.o api.o device.o devicemanager.o fps.o geom.o gl2ps.o
> glgui.o gui.o math.o osxgui.o osxlib.o par3d.o pixmap.o render.o
> rglview.o scene.o select.o types.o win32gui.o win32lib.o x11gui.o
> x11lib.o -framework AGL -L/usr/local/lib -Wl,-rpath,/usr/local/lib -
> lpng12 -lz -lm   -framework R
> ld: unknown flag: -rpath
> make: *** [rgl.so] Error 1
> ERROR: compilation failed for package 'rgl'
> ** Removing '/Library/Frameworks/R.framework/Versions/2.1.1/Resources/
> library/rgl'
> ** Restoring previous '/Library/Frameworks/R.framework/Versions/2.1.1/
> Resources/library/rgl'
> Robs-Laptop:~/Downloads rob$
>
> Would love to try if the new version helps out in the 3D issues.
>
> Rob



More information about the R-SIG-Mac mailing list