I'm looking to add a new motion solver, and was wondering what steps (code snippets, etc) have to be included to enable run-time selection of the shared library.

I've included "addToRunTimeSelectionTable.H" and the addToRunTimeSelectionTable() function, but no success. I've also explicitly specified a motionSolverLibs entry in dynamicMeshDict, but it throws an error like this: