Changeset 87cfede in opengl-game for docs/README.txt


Ignore:
Timestamp:
Jan 14, 2024, 2:03:00 AM (11 months ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl
Parents:
6d698e5
Message:

Update makefile to work in Linux, and update the build docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/README.txt

    r6d698e5 r87cfede  
    4545--------
    4646
    47 Download the vulkan sdk (make sure VULKAN_SDK_PATH in the makefile points to it)
     47Add the Vulkan SDK repo to apt
    4848
    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)
     49sudo apt install build-essential vulkan-sdk libglm-dev libsdl2-dev
    5750
    5851make vulkangame && ./vulkangame
     
    6053For the sfml version: (these directions need verification)
    6154
    62 sudo apt-get install libglm-dev libsfml-dev
     55sudo apt install libglm-dev libsfml-dev
    6356
    64 Currently, the apt-get sfml package doesn't have Vulkan support, so need to install from source as follows:
     57Currently, the apt sfml package doesn't have Vulkan support, so need to install from source as follows:
    6558
    6659Build the library yourself by following the instructions at https://www.sfml-dev.org/tutorials/2.5/compile-with-cmake.php
    6760
    68 sudo apt-get install libfreetype-dev libx11-dev libxrandr-dev libudev-dev libopengl-dev libflac-dev libogg-dev libvorbis-dev libopenal-dev libpthread-stubs0-dev
     61sudo apt install libfreetype-dev libx11-dev libxrandr-dev libudev-dev libopengl-dev libflac-dev libogg-dev libvorbis-dev libopenal-dev libpthread-stubs0-dev
    6962
    70 sudo apt-get install cmake-qt-gui
     63sudo apt install cmake-qt-gui
    7164
    7265Clone the sfml repo
     
    9689---------------------------------------
    9790
    98 sudo apt-get install xorg-dev  libglew-dev libglm-dev libglfw3-dev
     91sudo apt install xorg-dev  libglew-dev libglm-dev libglfw3-dev
    9992
    10093make openglref && ./openglref
    10194
    10295(Old Linux instructions for compiling game.cpp)
    103 -sudo apt-get install cmake xorg-dev  libglew-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev
     96-sudo apt install cmake xorg-dev  libglew-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev
    10497
    10598-Compile GLFW3 from source
Note: See TracChangeset for help on using the changeset viewer.