graphics

Setting

S0LL 2024. 12. 18. 01:32

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/

 

Visual Studio 2022 | 무료 다운로드

Visual Studio에서 코드 완성, 디버깅, 테스트, Git 관리, 클라우드 배포를 사용하여 코드를 작성합니다. 지금 무료로 커뮤니티를 다운로드하세요.

visualstudio.microsoft.com

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

 

vcpkg 개요

vcpkg C/C++ 패키지 관리자가 종속성을 획득하고 관리하는 데 어떻게 도움이 되는지 알아봅니다.

learn.microsoft.com

 

 

 

3. Install ImGui

 

You can get ImGui from the GitHub repository below.

 

https://github.com/ocornut/imgui

 

GitHub - ocornut/imgui: Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies - ocornut/imgui

github.com

 

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.