Go to file
2024-07-30 02:18:01 +03:00
.vscode initial commit 2024-07-30 01:02:42 +03:00
dependencies removed imnodes 2024-07-30 02:18:01 +03:00
src initial commit 2024-07-30 01:02:42 +03:00
tasks initial commit 2024-07-30 01:02:42 +03:00
.gitignore initial commit 2024-07-30 01:02:42 +03:00
.gitmodules removed imnodes 2024-07-30 02:18:01 +03:00
project.config removed imnodes 2024-07-30 02:18:01 +03:00
README.md initial commit 2024-07-30 01:02:42 +03:00

ougge

A game engine or something, idk.

Installation

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