Install
Install from Releases
-
Go to the G-Mind GitHub repository releases page and download the latest release package.
-
Extract the downloaded package and copy the contents to the root of your Godot project
res://
Install from source (Linux)
-
Ensure you have Cargo installed on your system.
cargo --version
-
Clone the G-Mind repository:
git clone https://github.com/Jersonrn/G-Mind
-
Navigate to the Rust G-Mind project directory:
cd G-Mind/rust/
-
Build the Rust project in release mode:
cargo build --release
-
Copy the compiled
libg_mind.so
library to your Godot project'slib/g_mind
directory:cp target/release/libg_mind.so /path/to/your/godot/project/lib/g_mind
-
Copy the
scripts
directory to your Godot project'slib/g_mind
directory:cd ../.. cp -r godot/scripts /path/to/your/godot/project/lib/g_mind
-
Create a
g_mind.gdextension
file in the root of your Godot project:Then, add the following content to thecd /path/to/your/godot/project touch g_mind.gdextension
g_mind.gdextension
file:[configuration] entry_symbol = "gdext_rust_init" compatibility_minimum = 4.2 [libraries] linux.debug.x86_64 = "res://lib/g_mind/libg_mind.so" linux.release.x86_64 = "res://lib/g_mind/libg_mind.so"