How do i configure imgui in clion? #4077
Replies: 4 comments 13 replies
-
Put CMakeLists.txt in imgui folder and open it in CLion. |
Beta Was this translation helpful? Give feedback.
-
cmake_minimum_required(VERSION 3.24) set(CMAKE_CXX_STANDARD 20) add_executable(MyImGui main.cpp imgui.cpp imgui_demo.cpp imgui_draw.cpp imgui_impl_glfw.cpp imgui_impl_opengl3.cpp imgui_tables.cpp imgui_widgets.cpp) find_package(GLEW REQUIRED) find_package(glfw3 CONFIG REQUIRED) find_package(imgui CONFIG REQUIRED) #Hope this helps |
Beta Was this translation helpful? Give feedback.
-
Under step 3, where can i find the and what they are/do? Line im referencing (17:1): cmake ../imgui |
Beta Was this translation helpful? Give feedback.
-
Did it work? |
Beta Was this translation helpful? Give feedback.
-
i have copied everything from imgui master that is required in project but when i run it gui window doesn't appear and it only says code runs successfully i am using dx11 and win32 in clion but how do successfully configure imgui in clion please help i have looked everywhere and didn't find a solution can anyone help any help is greatly appreciated Thanks.
Beta Was this translation helpful? Give feedback.
All reactions