diff --git a/user-doc/Installation.txt b/user-doc/Installation.txt index 3e4b178dc7b6746a0c3e8c97e35c7a68466025a6..a508f3d3053f36d4943a9a7d13edf13e021e3fcb 100644 --- a/user-doc/Installation.txt +++ b/user-doc/Installation.txt @@ -258,14 +258,23 @@ you need to download the SOURCE of VMD, which contains a plugins directory. Adapt build.sh and compile it. At the end, you should get the molfile plugins compiled as a static library `libmolfile_plugin.a`. Locate said file and `libmolfile_plugin.h`, -and customize the configure command with something along -the lines of: +they should be in a directory called `/pathtovmdplugins/ARCH/molfile` +(e.g. `/pathtovmdplugins/MACOSXX86_64/molfile`). Also locate file `molfile_plugin.h`, +which should be in `/pathtovmdplugins/include`. +Then customize the configure command with something along the lines of: \verbatim -./configure LDFLAGS="-ltcl8.5 -L/mypathtomolfilelibrary/ -L/mypathtotcl" CPPFLAGS="-I/mypathtolibmolfile_plugin.h/" +./configure LDFLAGS="-L/pathtovmdplugins/ARCH/molfile" CPPFLAGS="-I/pathtovmdplugins/include -I/pathtovmdplugins/ARCH/molfile" \endverbatim -and rebuild. +Notice that it might be necessary to add to `LDFLAGS` the path to your TCL interpreter, e.g. + +\verbatim +./configure LDFLAGS="-ltcl8.5 -L/mypathtotcl -L/pathtovmdplugins/ARCH/molfile" \ + CPPFLAGS="-I/pathtovmdplugins/include -I/pathtovmdplugins/ARCH/molfile" +\endverbatim + +Then, rebuild plumed. \section CompilingPlumed Compiling PLUMED