nathandunk / BetterSerialPlotter

A drop-in replacement for the arduino serial plotter
MIT License
162 stars 25 forks source link

Compiling On Linux #4

Closed ChSotiriou closed 2 years ago

ChSotiriou commented 2 years ago

After a successful compilation on Arch Linux (Kernel 5.10.82-1-lts) I get the following assertion error.

BetterSerialPlotter: /home/christoss/Documents/fromSource/BetterSerialPlotter/build/_deps/mahi-gui-src/3rdparty/imgui/imgui.cpp:7784: void ImGuiStackSizes::CompareWithCurrentState(): Assertion `SizeOfIDStack == window->IDStack.Size && "PushID/PopID or TreeNode/TreePop Mismatch!"' failed.
fish: Job 1, './BetterSerialPlotter' terminated by signal SIGABRT (Abort)

The older precompiled version works just fine.

nathandunk commented 2 years ago

I think that is an extra check ImGui does when compiling in debug mode. If you are compiling in debug, could you by chance try compiling in release mode? That check is based on the ImGui library, and I spend a significant amount of time trying to fix this, but could not find where the problem was. While I will add this as something that I need to fix, I hope you can get it working in release mode.

ChSotiriou commented 2 years ago

Hello,

Yes I just compiled in release mode and runs just find. Great project.

Thank You 😀