Changes between Version 5 and Version 6 of Compiling

Show
Ignore:
Timestamp:
09/12/13 15:37:24 (11 years ago)
Author:
jorisborgdorff
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Compiling

    v5 v6  
    88MUSCLE 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 
    99{{{ 
    10 m = Muscle.LAST 
    11 m.add_classpath "path/to/dependency1.jar" 
    12 m.add_classpath "path/to/dependency2.jar" 
     10add_classpath "path/to/dependency1.jar" 
     11add_classpath "path/to/dependency2.jar" 
    1312}}} 
    1413 
     
    1716The 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: 
    1817{{{ 
    19 m = Muscle.LAST 
    20 m.add_libpath "path/to/dependency1/lib" 
    21 m.add_libpath "path/to/dependency2/lib" 
     18add_libpath "path/to/dependency1/lib" 
     19add_libpath "path/to/dependency2/lib" 
    2220}}} 
    2321