Che10VeK 30ad8385c9
Added cmake support (#11)
* Update README.md

* added submodules

* moved submodules to release tag

* fix include for fixed width integer

* added cmake support and build instruction

* Update README.md

* fix cmake links

* upd CMakeLists.txt
2023-08-02 05:44:09 +03:00
2022-03-12 23:14:45 +03:00
2023-08-02 05:44:09 +03:00
2022-10-28 22:44:32 +03:00
2023-08-02 05:44:09 +03:00
2023-08-02 05:44:09 +03:00
2023-08-02 05:44:09 +03:00
2023-08-02 05:44:09 +03:00
2023-08-02 05:44:09 +03:00

Run in windows with compiled executable file:

EXE for windows
MinGW libraries (include & lib) + glew32.dll

Run in linux:

$ git clone https://github.com/MihailRis/VoxelEngine-Cpp.git

$ cd VoxelEngine-Cpp/Debug

$ make

$ ./voxel_engine

Build with CMake

git clone --recursive https://github.com/MihailRis/VoxelEngine-Cpp.git
cd VoxelEngine-Cpp
mkdir build
cd build
cmake ../
cmake --build .

Instal libs:

Debian-based distro:

$ sudo apt install libglfw3-dev libglfw3 libglew-dev libglm-dev libpng-dev libopenal-dev

RHEL-based distro:

$ sudo dnf install glfw-devel glfw glew-devel glm-devel libpng-devel openal-devel

Arch-based distro:

If you use X11 $ sudo pacman -S glfw-x11 glew glm libpng openal

If you use Wayland $ sudo pacman -S glfw-wayland glew glm libpng openal

Note for MinGW compiling:

To fix problem with #include <mingw.thread.h> get headers mingw.thread.h and mingw.invoke.h from: https://github.com/meganz/mingw-std-threads

Description
No description provided
Readme 47 MiB
2025-12-08 22:39:27 +00:00
Languages
C++ 84.1%
Lua 10%
C 4.2%
GLSL 1.2%
CMake 0.3%