| .vscode | ||
| dependencies | ||
| embedded_resources | ||
| src | ||
| src-csharp | ||
| 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/git/Timerix/ougge.git
-
Install cbuild.
-
Install SDL2 and SDL2_image.
- On Linux install shared libraries from a package manager or compile them from source.
- On Windows download pre-built dll's from github releases and put them into
dependencies/precompiled/.
-
Symlink SDL headers directory to
dependencies/include.ln -s SDL2_HEADERS_DIRECTORY_ABSOLUTE_PATH -T dependencies/include/SDL2Location of the headers can be found by
pkg-config --cflags --libs sdl2. Mingw installs SDL2 headers to/mingw64/include/SDL2. -
Install mono.
Windows:
- Install mono from official website
- Copy
*.dllfiles fromC:\Program Files\Mono\bintodependencies/precompiled/ - Copy
configfromC:\Program Files\Mono\etc\monotodependencies/precompiled/mono-libsand rename toconfig.xml - Copy
mscorlib.dllfromC:\Program Files\Mono\lib\mono\4.5\todependencies/precompiled/mono-libs
Linux:
- Download and extract sources
mkdir mono cd mono wget https://download.mono-project.com/sources/mono/mono-6.12.0.199.tar.xz tar xJf mono-6.12.0.199.tar.xz mv mono-6.12.0.199/* ./ rm -r mono-6.12.0.199 rm mono-6.12.0.199.tar.xz - Install
libz autoconf automake libtool gettext cmake python3 curland - Build mono. If something doesn't work, read documentation
mkdir -p mono_prefix ./autogen.sh --prefix=$(realpath mono_prefix) --disable-boehm make get-monolite-latest make -j8 make install - Install
patchelf - Install mono files in project.
cd .. cbuild get_mono_files_from=mono/mono_prefix - Now you can delete
monodirectory and save 3 gigabytes of disk space :3
-
Compile the program
cbuild build_exec_dbg