Changes between Version 2 and Version 3 of Compiling
- Timestamp:
- 12/03/12 16:00:54 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Compiling
v2 v3 1 For compiling Java code with MUSCLE, the Java archives in {{{$MUSCLE_HOME/share/muscle/java}}} and {{{$MUSCLE_HOME/share/muscle/java/thirdparty}}} should be added to the classpath. MUSCLE automatically includes these in the class path when running.To get these files formatted as a classpath, run1 For compiling Java code with MUSCLE, the Java archives in {{{$MUSCLE_HOME/share/muscle/java}}} and {{{$MUSCLE_HOME/share/muscle/java/thirdparty}}} should be added to the classpath. To get these files formatted as a classpath, run 2 2 {{{ 3 3 muscle2 --print-env=CLASSPATH 4 4 }}} 5 5 6 M odify the classpath of MUSCLE to add your own dependenciesby adding the following lines to the configuration files6 MUSCLE automatically includes these in the class path when running. To add your own dependencies, modify the classpath of MUSCLE by adding the following lines to the configuration files 7 7 {{{ 8 8 m = Muscle.LAST … … 11 11 }}} 12 12 13 The INCLUDE_PATH for C and C++ should include {{{$MUSCLE_HOME/include}}} , and the executables should be linked with the {{{$MUSCLE_HOME/lib/libmuscle2.so}}} or {{{$MUSCLE_HOME/lib/libmuscle2.dylib}}} library (depending on the operating system). To updateadd any other libraries to the dynamic library path, modify the configuration file as follows:13 The INCLUDE_PATH for C and C++ should include {{{$MUSCLE_HOME/include}}} and the executables should be linked with the {{{$MUSCLE_HOME/lib/libmuscle2.so}}} or {{{$MUSCLE_HOME/lib/libmuscle2.dylib}}} library (depending on the operating system). To add any other libraries to the dynamic library path, modify the configuration file as follows: 14 14 {{{ 15 15 m = Muscle.LAST