Closed whensonZWS closed 5 months ago
Hello, many thanks for letting me know!
Actually this is my fault. The documentation is in sync with the latest commit, not with the pip version.
In order to solve your issue, you can either:
Sorry for that. I need to somehow set up different versions of the documentation.
Great! I was about to close the issue as I dig out a working example and was studying the sample now.
Digging through your extensive documents have me realized that the document the first link doesn't match what I was trying to run.
Though VS code is still throwing quite a bit of complaint regarding hello_imgui
and some other modules such as imgui_md
.
Thanks for illuminating my frustration and giving me a new link for me to start working with. I can't state how much I appreciate your meticulous documentation and effort to maintain this bundle, couldn't asked for more.
I was trying to run the layout with docking sample on https://pthom.github.io/imgui_bundle/quickstart.html#_complex_layouts_with_docking_windows,
I couldn't get it running either via C++ or Python by following the instruction provided by the link.
In the Python attempt, the editor (VS Code) was prompting that
hello_imgui
could not be resolved from source, together withicons_fontawesome_6
. Upon a bit of digging,imgui_bundle
exportsicons_fontawesome
instead and fixing it is just a matter of find and replace.However
hello_imgui
's issue go a bit deeper as it seems some of its content were not available. This is the error message.The sample code seems to rely on quite a few occurrence of content within
hello_imgui
, so I couldn't just delete or replace it. I was not able to get it running due to all the seemingly missing content. It does however run fine in the test engine example, sohello_imgui
does have some working content.As for the C++ attempt, in line 21
#include "demo_utils/api_demos.h"
is completely missing and I couldn't build it. I follow build instruction in the previoushello world
example section so I might be following the wrong instruction. If that's the case, please point me to the correct instruction.I am using Windows 10, Python 3.10, the
imgui_bundle
version is1.3.0
installed via pip. I am suspecting thathello_imgui
submodule was not generated correctly during the pip install process.