- Add `gl.rs` for OpenGL ES 2.0 and EGL context management. - Introduce `mod.rs` to organize Live2D plugin modules. - Create `model.rs` for loading and managing Cubism models, including parameter handling and drawable data extraction. - Implement shader compilation and rendering context setup for Live2D models.
24 lines
903 B
Bash
24 lines
903 B
Bash
#!/bin/bash
|
|
echo "=== DOWNLOAD TOOLS ==="
|
|
which wget 2>/dev/null && echo "wget: yes" || echo "wget: no"
|
|
which curl 2>/dev/null && echo "curl: yes" || echo "curl: no"
|
|
|
|
echo "=== OPENGL/EGL LIBS ==="
|
|
ls /usr/lib/aarch64-linux-gnu/libEGL* 2>/dev/null || echo "no EGL lib"
|
|
ls /usr/lib/aarch64-linux-gnu/libGLESv2* 2>/dev/null || echo "no GLES lib"
|
|
ls /usr/lib/aarch64-linux-gnu/libGL* 2>/dev/null || echo "no GL lib"
|
|
|
|
echo "=== PKG CONFIG ==="
|
|
pkg-config --list-all 2>/dev/null | grep -iE 'egl|gles|gl' || echo "no pkg-config gl"
|
|
|
|
echo "=== BUILD TOOLS ==="
|
|
gcc --version 2>/dev/null | head -1 || echo "no gcc"
|
|
g++ --version 2>/dev/null | head -1 || echo "no g++"
|
|
cmake --version 2>/dev/null | head -1 || echo "no cmake"
|
|
|
|
echo "=== RUST ==="
|
|
ls ~/.rustup/toolchains/*/bin/rustc 2>/dev/null | head -1
|
|
~/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/bin/rustc --version 2>/dev/null
|
|
|
|
echo "=== DONE ==="
|