1. Install the visual studio 2022 community
To get started, download Visual Studio 2022 Community Edition using the link below.
https://visualstudio.microsoft.com/ko/vs/
For this study, we only need the C++ development environment.
2. Install ImGui using Vcpkg
Next, install Vcpkg, a C/C++ package manager, by following the instructions provided in the link below.
https://learn.microsoft.com/ko-kr/vcpkg/get_started/overview
3. Install ImGui
You can get ImGui from the GitHub repository below.
https://github.com/ocornut/imgui
Alternatively, you can install ImGui more easily using Vcpkg.
To search for ImGui versions, use the following command in your terminal.
./vcpkg search imgui
This will display a list of available ImGui versions.
Since I am using DirectX11(dx11) and my operating system is Windows11, I will install ImGui using the following command.
./vcpkg install imgui[win32-binding,dx11-binding]:x64-windows
Finally, integrate Vcpkg into your Visual Studio environment by entering:
./vcpkg integrate install
The setup is now complete! You can use ImGui in Visual Studio 2022 Community Edition.