ocornut / imgui_test_engine

Dear ImGui Automation Engine & Test Suite
386 stars 40 forks source link

ImGuiItemStatusFlags errors when building #27

Closed santaclose closed 12 months ago

santaclose commented 12 months ago

I'm trying to set this up to test https://github.com/santaclose/ste I tried to follow this guide: https://github.com/ocornut/imgui_test_engine/wiki/Setting-Up

Add to your imconfig file #include "imgui_te_imconfig.h or add equivalent configuration directives.

I'm not sure what you mean by "your imconfig file" and I don't think I have one, but I tried to add the configuration to one of my cpp files: image

And don't know where the ImGuiItemStatusFlags identifiers are supposed to be defined 🤔 image

Thanks in advance.

ocornut commented 12 months ago

Imconfig.h is the main file to configure dear imgui: https://github.com/ocornut/imgui/blob/master/imconfig.h

You can either modify the file in imgui/ directory or set the define globally in your build process to redirect it to a file of your choice.

santaclose commented 12 months ago

thanks for the info! building fine now.