------------------ Required Libraries ------------------ - ITK (www.itk.org) - JOGL (jogl.dev.java.net); v1.1b09 binaries for Windows and Mac OS X are included - JDOM (www.jdom.org); v1.0 is included - JGoodies Looks (www.jgoodies.com/freeware/looks); R1.2.2 included ------------------ Build Instructions ------------------ 1) Build FusionViewerJNI We recommend building ITK with BUILD_SHARED_LIBS off and replacing all /MD compiler flags with /MT. This will simplify installation and avoid potential DLL version issues. Click Show Advanced Values and under *_LINKER_FLAGS replace /INCREMENTAL:YES with /OPT:REF (there should be 3 instances of this flag). This flag will reduce the size of the DLL by eliminating unreferenced data. Set the following paths: I2TK_DIR - the I2TK (ITK extension library) build directory ITK_DIR - the ITK build directory JAVA_HEADERS (Windows only) - location of the Java headers, such as jni.h JAVA_PROJECT_DIR - the FusionViewer2 directory I2TK is optional. If a path is not specified, then Interfile (.h33) file support will not be available. 2) Build FusionViewer2 An Apache Ant build file is included. If you are using a Java IDE, see the documentation at the top of build.xml. ant [compile] -- compiles the classes ant package -- creates a double-clickable jar file to launch FusionViewer in the dist directory ant clean -- deletes .class files ant headers -- generates JNI headers (assumes FusionViewerJNI is in the parent directory) ------------------ Distribution ------------------ The following files are required: FusionViewer.jar jdom.jar jogl.jar looks-1.2.2.jar FusionViewer.dll/.jnilib/.so jogl.dll/.jnilib/.so jogl_cg.dll/.jnilib/.so The platform directory contains a MacOS X application package. If changes are made to jar files only, then you can simply copy the new jar files into the Contents/Resources/Java directory on any platform. Updates to the native libraries will require compiling on Mac OS X and copying the new jnilib files into this directory. Also, please incorporate appropriate copyright information for the jogl and ITK libraries for code distribution.