Hi Esther, This isn't trivial to diagnose since I'm working with this environment, but thinks like this are typically due to the required boost libraries note being accessible somewhere in the PATH. If you take a look at the DLL you are loading (RDKFuncsw.dll) with dependency walker ( http://www.dependencywalker.com/) you should be able to see the DLLs that it depends on which aren't being found.
Best, -greg P.S. I'd love to hear what you're planning on doing with the RDKit and Unity. On Fri, May 10, 2019 at 6:37 PM Esther Barlow-Smith <esther...@hotmail.co.uk> wrote: > Dear all, > > I am trying to use the RDKit C# wrapper dlls RDKFuncs.dll and > RDKit2DotNet.dll in Unity 2017.4 but when I implement a script testing if > the dlls work I get errors that the RDKFuncsw.dll failed to load and it > gives a 'DllNotFoundException' for RDKFuncs. I have built the dlls for 3.5 > .Net, 4.0 .Net and 4.5 Net but I get the same error each time. I am not > sure if there's a certain build requirement for the RDKit dlls to enable > compatibility with unity? > > Thanks in advance, > Esther > > Script used: > using UnityEngine; > using GraphMolWrap; > > public class RdkitAtom : MonoBehaviour > { > > private void Start() > { > Debug.Log("started"); > AtomCoords(); > } > > public void AtomCoords() > { > ROMol m1 = RWMol.MolFromPDBFile(Application.dataPath + > @"\Resources\DataFiles\3eai.pdb"); > } > } > _______________________________________________ > Rdkit-discuss mailing list > Rdkit-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rdkit-discuss >
_______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss