AndresTraks / BulletSharpPInvoke

.NET wrapper for the Bullet physics library using Platform Invoke

Home Page:http://andrestraks.github.io/BulletSharp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

mengdada opened this issue · comments

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

I use NugGet.

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?

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.

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.

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.

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

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.