https://github.com/ma-tech/Woolz
Raw File
Tip revision: 44cd5f3d1841d271060f8e0f8f103f4ecc1d6fb6 authored by Bill Hill on 28 August 2012, 10:00:04 UTC
Minor changes for building JavaWlz including forcing CPP to be a real cpp and not gcc -E
Tip revision: 44cd5f3
build.sh
#!/bin/sh
# This script will configure and build Woolz. Uncomment the appropriate
# configure command line for the build you want. The easiest way to use
# this script is probably to copy it to mybuild.sh and the edit that script.

set -x
# In most cases a simple autoreconf should be sufficient
autoreconf
# If you hit problems with missing files or libtool use the following
# autoreconf
# autoreconf -i --force

# The default build; optimised, using openmp and external file formats.
# This requires jpeg, nifti and tiff libraries.
./configure --prefix=/opt/MouseAtlas --enable-optimise --enable-openmp --enable-extff --with-nifti=/opt/MouseAtlas

# Build optimised, using openmp, external file formats and the Java binding.
# This requires javacc; the jpeg, nifti and tiff libraries.
#./configure --prefix=/opt/MouseAtlas --enable-optimise --enable-openmp --enable-extff --with-nifti=/opt/MouseAtlas --enable-java --enable-shared --disable-static --with-jdk=/opt/java --with-javacc=/opt/JavaCC/bin/javacc --with-pic

# Build the Woolz code unoptimised with debug support.
# This requires only standard system libraries.
#./configure --prefix=/opt/MouseAtlas --enable-debug

# Build the Woolz code unoptimised with debug support, external file formats,
# the Java binding and tests.
# This requires javacc; the jpeg, nifti and tiff libraries.
#./configure --prefix=/opt/MouseAtlas --enable-debug --enable-extff --enable-test --with-nifti=/opt/MouseAtlas --enable-java --enable-shared --disable-static --with-jdk=/opt/java --with-javacc=/opt/JavaCC/bin/javacc --with-pic
back to top