Page 1 of 1

DllNotFoundException on macOS (Apple Silicon)

Posted: 10 Oct 2023, 13:27
by utf8x
I'm trying to integrate Noesis with OpenTK in C# on net7.0 and when trying to run on macOS on an M1 Mac, I get a DllNotFoundException. I don't have the same issue when running on Windows.

As mentioned before, I'm using net7.0 and Noesis.GUI version 3.2.2 from nuget.

There is a Nosis.dylib in bin/.../runtimes/osx-x64/native but not in osx-arm64. Does the nuget package not support apple silicon?

Has anyone run into this issue before? Any ideas?

Re: DllNotFoundException on macOS (Apple Silicon)

Posted: 10 Oct 2023, 19:39
by sfernandez
Our macos library is bundled with all the available platforms so I think we are missing the corresponding runtime identifier folder in the Noesis.GUI nuget. Could you please report this in our bugtracker and we will fix it.

In the meantime, could you try to just create inside the runtimes folder for your cached Noesis.GUI nuget an osx-arm64 folder and just copy there the library found in osx-x64.

Re: DllNotFoundException on macOS (Apple Silicon)

Posted: 11 Oct 2023, 12:44
by utf8x
Copying the dylib manually solved the issue. I've created a ticket for it here: https://www.noesisengine.com/bugs/view.php?id=2722

Re: DllNotFoundException on macOS (Apple Silicon)

Posted: 11 Oct 2023, 13:33
by jsantos
Thanks a lot for the feedback, this will be fixed in the next version.