hey wait net7 aot has no 32bit support how did you do this, unless you used a 64bit XP build
hey wait net7 aot has no 32bit support how did you do this, unless you used a 64bit XP build
yesImGuiNET.ImGui.GetIO().Fonts.Build(); all fonts are goneImGuiNET.ImGui.PushFont actually segfaultsOnLoad():
_fontAwesome = ImGuiNET.ImGui.GetIO().Fonts.AddFontFromFileTTF(Path.Combine(assemblyPath, @"fa-solid-900.ttf"), 16);
.
.
.
OnRender():
ImGuiNET.ImGui.PushFont(_fontAwesome); // <- crashes
ImGuiNET.ImGui.Text("\uf007 User");New Thread 0x7fff740506c0 (LWP 27671)]
Thread 1 "test" received signal SIGSEGV, Segmentation fault.
0x00007fff41923d19 in ImGui::SetCurrentFont(ImFont*) () from /home/rik/test/bin/Debug/net6.0/runtimes/linux-x64/native/libcimgui.soImGuiNET.ImGui.PushFontgdb (bt)
#0 0x00007fff41923d19 in ImGui::SetCurrentFont(ImFont*) ()
from /home/rik/test/bin/Debug/net6.0/runtimes/linux-x64/native/libcimgui.so
#1 0x00007fff41923d6c in ImGui::PushFont(ImFont*) ()
from /home/rik/test/bin/Debug/net6.0/runtimes/linux-x64/native/libcimgui.so
#2 0x00007fff7ee34a6d in ?? ()
#3 0x0000000000effd1b in ?? ()
#4 0x00007ffff7878f18 in ?? () from /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.9/libcoreclr.so
#5 0xffffffffffffffff in ?? ()
#6 0x00007fff7ed29bb8 in ?? ()
#7 0x00007ffff7fc4080 in ?? ()
#8 0x00007fffffffcac0 in ?? ()
#9 0x00007fff7ee34a6d in ?? ()
#10 0x00007fffffffcb40 in ?? ()
#11 0x0000000000050021 in ?? ()
#12 0x0000555555606030 in ?? ()
#13 0x0000555556818fc0 in ?? ()
#14 0x00007fffffffd4f0 in ?? ()
#15 0x00007fffffffd658 in ?? ()
#16 0x0000000000000000 in ?? ()Silk.NET.OpenGL.Extensions.ImGui.ImGuiFontConfig fontConfDefault = new(Path.Combine(assemblyPath, @"Inter-Font.ttf"), 14);
_Controller = new ImGuiController(
_Gl = _Window.CreateOpenGL(),
_Window,
_InputContext = _Window.CreateInput(),
fontConfDefault
);