Install for C++
Integrate Dear ImGui Bundle in your own project in 5 minutes
The easiest way to use Dear ImGui Bundle in an external project is to use the template available at https://github.com/pthom/imgui_bundle_template.
This template includes everything you need to set up your own project.
Build from source
If you choose to clone this repo, follow these instructions:
git clone https://github.com/pthom/imgui_bundle.git
cd imgui_bundle
git submodule update --init --recursive # (1)
mkdir build
cd build
cmake .. -DIMMVISION_FETCH_OPENCV=ON # (2)
make -j
-
Since there are lots of submodules, this might take a few minutes
-
The flag
-DIMMVISION_FETCH_OPENCV=ON
is optional. If set, a minimal version of OpenCV will be downloaded a compiled at this stage (this might require a few minutes)
Run the C++ demo
If you built ImGuiBundle from source, Simply run build/bin/demo_imgui_bundle
.
The source for the demos can be found inside bindings/imgui_bundle/demos_cpp.
Tip
|
Consider demo_imgui_bundle as a manual with lots of examples and related code source. It is always available online
|