Hi, Camille,
Thanks for bringing this to my attention. I mistakenly left out XdrFileTools from the list of external objects needed for the patch. I just fixed this in the git repos for both the public and developer versions.
'xdrfile.h' is a header file for the xdrfile library written by the GROMACS team for reading/writing XTC and TRR files. It's necessary to install INDUS as a standalone code, but I've set up the preprocessor macros so that it isn't required to patch INDUS into PLUMED. I'm surprised you receive that error: it suggests to me that the compiler isn't reading the macros as I intended. Let me check to see whether recent versions of PLUMED use different preprocessor variables.
In the meantime, can you try to patch again with the fixed version of the code I just updated on GitHub?
Some more questions that will help me help you:
- What system are you compiling on? Windows/Mac/Linux?
- What compiler are you using?
Best,
Sean