Open Codinablack opened 3 months ago
I was able to get this working, but it wasn't exactly what i was expecting to be honest, there's no demos or pictures on it.
Theres a few other bugs that you need to fix in the code, eventually i just decided it wasn't for me
https://github.com/pers0na2dev/imgui-editor/blob/main/imgui-editor/src/utils/utils.hpp#L145
change to
srand((unsigned)time(NULL) * GetCurrentProcessId());
which leads to
to fix this
BeginChild is supposed to end with EndChild on line 50 (not sure how this was pushed given that the whole app doesn't work)
This is what it looks like, whatever you do don't click the top left otherwise everything will break, this is when i gave up and abandoned it due to the various bugs.
Check this out if you are looking for something else.
@Jeremy-Boyle Thanks for the instructions on how to fix, and also for the link to the alternative, I will be looking into both options!
I did a clone of this repo, used CMake to generate build files, and after opening and running with VS the solution file it created, It would not compile due to these errors
Severity Code Description Project File Line Suppression State Details Error C3861 '_getpid': identifier not found imgui-editor C:\Users\codin\Downloads\imgui-editor-main\imgui-editor\src\utils\utils.hpp 145
Error C3861 '_getpid': identifier not found imgui-editor C:\Users\codin\Downloads\imgui-editor-main\imgui-editor\src\utils\utils.hpp 145
Error C3861 '_getpid': identifier not found imgui-editor C:\Users\codin\Downloads\imgui-editor-main\imgui-editor\src\utils\utils.hpp 145
Error C3861 '_getpid': identifier not found imgui-editor C:\Users\codin\Downloads\imgui-editor-main\imgui-editor\src\utils\utils.hpp 145
Error C3861 '_getpid': identifier not found imgui-editor C:\Users\codin\Downloads\imgui-editor-main\imgui-editor\src\utils\utils.hpp 145
Error C3861 '_getpid': identifier not found imgui-editor C:\Users\codin\Downloads\imgui-editor-main\imgui-editor\src\utils\utils.hpp 145
Error C3861 '_getpid': identifier not found imgui-editor C:\Users\codin\Downloads\imgui-editor-main\imgui-editor\src\utils\utils.hpp 145
Error C3861 '_getpid': identifier not found imgui-editor C:\Users\codin\Downloads\imgui-editor-main\imgui-editor\src\utils\utils.hpp 145
Error C3861 '_getpid': identifier not found imgui-editor C:\Users\codin\Downloads\imgui-editor-main\imgui-editor\src\utils\utils.hpp 145
Error C3861 '_getpid': identifier not found imgui-editor C:\Users\codin\Downloads\imgui-editor-main\imgui-editor\src\utils\utils.hpp 145