A custom Godot Engine module to use the SQLite relational database.
- How to Compile
- Example Usage
- Creating WASM Programs
- Installation for Windows
- Refreshing sqlite3.c
- Attribution
- Godot Engine Compiling Documentation
- OPTIONAL: Rust for cluster database support
cmd
scoop install llvm-mingw@20220906
scoop install rustup
rustup update
rustup target remove x86_64-pc-windows-msvc
rustup target add x86_64-pc-windows-gnu
rustup default stable-x86_64-pc-windows-gnu
cd ~/scoop/apps/llvm-mingw/20220906/x86_64-w64-mingw32/lib
ln -s libc++.a libgcc.a # https://www.reddit.com/r/rust/comments/jst1kk/building_rust_without_linking_against_libgcc/
ln -s libunwind.a libgcc_eh.a
msys2
pacman -S make clang diff mingw-w64-x86_64-rust
sh configure --enable-all --enable-wasm-runtime
make sqlite3.c
This engine module for Godot is based on gdsqlite-native by Khairul Hidayat in 2017.
Thanks to the libsql team for their work in 2023.