Changes between Initial Version and Version 1 of Compiling

Show
Ignore:
Timestamp:
12/03/12 15:55:34 (12 years ago)
Author:
jorisborgdorff
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Compiling

    v1 v1  
     1For 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, run 
     2{{{ 
     3muscle2 --print-env=CLASSPATH 
     4}}} 
     5 
     6Modify the classpath of MUSCLE to add your own dependencies by adding the following lines to the configuration files 
     7{{{ 
     8m = Muscle.LAST 
     9m.add_classpath "path/to/dependency1.jar" 
     10m.add_classpath "path/to/dependency2.jar" 
     11}}} 
     12 
     13The INCLUDE_PATH for C and C++ should include {{{$MUSCLE_HOME/include}}}, and the library path should include {{{$MUSCLE_HOME/lib}}}, specifically the {{{$MUSCLE_HOME/lib/libmuscle2.so}}} or {{{$MUSCLE_HOME/lib/libmuscle2.dylib}}} (depending on the operating system).