Skip to contents

The demos of the rdyncall package (see demo(package="rdyncall")) use shared libraries such as SDL, OpenGL and Expat via dynports - a dynamic binding approach which requires, that prebuilt binary shared library files are already installed.

Depending on the host system, some libraries are officially a part of the OS or Distribution, some others need to be installed to get the demos running.

As of the current version of this package, the installation of additional shared C libraries need to be done manually. It follows an overview of the required libraries and installation notes for various operating-systems and distributions.

Overview of Libraries

The following Libraries are used as 'run-time' pre-compiled binaries for the particular target OS and Hardware platform. Some notes on installation of additional run-time libraries required for some rdyncall demos:

LibDescriptionURL
expatXML Parserhttp://www.libexpat.org
GLOpen Graphics Libraryhttp://opengl.org, http://www.mesa3d.org
GLUOpenGL Utility Librarysee links above
glewOpenGL Extension Wrangler Libraryhttps://glew.sourceforge.net/
SDLMultimedia Frameworkhttp://libsdl.org/
SDL_mixerMusic Format playinghttp://www.libsdl.org/projects/SDL_mixer/
SDL_imageImage Format loadinghttp://www.libsdl.org/projects/SDL_image/
SDL_ttfTrue Type Font renderinghttp://www.libsdl.org/projects/SDL_ttf/
SDL_netNetwork I/Ohttp://www.libsdl.org/projects/SDL_net/

In short: Place the shared libraries ( *.DLL, *.so or *.dylib) in a standard location or modify LD_LIBRARY_PATH(unix) or PATH(windows) so that dynfind can find the libraries.

On Mac OS X framework folders are supported as well. Place the *.framework folder at /Library/Frameworks.

Detailed platform-specific installation instructions follow up.

Windows Installation Notes

Download the *.zip files, unpack them and place the *.DLL files to a place within PATH.

32-Bit versions:

LibDownload Link
expathttps://expat.sourceforge.net (TODO:test installer)
GLpre-installed
GLUpre-installed
glewhttp://sourceforge.net/projects/glew/files/glew/1.7.0/glew-1.7.0-win32.zip/download
SDLhttp://www.libsdl.org/release/SDL-1.2.14-win32.zip
SDL_imagehttp://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.10-win32.zip
SDL_mixerhttp://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.11-win32.zip
SDL_ttfhttp://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.10-win32.zip
SDL_nethttp://www.libsdl.org/projects/SDL_net/release/SDL_net-1.2.7-win32.zip

64-Bit version:

LibDowndload Link
expatno prebuilt found (TODO: build)
GLpre-installed
GLUpre-installed
glewhttp://sourceforge.net/projects/glew/files/glew/1.7.0/glew-1.7.0-win64.zip/download
SDLhttp://mamedev.org/tools/20100102/sdl-1.2.14-r5428-w64.zip
SDL_imagepre-built n/a
SDL_mixerpre-built n/a
SDL_ttfpre-built n/a
SDL_netpre-built n/a

The prebuilt version of SDL from http://www.drangon.org/mingw did not work (exiting with OpenGL errors). If you know of other resources for prebuilt 64-bit packages for SDL and expat, please report.

Mac OS X Installation Notes

Download the *.dmg files, mount them (by double-click) and copy *.framework folders to /Library/Frameworks.

LibDownload link
expatpre-installed
GLpre-installed
GLUpre-installed
glewport install glew
SDLhttp://www.libsdl.org/release/SDL-1.2.14.dmg
SDL_imagehttp://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.10.dmg
SDL_mixerhttp://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.11.dmg
SDL_ttfhttp://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.10.dmg
SDL_nethttp://www.libsdl.org/projects/SDL_net/release/SDL_net-1.2.7.dmg

Linux/Debian Installation Notes

Debian Package installation via aptitude

aptitude install <pkg-names>..
LibDebian Package name(s)
expatlibexpat1 (version 1.5.2 - already installed?)
GLlibgl1-mesa-glx and libgl1-mesa-dri
GLUlibglu1-mesa
glewlibglew1.5
SDLlibsdl1.2debian and libsdl1.2debian-<SOUNDSYS>
SDL_imagelibsdl-image1.2
SDL_mixerlibsdl-mixer1.2
SDL_ttflibsdl-ttf2.0
SDL_netlibsdl-net1.2

Depending on your sound system, <SOUNDSYS> should be explaced with one of the following: alsa, all, esd, arts, oss, nas or pulseaudio. Tested with Debian 5 and 6 (lenny and squeeze).

Linux/Fedora Installation Notes

pkcon install <pkgname>..
LibRPM Package name
expatexpat
GLmesa-libGL
GLUmesa-libGLU
glewglew
SDLSDL
SDL_imageSDL_image
SDL_mixerSDL_mixer
SDL_ttfSDL_ttf
SDL_netSDL_net

Tested with Fedora 13 and 14 on x86 and x86_64.

Linux/openSUSE Installation Notes

zypper in <pkgname>..
LibPackage Name
SDLlibSDL
SDL_imagelibSDL_image
SDL_mixerlibSDL_mixer
SDL_netlibSDL_net
SDL_ttflibSDL_ttf
glewlibGLEW1_6

openSUSE installation notes have not been confirmed.

NetBSD Installation Notes

Installation via pkgsrc:

pkg_add <pkgname>..
Libpkgsrc name
expatexpat
GLMesa
GLUglu
glewglew
SDLSDL
SDL_imageSDL_image
SDL_mixerSDL_mixer
SDL_ttfSDL_ttf
SDL_netSDL_net

OpenBSD Installation Notes

Using packages:

pkg_add <pkgname>..
Libport name
expatexpat
SDLSDL
SDL_imagesdl-image
SDL_mixersdl-mixer
SDL_ttfnot available
SDL_netsdl-net

The SDL dynport failed on OpenBSD 4.8 - so no multimedia demos here - using the R 2.7 from the ports tree. This must have been something to do with pthread discrepancies between SDL and R.

FreeBSD Installation Notes

Using packages:

pkg_add -r <pkgname>..
Libpkgname
expatexpat2
GLxorg
glewglew
SDLsdl
SDL_imagesdl_image
SDL_mixersdl_mixer
SDL_ttfsdl_ttf
SDL_netsdl_net

Solaris Installation Notes

OpenCSW offers prebuilt binaries for Solaris. The installation of OpenCSW packages is done via pkgutil.

pkgutil -i <pkgname>..

See http://www.opencsw.org for details on the OpenCSW project.

Libpkgname
expatexpat
GLmesalibs
GLUmesalibs
glewglew
SDLlibsdl1_2_0
SDL_imagesdlimage
SDL_mixersdlmixer
SDL_netsdlnet
SDL_ttfsdlttf