Skip to content

Potential issues with Android builds?  #1424

Open
@Connor-McCloskey

Description

Godot version

4.2

godot-cpp version

4.2

System information

Windows 10

Issue description

Attempting to build this repo for Android seems to fail based on missing files. My understanding is that this are object files that should be generated during compilation, so I'm not sure why scons is getting into this state. Perhaps I'm doing something wrong? But this feels like it should be pretty straightforward.

Sample from scons output and the error:

D:\AndroidCL\latest\platform-tools/ndk/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ -o src\core\memory.android.template_debug.arm64.o -c -fno-exceptions -std=c++17 --target=aarch64-linux-android21 -march=armv8-a -fPIC -O2 -fvisibility=hidden -DHOT_RELOAD_ENABLED -DANDROID_ENABLED -DUNIX_ENABLED -DDEBUG_ENABLED -DDEBUG_METHODS_ENABLED -DNDEBUG -Igdextension -Iinclude -Igen\include src\core\memory.cpp

scons: *** [src\core\memory.android.template_debug.arm64.o] The system cannot find the file specified

scons: building terminated because of errors.

Steps to reproduce

  1. Ensure you have a cleaned repo (run scons --clean)
  2. Attempt an Android build (scons platform=Android)
  3. Observe output

Minimal reproduction project

N/A

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions