BulletSharpPInvoke icon indicating copy to clipboard operation
BulletSharpPInvoke copied to clipboard

System.DllNotFoundException: Unable to load DLL 'libbulletc': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Open mengdada opened this issue 5 years ago • 7 comments

System.DllNotFoundException: Unable to load DLL 'libbulletc': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I use NugGet.

mengdada avatar Jun 17 '19 17:06 mengdada

Try removing and re-adding the BulletSharp NuGet dependency. The NuGet package should copy libbulletc.dll into the application build directory, so when your application launches, it should load BulletSharp.dll, which in turn should find libbulletc.dll next to it.

What version of Visual Studio are you using and what's the target .NET framework of your application?

AndresTraks avatar Jun 18 '19 22:06 AndresTraks

I am also having this issue on .net 5, it does not appear to be moving it to the out directory. I'm using jetbrains rider and latest bullsharp pinvoke.

maddalax avatar Jan 14 '21 16:01 maddalax

Figured it out, there is one on nuget for WaveEngine, which isn't this. That is the one I had installed. I ended up just building the .dll manually, which fixed it.

maddalax avatar Jan 14 '21 17:01 maddalax

I have same issue. libbulletc.dll isn't included to nuget packet. It makes it's usage impossible. While it's possible to compile dll manually, some people(like me) might find it difficult.

BitKovin avatar Nov 09 '23 23:11 BitKovin

It seems like after version 1.0.7 content files are not being included image

BitKovin avatar Nov 09 '23 23:11 BitKovin

I've switched to 1.0.0 (1.0.7 crashed), but problem is that it only contains x64 binaries. It would be nice to have both x64 and x86 binaries in nuget.

BitKovin avatar Nov 09 '23 23:11 BitKovin

If it's https://www.nuget.org/packages/RhuBulletSharp, I don't maintain that one. https://www.nuget.org/packages/BulletSharp is what I've uploaded.

AndresTraks avatar Nov 12 '23 10:11 AndresTraks