-
Notifications
You must be signed in to change notification settings - Fork 345
Open
Description
I'm having issue while attempt to run imgui.net on linux:
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'cimgui' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libcimgui: cannot open shared object file: No such file or directory
at ImGuiNET.ImGuiNative.igCreateContext(ImFontAtlas* shared_font_atlas)
at ImGuiNET.ImGui.CreateContext()
at Silk.NET.OpenGL.Extensions.ImGui.ImGuiController.Init(GL gl, IView view, IInputContext input)
at Silk.NET.OpenGL.Extensions.ImGui.ImGuiController..ctor(GL gl, IView view, IInputContext input, Nullable`1 imGuiFontConfig, Action onConfigureIO)
at Silk.NET.OpenGL.Extensions.ImGui.ImGuiController..ctor(GL gl, IView view, IInputContext input)
at Program.<>c__DisplayClass0_0.<<Main>$>b__0() in /home/vera/Documents/Projects/silk-imgui/Program.cs:line 29
at Silk.NET.Windowing.Internals.ViewImplementationBase.Initialize()
at Silk.NET.Windowing.WindowExtensions.Run(IView view)
at Program.<Main>$(String[] args) in /home/vera/Documents/Projects/silk-imgui/Program.cs:line 76I'm using Silk.net for OpenGL backend, isn't silk.net problem because OpenGL window opens, but while creating imgui context just crashes.
Additional notes:
Distributor ID: Ubuntu
Description: Linux Lite 4.6
Release: 18.04
Codename: bionic.NET: net6.0
Using regular silk.net example as follow:
Silk.Net - OpenGL Demos: Program.cs
I had made extra step trying to append LD_LIBRARY_PATH to all folders in bin/debug/net6.0/runtimes but still same error.
Metadata
Metadata
Assignees
Labels
No labels