Question by
overthrowrobotics · Dec 29, 2017 at 11:56 PM ·
dllnative plugindllnotfoundexception
Native DLL saying FileNotFoundException
I'm trying to use the C# library clrzmq which is a library for ZeroMQ messaging. There's a .NET specific one but I'm unable to get it to work in Unity 2017.
My script for clrzmq works fine in standalone Visual Studio 2017. I put it into Unity and once I run it I get
FileNotFoundException: UnmanagedLibrary[libzmq] Unable to load binary "libzmq" from folders
C:\Program Files\Unity\Editor\amd64\libzmq.dll
C:\Program Files\Unity\Editor\x64\libzmq.dll
C:\Unity Projects\unity\Assets\ZeroMQ\amd64\libzmq.dll
C:\Unity Projects\unity\Assets\ZeroMQ\x64\libzmq.dll
I've tried copying the file to a number of those other folders. Same error. I put it under Assets, Assets/Plugins and even the Unity editor folder. No dice on any of them.
Ideas?
Comment
Answer by overthrowrobotics · Dec 30, 2017 at 12:09 AM
http://recordit.co/E923xHIMb4 - short clip showing the dll is there. ZeroMQ is calling this C++ DLL.
Answer by RhinocerosGamesProduction · Mar 24, 2019 at 10:16 PM
I'm actually having the same problem, did you ever find a solution?