Open SCMusson opened 2 years ago
To be clear, my exampleplugin.i file has these imports:
#include "MyIntegrator.h"
#include "OpenMM.h"
#include "OpenMMAmoeba.h"
#include "OpenMMDrude.h"
#include "openmm/RPMDIntegrator.h"
#include "openmm/RPMDMonteCarloBarostat.h"
If I remove the "#include "OpenMMDrude.h" I get the same error with "DrudeNoseHooverIntegration" is not a member of "OpenMM" so I assume that it is a matter of including the correct file.
I have tried "#inculde "openmm/LangevinIntegrator.h", "#include "openmm/Integrator.h" without success
I made the most disturbing hacky fix for this. I removed all mentions of LangevinIntegrator from a copy of OpenMMSwigHeaders.i called myOpenMMSwigHeaders.i and imported this instead of OpenMMSwigHeaders.i. I hate this solution and hate myself for not having the energy to debug this further. If anyone can suggest a real solution please let me know.
I have come across an error that is really perplexing me.
I have tried to create a custom integrator. It compiles, and tests are all successful. But when I come to make the python wrappers i run into issues with this error code:
I haven't touched OpenMM::LangevinIntegrator and it doesn't have a problem with anything else