diff options
author | tpaviot <tpaviot@gmail.com> | 2011-05-31 15:47:32 +0200 |
---|---|---|
committer | tpaviot <tpaviot@gmail.com> | 2011-05-31 15:47:32 +0200 |
commit | 7971b65fe4902fa512514db907163395c1adfe5a (patch) | |
tree | 091b5b2aacc994ed2759925c414aadaaa3df405e | |
parent | 9ce8e5a1ed4ec8f1cfaefdbf74e4811cf653c1b9 (diff) | |
download | oce-7971b65fe4902fa512514db907163395c1adfe5a.tar.gz oce-7971b65fe4902fa512514db907163395c1adfe5a.zip |
Updated AUTHORS and build instructions for Linux/Unix
-rw-r--r-- | AUTHORS | 17 | ||||
-rw-r--r-- | INSTALL.Unix (renamed from INSTALL) | 69 |
2 files changed, 23 insertions, 63 deletions
@@ -1,8 +1,13 @@ -OCE 0.1 contains additional code over OCC contributed by (alphabetical sort): +OCE contains additional code over OCC contributed by (alphabetical sort): -Guillaume Alleon (guillaume.alleon@gmail.com) -Denis Barbier (bouzim@gmail.com) -QbProg (tholag@gmail.com) -Thomas Paviot (tpaviot@gmail.com) -Mark Pictor (mpictor@gmail.com) +Guillaume Alleon (guillaume.alleon at gmail dot com) +Denis Barbier (bouzim at gmail dot com) +fohlenrolle (mmuellen at gmx dot de) +QbProg (tholag at gmail dot com) +Thomas Paviot (tpaviot at gmail dot com) +Mark Pictor (mpictor at gmail dot com) +Jérôme Robert (jrobert dot pro at gmail dot com) Fotis Sioutis (sfotis at gmail dot com) +Hugh Sorby () + +Copyright 2011 @@ -1,8 +1,9 @@ -On Windows, Visual and Borland projects are provided, see in the -adm subdirectory. Please note that these projects will be -deprecated in favor of CMake, in order to have a single build -procedure for all architectures. Please help us by testing the -CMake procedure. +This file describes how to build OCE from sources on Linux or MacOSX. + +Since the OCE release 0.3, the dev team definitely dropped the autotools +support and adopted the CMake build system. First ensure you have installed +CMake 2.6 or higher (http://www.cmake.org) before going further in the +compilation process. The installation procedure detailed below is: 1. Download/extract the OCE-xxxxx.tar.gz archive to any directory @@ -10,16 +11,11 @@ The installation procedure detailed below is: 3. make/make install 4. Test installation -This file describes how to build OCE from sources on Linux or MacOSX. -At the end of this file, there are instructions to configure this -project with Autotools, but note that this build system may not be -supported in future releases. - 1. Content extraction ===================== Unpack OCE-xxxx.tar.gz to some folder - ${DISTRIBUTIVE_DIR}. -For example DISTRIBUTIVE_DIR=/tmp/OCE-0.2 +For example DISTRIBUTIVE_DIR=/tmp/OCE-0.3 tar -zxvf OCE-xxxx.tar.gz then cd ${DISTRIBUTIVE_DIR} @@ -46,11 +42,11 @@ rerun cmake after modifying this file. ================== Here are default flags on Unix - OCE_64BIT ON (default depends on CPU) OCE_BUILD_SHARED_LIB ON OCE_BUILD_TYPE Release OCE_DATAEXCHANGE ON OCE_DRAW OFF + OCE_EXTRA_WARNINGS OFF OCE_INSTALL_PREFIX /usr/local OCE_MODEL ON OCE_MULTITHREAD_LIBRARY NONE @@ -97,6 +93,10 @@ by running the following commands: make make install/strip +If you have more than one (for instance 2) cores on your machine, you can use + make -j2 +to enable multiprocessed compilation and speedup the whole compilation +process. 4. Test installation: OCE Draw Test Harness =========================================== @@ -110,48 +110,3 @@ In order to load DRAW commands, you can then run demos > source $INSTALL_DIR/src/DrawResources/VisualizationDemo.tcl Installation is succesful. Enjoy! - -Appendix. Old build system based on Autotools -============================================= -This build system uses scripts based on GNU autoconf, automake and libtool, -make sure to install these tools before compiling. - -A. Configure step -================= -The configure script must be executed with the flags as described below. - -A.1 Defining flags -================== - flags="" - flags="$flags --with-tcl=${TCLHOME}/lib" - flags="$flags --with-tk=${TCLHOME}/lib " - flags="$flags --with-freetype=/opt/freetype-2.3.7" - flags="$flags --with-ftgl=/opt/ftgl-2.1.3-rc5" - flags="$flags --disable-debug --enable-production" - -where: - --enable-debug=yes/no - building in debug mode (yes: set -g compiler flag). - --enable-production=yes/no - building in optimize mode. (yes: set -O compiler flag). - -A.2 FTGL note: -============== -OCE supports either ftgl-2.1.2 or the latest ftgl-2.1.3-rc5. If you wish to -build OCE over ftgl-2.1.2, use the configure flag '--with-ftgl212'. -For instance, - flags="$flags --with-ftg212=/opt/ftgl-2.1.2" -The '--with-ftgl' flag assumes you use a newer version. - -A.3 Additional flags: -===================== - flags="$flags --with-tbb-include =/usr/include/tbb" - for compilation with tbb - flags="$flags --with-tbb-library=/usr/lib" - for compilation with tbb - flags="$flags --with-gl2ps=/opt/gl2ps-1.3.5" - for compilation with gl2ps - flags="$flags --with-freeimage=/opt/freeimage-3.14.1" - for compil with freeimage - -A.4 Running ./configure -======================= - - ./configure $flags --prefix=${INSTALL_DIR} - -where ${INSTALL_DIR} is folder to which OCE will be installed. - |