utf8x
Topic Author
Posts: 2
Joined: 12 Sep 2022, 16:55

DllNotFoundException on macOS (Apple Silicon)

10 Oct 2023, 13:27

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?
 
User avatar
sfernandez
Site Admin
Posts: 3363
Joined: 22 Dec 2011, 19:20

Re: DllNotFoundException on macOS (Apple Silicon)

10 Oct 2023, 19:39

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.
 
utf8x
Topic Author
Posts: 2
Joined: 12 Sep 2022, 16:55

Re: DllNotFoundException on macOS (Apple Silicon)

11 Oct 2023, 12:44

Copying the dylib manually solved the issue. I've created a ticket for it here: https://www.noesisengine.com/bugs/view.php?id=2722
 
User avatar
jsantos
Site Admin
Posts: 4823
Joined: 20 Jan 2012, 17:18
Contact:

Re: DllNotFoundException on macOS (Apple Silicon)

11 Oct 2023, 13:33

Thanks a lot for the feedback, this will be fixed in the next version.

Who is online

Users browsing this forum: Bing [Bot] and 4 guests