0 votes

I download the source code from branch 3.0 (should be 3.0.6 now) and run the following:

scons p=android target=release_debug tools=no disable_3d=yes

but I get

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

Is the Optimizing a build for size only work for 3.1?
Or am I missing something?
Thank you.

ps. the output of compilation:

modules\libmodules.android.opt.debug.armv7.neon.a(soft_body_bullet.android.opt.debug.armv7.neon.o):modules\bullet\soft_body_bullet.cpp:function SoftBodyBullet::SoftBodyBullet(): error: undefined reference to 'ImmediateGeometry::ImmediateGeometry()'

modules\libmodules.android.opt.debug.armv7.neon.a(soft_body_bullet.android.opt.debug.armv7.neon.o):modules\bullet\soft_body_bullet.cpp:function SoftBodyBullet::dispatch_callbacks(): error: undefined reference to 'ImmediateGeometry::clear()'

modules\libmodules.android.opt.debug.armv7.neon.a(soft_body_bullet.android.opt.debug.armv7.neon.o):modules\bullet\soft_body_bullet.cpp:function SoftBodyBullet::dispatch_callbacks(): error: undefined reference to 'ImmediateGeometry::begin(Mesh::PrimitiveType, Ref<Texture> const&)'
modules\libmodules.android.opt.debug.armv7.neon.a(soft_body_bullet.android.opt.debug.armv7.neon.o):modules\bullet\soft_body_bullet.cpp:function SoftBodyBullet::dispatch_callbacks(): error: undefined reference to 'ImmediateGeometry::add_vertex(Vector3 const&)'
modules\libmodules.android.opt.debug.armv7.neon.a(soft_body_bullet.android.opt.debug.armv7.neon.o):modules\bullet\soft_body_bullet.cpp:function SoftBodyBullet::dispatch_callbacks(): error: undefined reference to 'ImmediateGeometry::add_vertex(Vector3 const&)'
modules\libmodules.android.opt.debug.armv7.neon.a(soft_body_bullet.android.opt.debug.armv7.neon.o):modules\bullet\soft_body_bullet.cpp:function SoftBodyBullet::dispatch_callbacks(): error: undefined reference to 'ImmediateGeometry::add_vertex(Vector3 const&)'
modules\libmodules.android.opt.debug.armv7.neon.a(soft_body_bullet.android.opt.debug.armv7.neon.o):modules\bullet\soft_body_bullet.cpp:function SoftBodyBullet::dispatch_callbacks(): error: undefined reference to 'ImmediateGeometry::end()'clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
asked Sep 12, 2018 in Engine by icqqq (205 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.