assimp.dll is either not designed to run on Windows or it contains an error.

Issue #76 new
晓江 王 created an issue

I downloaded AssimpNet 5.0.0 and runed Assimp.Sample,this error showed up.

And then i created a new program based on .Net Framework 4.6.1, then same error appeared.

I tested on both Windows 7 and Windows 10,all failed

Comments (5)

  1. 晓江 王 reporter

    ..\win-x64\native\assimp.dll is either not designed to run on Windows or it contains an error.Try installing the program again using the original installation media or contact your system administrator or the software vender for support.

  2. Nicholas Woodfield repo owner

    I have never seen an error like this, some cursory searching I see recommendations to use the System File Checker (SFC) https://answers.microsoft.com/en-us/windows/forum/all/error-msconrwksdll-is-either-not-designed-to-run/7900ff6a-9303-4483-a8ed-d3da28177e42

    The other recommendation I see is to re-install the Visual C++ redistributable, but the native DLL that is built for windows has the Visual C++ runtime statically linked so you don’t have to install the redistributable in the first place. Maybe something on your computer is blocking the DLL?

  3. 晓江 王 reporter

    Here is my test code with .net framework 4.6.1.

    When i runed the code in vs 2019, it failed.

    Click the dialog button, vs breaked at this place, it seems Loadlibrary failed.

    If i build the progrem and double click MyTest1.exe, a nother message show in the console window.

    note:”不是有效的 Win32 程序” means “is not a valid Win32 application“.

    Then i tested Loadlibray by my self.

    I tried to load assimp.dll in runtime folder by Loadlibray, failed with the same error.

    And i tried to load another dll file of mine, Loadlibray works fine.

    So, is it possible the assimp.dll in folder is broken? Or it do not suit my system?

    my operating system: Windows 7 Ultimate SP1, system language: Chinese Simplified

  4. Log in to comment