You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On linux the simplest sample fails because windowing platform fails to load native library.
Ultz.Native does place .so file, but it is under runtimes/linux-x64/native however the default path resolvers does not check this path.
Steps to reproduce
Platform: Desktop/Linux
Framework Version: .NET 5
API: GLFW
Created a new .net5 project (I was using Rider for that)
I get exception: The currently bound window platform(s) only support views, instead of windows. Use the view APIs instead.
After some debugging I narrowed it down to inability to load glfw library even though it is available at output runtimes/linux-x64/native/libglfw.so.3.
If I set LD_LIBRARY_PATH=runtimes/linux-x64/native then I can run the example.
However I think that the default loader could also check this directory for native libraries.
The text was updated successfully, but these errors were encountered:
Summary
On linux the simplest sample fails because windowing platform fails to load native library.
Ultz.Native does place .so file, but it is under
runtimes/linux-x64/native
however the default path resolvers does not check this path.Steps to reproduce
The application fails to run.
Comments
I get exception:
The currently bound window platform(s) only support views, instead of windows. Use the view APIs instead.
After some debugging I narrowed it down to inability to load glfw library even though it is available at output
runtimes/linux-x64/native/libglfw.so.3
.If I set
LD_LIBRARY_PATH=runtimes/linux-x64/native
then I can run the example.However I think that the default loader could also check this directory for native libraries.
The text was updated successfully, but these errors were encountered: