Changeset 87cfede in opengl-game for docs/README.txt
- Timestamp:
- Jan 14, 2024, 2:03:00 AM (11 months ago)
- Branches:
- feature/imgui-sdl
- Parents:
- 6d698e5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/README.txt
r6d698e5 r87cfede 45 45 -------- 46 46 47 Download the vulkan sdk (make sure VULKAN_SDK_PATH in the makefile points to it) 47 Add the Vulkan SDK repo to apt 48 48 49 sudo apt-get install libxcb1-dev xorg-dev libglm-dev libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev 50 51 source setup-env.sh into your current shell 52 53 mActually, I think now this should work, after following the online instructions for installing Vulkan: 54 sudo apt-get install vulkan-sdk libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libglm-dev 55 (Follow the instructions at https://vulkan.lunarg.com/sdk/home#linux to add the latest Vulkan SDK version to apt-get) 56 (Verify that installing libvulkan-1 is not required) 49 sudo apt install build-essential vulkan-sdk libglm-dev libsdl2-dev 57 50 58 51 make vulkangame && ./vulkangame … … 60 53 For the sfml version: (these directions need verification) 61 54 62 sudo apt -getinstall libglm-dev libsfml-dev55 sudo apt install libglm-dev libsfml-dev 63 56 64 Currently, the apt -getsfml package doesn't have Vulkan support, so need to install from source as follows:57 Currently, the apt sfml package doesn't have Vulkan support, so need to install from source as follows: 65 58 66 59 Build the library yourself by following the instructions at https://www.sfml-dev.org/tutorials/2.5/compile-with-cmake.php 67 60 68 sudo apt -getinstall libfreetype-dev libx11-dev libxrandr-dev libudev-dev libopengl-dev libflac-dev libogg-dev libvorbis-dev libopenal-dev libpthread-stubs0-dev61 sudo apt install libfreetype-dev libx11-dev libxrandr-dev libudev-dev libopengl-dev libflac-dev libogg-dev libvorbis-dev libopenal-dev libpthread-stubs0-dev 69 62 70 sudo apt -getinstall cmake-qt-gui63 sudo apt install cmake-qt-gui 71 64 72 65 Clone the sfml repo … … 96 89 --------------------------------------- 97 90 98 sudo apt -getinstall xorg-dev libglew-dev libglm-dev libglfw3-dev91 sudo apt install xorg-dev libglew-dev libglm-dev libglfw3-dev 99 92 100 93 make openglref && ./openglref 101 94 102 95 (Old Linux instructions for compiling game.cpp) 103 -sudo apt -getinstall cmake xorg-dev libglew-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev96 -sudo apt install cmake xorg-dev libglew-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev 104 97 105 98 -Compile GLFW3 from source
Note:
See TracChangeset
for help on using the changeset viewer.