RenolY2 / SuperBMD

A library to import and export various 3D model formats into the Binary Model (BMD) format. (Nintendo GC/Wii)
37 stars 10 forks source link

Error with Assimp32.dll #11

Closed LAUROZZ closed 5 years ago

LAUROZZ commented 6 years ago

I get this error but I have Assimp32.dll placed inside the folder, any solution?

Unhandled Exception: Assimp.AssimpException: Error loading unmanaged library from path: Assimp32.dll, see inner exception for details.
The specified module could not be found. (Exception from HRESULT: 0x8007007E) ---> System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   --- End of inner exception stack trace ---
   at Assimp.Unmanaged.AssimpLibraryWindowsImplementation.NativeLoadLibrary(String path)
   at Assimp.Unmanaged.AssimpLibraryImplementation.LoadAssimpLibrary(String path)
   at Assimp.Unmanaged.AssimpLibrary.LoadLibrary()
   at Assimp.Unmanaged.AssimpLibrary.CreatePropertyStore()
   at Assimp.AssimpContext.CreateConfigs()
   at Assimp.AssimpContext.ImportFile(String file, PostProcessSteps postProcessFlags)
   at SuperBMD.Model.Load(String filePath, List`1 mat_presets, TristripOption triopt, Boolean flipAxis, Boolean fixNormals, String additionalTexPath)
   at SuperBMD_UnitTest.Program.Main(String[] args)
RenolY2 commented 6 years ago

The error is a bit misleading because what it's actually not finding is the dlls that Assimp32.dll depends on. Specifically, msvcp110.dll and msvcr110.dll

I added those dlls in the new compiled release: https://github.com/RenolY2/SuperBMD/releases/tag/v1.3.5 I hope that helps

LAUROZZ commented 5 years ago

Yes, it works now, thanks for do it, it is a really nice program :D

El mié., 19 de sep. de 2018 a la(s) 03:32, RenolY2 (notifications@github.com) escribió:

The error is a bit misleading because what it's actually not finding is the dlls that Assimp32.dll depends on. Specifically, msvcp110.dll and msvcr110.dll

I added those dlls in the new compiled release: https://github.com/RenolY2/SuperBMD/releases/tag/v1.3.5 I hope that helps

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RenolY2/SuperBMD/issues/11#issuecomment-422708981, or mute the thread https://github.com/notifications/unsubscribe-auth/An333BCkLB0xwnYscDaI1uE7FFDT-UzFks5ucgElgaJpZM4Vk2c4 .

RenolY2 commented 5 years ago

I'm glad you like it :) Good to know that this fixed it for you.