| .vscode | ||
| dependencies | ||
| src | ||
| tasks | ||
| .gitignore | ||
| .gitmodules | ||
| project.config | ||
| README.md | ||
ougge
A game engine or something, idk.
Installation
- Clone the repository
git clone --recurse-submodules https://timerix.ddns.net:3322/Timerix/ougge.git
- Install cbuild
- Install SDL2 from package manager or compile it from source.
If you are using msys, switch to mingw64 sh.
Then you can install it systemwide (on Linux):git clone https://github.com/libsdl-org/SDL.git cd SDL ./configure make -j [number of cpu threads]
or copy to ./dependencies/precompiled/ (on Windows):sudo make install
If it doesn't work, read SDL/INSTALL.txt and SDL/docs/README.md.mkdir -p ../ougge/dependencies/precompiled/ cp ./build/.libs/SDL2.dll ../ougge/dependencies/precompiled/ - Symlink SDL headers directory to
dependencies/include
Location of the headers can be found bycd ../ougge ln -s SDL2_HEADERS_DIRECTORY_ABSOLUTE_PATH -T dependencies/include/SDL2pkg-config --cflags --libs sdl2. Mingw installs SDL2 headers to/mingw64/include/SDL2. - Compile the program
cbuild build_exec_dbg