8000 GitHub - mladen/SpaceCraft: A simple Minecraft clone, but in space (eventually), done in C++17 using OpenGL
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mladen/SpaceCraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple Minecraft clone, but in space (eventually), done in C++17 using OpenGL

1. Installation

Install GLEW (for OpenGL extensions)

sudo apt install libglew-dev
# or sudo apt-get install libglew-dev

Install GLFW (for windowing)

sudo apt install libglfw3-dev
# or sudo apt-get install libglfw3-dev

Install GLM (for math)

sudo apt install libglm-dev
# or sudo apt-get install libglm-dev

Install OpenGL

sudo apt install libgl1-mesa-dev
# or sudo apt-get install libgl1-mesa-dev

2. Build

mkdir build
cd build
cmake ..
make

Optional way to compile the project (without CMake) This project can be compiled using the following command (but we'll still be using CMake instead).

g++ game.cpp ../external/glad/src/glad.c -I../external/glad/include -lglfw -ldl -lGL -std=c++20 -o app

3. Run

./SpaceCraft

About

A simple Minecraft clone, but in space (eventually), done in C++17 using OpenGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0