| Support Forum Library Source SourceForge Page G3D Web Page |
The following sections give step-by-step instructions for downloading, building, and installing the 8.00 version of G3D on OS X and Linux.
The short version of these instructions is simple:
buildg3d --install /usr/local update to build the library
/usr/local/G3D/data directory
/usr/local/G3D/samples/starter/ for a simple application framework
pushd /tmp curl http://prdownloads.sourceforge.net/g3d/G3D-8.00-src.zip?download > G3D-8.00-src.zip unzip G3D-8.00-src.zip pushd G3D chmod u+x buildg3d sudo ./buildg3d --install /usr/local update popd rm -rf G3D popd
/usr/local/G3D/html/index.html. Sample projects and
data files can be found at /usr/local/G3D/data and
/usr/local/G3D/demos.
~/.icompile file to work with G3D. See the iCompile Manual for details. A sample .icompile file that assumes you built in your home directory and never installed to the system is:
[GLOBAL] defaultinclude: /Users/morgan/Projects/g3d/G3D9/build/include:;/usr/include;/usr/X11R6/include;/usr/local/include;/usr/local/include/SDL11;/usr/include/SDL;/Volumes/Home/Projects/G3D/build/linux-i386-g++-4.0/include defaultlibrary: /Users/morgan/Projects/g3d/G3D9/build/lib:;;/usr/lib;/usr/X11R6/lib;/usr/local/lib;/Volumes/Home/Projects/G3D/build/linux-i386-g++-4.0/lib defaultcompiler:defaultexclude: beep: True tempdir: tmp builddir: build [DEBUG] [RELEASE]
1.8.2