building dune
dune has been successfully built on the following platforms:
linux
linux 2.2.x, 2.3.x, using lesstif 0.89.4, mesa 3.0, and g++/gcc 2.95.2 (the
version of egcs, 2.91.66, that ships with redhat 6.1 will *not* work,
due to some template bugs).
win32
windows95 (OSR2), windows98, windows nt 4.0, using microsoft visual
c++ 6.0.
sgi irix
irix 6.5 (on an octane mxe), using osf/motif and mipspro cc v7.2.1.
solaris
solaris 5.6, using osf/motif and g++/gcc 2.8.1.
required packages for linux/unix
to build this package for linux and unix derivatives, you will need:
-
a C++ compiler, such as g++.
-
an openGL implementation. if your operating system does not
support it natively, you can use mesa, the open source openGL
workalike. mesa is available for download from:
http://www.mesa3d.org/download.html
-
libjpeg, the independent jpeg group's jpeg library. most linux
distros come with this. if you don't have it (the configure script
will tell you), see:
http://www.ijg.org/
ftp://ftp.uu.net/graphics/jpeg/
-
a Motif implementation. if Motif is not available on your OS, you
can use the free gnu implementation, lesstif (tested with 0.89.4);
see:
http://www.lesstif.org/download.html
-
a posix-compliant unix build environment. i'm sorry, i just can't
be bothered to port to every oddball flavour of unix anymore. if you
don't support posix.1, you're on your own.
-
if building from CVS update, you will need the
autoconf package. most linux distros come with this,
or you can download it from http://www.gnu.org/.
-
optional: yacc & lex (or bison & flex).
without them, you can still compile this package, but you will not
be able to modify the VRML parser.
required packages for win32
to build this package for win32, you will need:
-
windows95 OSR2, windows 98 or windows NT 4.0. The original
release of windows95 does not support openGL, so unless you
see an "OpenGL32.DLL" in your windows system directory, you'll
probably have to go to microsoft's site and download their
software implementation (which leaves a lot to be desired in
the performance department).
-
microsoft visual C++ 6.0. earlier versions may work, but
the project file was generated from v6.0. i haven't tried
building this project to other compilers on win32 (such as cygwin32
or borland); if you manage to get it working please let me know.
-
libjpeg, the Independent JPEG Group's jpeg library. This must be
compiled as a DLL. A makefile and distribution pre-configured to build
jpeg.dll should be available from the
same place that you got this package.
-
optional: yacc & lex (or bison & flex).
without them, you can still compile this package, but you will not
be able to modify the VRML and resource file parsers. I recommend
the cygnus gnu win32 tools, available from
http://sourceware.cygnus.com/cygwin/download.html.
build instructions for unix:
if you are building dune from a CVS update, you must first create
the configure file:
% autoconf
(if you are building
from a source tarball, you can skip this step, as the tarball includes
the configure file). then type
% ./configure
in the main directory, then
(if all goes well), % make
to start the application, type
% ./dune
build instructions for win32:
open the "dune.dsw" workspace, and select
"rebuild all" from the "build" menu. copy the appropriate
jpeg.dll
into the same directory as the executable (ie., if you built the debug
version, copy the debug version of
JPEG.DLL into the debug
directory). run it.