godot-cpp icon indicating copy to clipboard operation
godot-cpp copied to clipboard

Not working on Termux

Open Ruslanllll opened this issue 2 years ago • 5 comments

Godot version

4.1.stable.termux

godot-cpp version

Git commit hash 3a9118cb0dafef74773216c47a030c3a4a490747

System information

Android 12, aarch64. (linux terminal emulator Termux)

Issue description

scons platform=linux -j1 custom_api_file=extension_api.json not working Terminal log: https://pastebin.com/pLEmfZ2w

Steps to reproduce

1.mkdir project 2.cd project 3.git init 4.git submodule add -b 4.0 https://github.com/godotengine/godot-cpp 5.cd godot-cpp 6.git submodule update --init 7.godot --headless --dump-extension-api extension_api.json 8.scons platform=linux -j5 custom_api_file=extension_api.json

Minimal reproduction project

N/A

Ruslanllll avatar Jul 10 '23 22:07 Ruslanllll

sh: 1: g++: not found

You need to install a C++ compiler, namely GCC in this case.

Calinou avatar Jul 10 '23 22:07 Calinou

sh: 1: g++: not found

You need to install a C++ compiler, namely GCC in this case.

I have g++ compiler installed

Ruslanllll avatar Jul 10 '23 22:07 Ruslanllll

What's the result of g++ --version?

akien-mga avatar Jul 11 '23 06:07 akien-mga

What's the result of g++ --version?

clang version 16.0.6 Target: aarch64-unknown-linux-android24 Thread model: posix InstalledDir: /data/data/com.termux/files/usr/bin

Ruslanllll avatar Jul 11 '23 07:07 Ruslanllll

Hello @Ruslanllll. How did you install Godot inside Termux? Is it available in the official pkg repos? Or are you working inside a proot-distro environment? Do you have any particular setup for running Godot in graphical mode, or are you using it in headless mode (just to run scripts and/or generating extension API)?

I will try to reproduce this with the information you provide.

elenakrittik avatar Apr 02 '24 14:04 elenakrittik