2D_game_build - 8BitsCoding/RobotMentor GitHub Wiki
ํ๋ก์ ํธ ์ ๋ณด
- ์ ์์์์ผ : 19.09.29
- ์ ์์ข ๋ฃ์ผ : 19.09.29
- ์ธ์ด : Modern C++
- IDE : Visual Studio 2017
- ๋ผ์ด๋ธ๋ฌ๋ฆฌ : vcpkg(opengl, glew, glfw3)
- GitHub ์ฃผ์ : https://github.com/GoodayTH/GameDevPracticePackage
- Fork ์ ์ฃผ์ : https://github.com/jmhong-simulation/GameDevPracticePackage
- vcpkg ์ฃผ์ : https://github.com/microsoft/vcpkg
Vcpkg ์ค์น ๋ฐฉ๋ฒ
๋น์ฅฌ์ผ ์คํ๋์ค ์ธ๋ถ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๊ด๋ฆฌ
- https://github.com/microsoft/vcpkg ์ ์ ์ํ์ฌ clone ํ๋ค.
- bootstrap-vcpkg.bat์ cmd์ฐฝ์์ ์คํํ๋ค.
- vcpkg๊ฐ ๋น๋๋๋ค.
์ํ๋ Vcpkg ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ค์น
vcpkg.exe search eigen3
eigen3๋ผ๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๊ฐ ์ค์น๊ฐ๋ฅํ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ธ์ง ๊ฒ์ํ๋ค.
vcpkg.exe list
์ค์น๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ฆฌ์คํธ๋ฅผ ๋ณด์ฌ์ค๋ค.
vcpkg.exe install boost:x64-windows
๋ง์ฝ ๋ค์
:x64-windows
๊ฐ ๋น ์ง๋ค๋ฉด 32bit๋ก ์ค์น๊ฐ ๋๋ค.(์ฐธ๊ณ ) ๋ง์ฝ CMake๊ฐ ์ค์น๋์ง ์์ ์ํ๋ผ๋ฉด CMake๋ฅผ ๋จผ์ ์ค์นํ๊ธฐ์ ์๊ฐ์ด ์กฐ๊ธ ๊ฑธ๋ฆฐ๋ค.
vcpkg.exe integrate install
์ค์น๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์๋์ผ๋ก Visual Studio์์ include ์์ผ์ค๋ค.
์ง์ ํด๋ณด์
vcpkg.exe install opengl:x64-windows
vcpkg.exe install glew:x64-windows
vcpkg.exe install glfw3:x64-windows
๋น๋๊ฐ ์๋ ๊ฒฝ์ฐ ์ธ์ดํฉ ๋ฌธ์ ์ผ ์ ์๋ค. ํ๊ตญ์ด -> ์์ด๋ก ๋ณ๊ฒฝ ํ ๋ค์ ํด๋ณด์.
ํ๋ก์ ํธ ๋น๋
- GitHub ์ฃผ์ : https://github.com/GoodayTH/GameDevPracticePackage
๋ฅผ ๋น๋ํ๋ค. ์ฐธ๊ณ ๋ก Windows 10 SDK๊ฐ ํ์ํ๋ค.