Skip to content

Compile android template error on Windows #6844

Description

@volzhs

Operating system or device - Godot version:
Windows 10, scons 2.4.1, MSVC 14, 8913222

Issue description (what happened, and what was expected):

modules\libmodules.android.opt.debug.armv7.neon.a(register_module_types.android.opt.debug.armv7.neon.o):register_module_types.cpp:function register_module_types(): error: undefined reference to 'register_chibi_types()'
modules\libmodules.android.opt.debug.armv7.neon.a(register_module_types.android.opt.debug.armv7.neon.o):register_module_types.cpp:function register_module_types(): error: undefined reference to 'register_cscript_types()'
modules\libmodules.android.opt.debug.armv7.neon.a(register_module_types.android.opt.debug.armv7.neon.o):register_module_types.cpp:function register_module_types(): error: undefined reference to 'register_dds_types()'
... lots of "register_module_something()"

modules\libmodules.android.opt.debug.armv7.neon.a(register_module_types.android.opt.debug.armv7.neon.o):register_module_types.cpp:function unregister_module_types(): error: undefined reference to 'unregister_chibi_types()'
modules\libmodules.android.opt.debug.armv7.neon.a(register_module_types.android.opt.debug.armv7.neon.o):register_module_types.cpp:function unregister_module_types(): error: undefined reference to 'unregister_cscript_types()'
modules\libmodules.android.opt.debug.armv7.neon.a(register_module_types.android.opt.debug.armv7.neon.o):register_module_types.cpp:function unregister_module_types(): error: undefined reference to 'unregister_dds_types()'
... lots of "unregister_module_something()"
... and lots of "webp, VP8, TestGDScript::test" things

collect2.exe: error: ld returned 1 exit status

=====
scons: *** [bin\libgodot.android.opt.debug.armv7.neon.so] Error 1
scons: building terminated because of errors.

Compiling for windows tool and templates are fine.

Steps to reproduce:
scons -j 4 platform=android colored=yes tools=no target=release_debug

Link to minimal example project (optional but very welcome):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions