A simple OpenGL game engine written in C, just for fun and learn some render stuff.
Build & Install:
$ yay gcc meson git cglm assimp glfw freealut sqlite curl freetype
$ git clone https://github.com/STARRY-S/Aperture.git && cd Aperture
$ mkdir build && cd build
$ meson setup .. && meson compile && meson install
See Aperture-Android
- Install MSYS2.
- Install mingw64 build dependencies.
$ pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake \ mingw-w64-x86_64-mesa mingw-w64-x86_64-assimp \ mingw-w64-x86_64-cglm mingw-w64-x86_64-glfw \ mingw-w64-x86_64-ninja mingw-w64-x86_64-openal \ mingw-w64-x86_64-freealut mingw-w64-x86_64-ffmpeg
- Update the system enviroment, add the
msys64/mingw64/bin
folder toPATH
variable. - Clone the source code of this repository, open it in windows powershell,
> cd \path\to\the\source\code\ > mkdir build > cd build > cmake .. > ninja
- You can use
cmake -DCMAKE_C_COMPILER=gcc
to specify a C compiler.
- OpenGL ES 3.0
- cglm
- Assimp
- stb_image
- GLAD
- GLFW
- ffmpeg
- openAL
- freeALUT
- FreeType 2
- SQLite3
- curl
See Aperture-demo
The source code of this project is under Apache-2.0 license.