cimgui-go: module: build failure

Hi, I’m having trouble building the latest code

cd examples
go run .
# github.com/AllenDang/cimgui-go
In file included from ./cimplot_wrapper.h:3,
                 from ./cimplot_structs_accessor.h:3,
                 from ../cimplot_funcs.go:4:
./cimplot/cimplot.h:7:10: fatal error: cimgui.h: No such file or directory
    7 | #include "cimgui.h"
      |          ^~~~~~~~~~
compilation terminated.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 23 (12 by maintainers)

Most upvoted comments

Okay, I’ll try making something later today to make exactly what I want.

  1. Remove glfw dependency and backend - temporarily provide ebiten-imgui backend as a substitute.
  2. Remove submodule usage
  3. Properly commit cimgui and cimplot to the repo.

The last two reverts about git submodules should have helped. If you have new build issues feel free to re-open or create a new issue.

@andraantariksa try now, it should work

The inclusion of cimplot by default here rubs me in the wrong way anyway, it introduces a ton of complexity and ImPlot is not a part of Dear ImGui anyway… So it might be better to do this:

  1. Remove ImPlot temporarily
  2. Add it again properly and make it work with git submodules (and ideally move it to a different package, because a lot of people won’t need it)