Home

Download
Install
Extend

Use

Conformance
Examples
Contact

      

FreeWRL/FreeX3D Linux Build and Install

Building and Installing a Tar archive, or from CVS

Releases are generally presented in a variety of formats; one of which is usually a tar formatted archive. The latest archive is always linked in to the "download" page link on the left.

You can also download the latest FreeWRL code from CVS. Note that this is "live" code, and may not be stable.

To download the code from anonymous CVS

cvs -z3 -d:pserver:anonymous@freewrl.cvs.sourceforge.net:/cvsroot/freewrl checkout -P freewrl

Requirements to compile from CVS source

Packages required varies between linux distributions, but you will require:

  • Javascript engine - look for a package with the name of "libmozjs-dev", or "xulrunner-dev" or "xulrunner-libs-dev" or similar.
  • Gcc Compiler;
  • Java compiler ("javac") and the Java Archiver ("jar");
  • Truetype fonts.

Build instructions

cd freewrl/freex3d
sh autogen.sh /bin/bash
./configure [options - see below]
make
make install
/usr/local/bin/freex3d ../freewrl/tests/1.wrl

If your installation succeeded the test will show a grey cone displayed in the FreeWRL window.

Options for the ./configure line:

  • --enable-libeai - build in the library that allows "C" programs to interact with FreeWRL.
  • --with-fontsdir=/path/to/fonts - if this is not set, then the path is set to /usr/local/share/freewrl/fonts.
  • --with-target=motif - compiles with Motif support, you SHOULD use this option.
  • --prefix=/usr ...
Eg: Harold Blount uses the line:
./configure --with-target=motif --prefix=/usr --with-fontsdir=/usr/share/fonts/bitstream-vera
for his Redhat Fedora build located here.

Ian Stakenvicius uses:

../configure --enable-plugin --disable-debug --disable-static --with-x \
   --with-target=motif 
--with-fontsdir=/usr/share/fonts/ttf-bitstream-vera \
   --with-imageconvert=/usr/bin/convert --with-unzip=/usr/bin/unzip \
   --with-wget=/usr/bin/wget --with-plugindir=/usr/lib/nsbrowser/plugins
for his Gentoo builds, located here.

Making a source distribution file for a Linux distro:

After the ./configure step described above:

make dist


Info

This project is managed by John A. Stewart.

Please send bug reports to freewrl-09 --at-- rogers.com including the word ``freewrl'' on the subject line will make sure that I'll notice it. Also, see the FreeWRL home page at http://www.crc.ca/FreeWRL.

There is absolutely no warranty, express or implied for this software. For details on the conditions of use, see the FreeWRL distribution.

FreeWRL is Copyright (C) 1998, 1999...2009 Tuomas J. Lukka, John Stewart and others.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

DISCLAIMER: All information and programs presented on these pages is presented strictly on an as-is basis without an explicit or implicit warranty or guarantee of any kind, not even for fitness for any particular purpose. The FreeWRL logo is based on the Linux Penguin logo by Larry Ewing. All trademarks are owned by their respective owners.

SourceForge.net Logo