Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 1.92 KB

README.md

File metadata and controls

48 lines (39 loc) · 1.92 KB

CastEngine

  • Clone the repo with submodules: git clone --recurse-submodules -j8 ...

Building Windows

MINGW

  • Make sure you are using MinGW64-bit
  • Rename C:/MinGW64/bin/mingw32-make.exe -> C:/MinGW64/bin/make.exe
  • Clone the repo and include the submodules
  • Add MinGW64 binaries to your environment variables into the path
  • Add the bin location to path

MSYS2

  • Download and install the installer from https://www.msys2.org/
    • Run pacman -Syu
    • Reopen terminal and Run pacman -Su
    • Run pacman -S --needed base-devel mingw-w64-x86_64-toolchain
  • Rename C:/msys64/mingw64/bin/mingw32-make.exe -> C:/msys64/mingw64/bin/make.exe
  • Add the bin location to path

Building your own GLSLC Binaries

Building in Ubuntu

  • Make sure you have the correct tools
    • CMAKE must be version 13 and above, Must have GCC/G++ support of C++17 and up
    • sudo apt-get install build-essential manpages-dev
    • sudo apt-get install mesa-utils
    • sudo apt-get install libgl1-mesa-dev
    • sudo apt-get install xorg-dev libglu1-mesa-dev
    • sudo apt install vulkan-validationlayers
    • Install the vulkan sdk
  • run: export VULKAN_SDK= and put your path to the parent of the bin folder
    • This will create temp env, add the above line to ur bashrc file

Building and running after the above setup

  • > make
  • > make run_vulkan or make run_opengl