I’m trying to build Urho3D for android using the dockerize-android through docker’s kitematic. Everything goes well and the build runs for a while, then it fails with:
/home/urho3d/Source/Urho3D/AngelScript/…/AngelScript/Addons.h:35:10: fatal error: ‘AngelScript/angelscript.h’ file not found
I am confused as to why this should even happen. Below is the full output of the container log
Task :android:urho3d-lib:externalNativeBuildDebug FAILED
A<==-----------> 23% EXECUTING [51s]DB> IDLEDBA
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:android:urho3d-lib:externalNativeBuildDebug’.
Build command failed.
Error while executing process /android-sdk/cmake/3.6.4111459/bin/cmake with arguments {–build /home/urho3d/android/urho3d-lib/.externalNativeBuild/cmake/debug/x86_64 --target Urho3D}
[1/280] Building CXX object Source/Urho3D/CMakeFiles/Urho3D.dir/AngelScript/GraphicsAPI.cpp.o
[2/280] Building CXX object Source/Urho3D/CMakeFiles/Urho3D.dir/AngelScript/AudioAPI.cpp.o
FAILED: /usr/bin/ccache /android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=x86_64-none-linux-android21 --gcc-toolchain=/android-sdk/ndk-bundle/toolchains/x86_64-4.9/prebuilt/linux-x86_64 --sysroot=/android-sdk/ndk-bundle/sysroot -DHAVE_SINCOSF -DTOLUA_RELEASE -DURHO3D_ANGELSCRIPT -DURHO3D_FILEWATCHER -DURHO3D_IK -DURHO3D_IS_BUILDING -DURHO3D_LOGGING -DURHO3D_LUA -DURHO3D_LUA_RAW_SCRIPT_LOADER -DURHO3D_NAVIGATION -DURHO3D_NETWORK -DURHO3D_PHYSICS -DURHO3D_PROFILING -DURHO3D_STATIC_DEFINE -DURHO3D_THREADING -DURHO3D_URHO2D -DURHO3D_WEBP -ISource/Urho3D -I…/…/…/…/…/…/Source/Urho3D -I…/…/…/…/build/tree/Debug/x86_64/include/Urho3D/ThirdParty -I…/…/…/…/build/tree/Debug/x86_64/include/Urho3D/ThirdParty/Bullet -I…/…/…/…/build/tree/Debug/x86_64/include/Urho3D/ThirdParty/Detour -I…/…/…/…/build/tree/Debug/x86_64/include/Urho3D/ThirdParty/Lua -isystem /android-sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include -isystem /android-sdk/ndk-bundle/sources/cxx-stl/llvm-libc++abi/include -isystem /android-sdk/ndk-bundle/sysroot/usr/include/x86_64-linux-android -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -std=c++11 -Wno-invalid-offsetof -Qunused-arguments -fcolor-diagnostics -O0 -fno-limit-debug-info -fPIC -MD -MT Source/Urho3D/CMakeFiles/Urho3D.dir/AngelScript/AudioAPI.cpp.o -MF Source/Urho3D/CMakeFiles/Urho3D.dir/AngelScript/AudioAPI.cpp.o.d -o Source/Urho3D/CMakeFiles/Urho3D.dir/AngelScript/AudioAPI.cpp.o -c /home/urho3d/Source/Urho3D/AngelScript/AudioAPI.cpp
In file included from /home/urho3d/Source/Urho3D/AngelScript/AudioAPI.cpp:25:
In file included from /home/urho3d/Source/Urho3D/AngelScript/…/AngelScript/APITemplates.h:25:
/home/urho3d/Source/Urho3D/AngelScript/…/AngelScript/Addons.h:35:10: fatal error: ‘AngelScript/angelscript.h’ file not found
#include <AngelScript/angelscript.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
FAILED: /usr/bin/ccache /android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=x86_64-none-linux-android21 --gcc-toolchain=/android-sdk/ndk-bundle/toolchains/x86_64-4.9/prebuilt/linux-x86_64 --sysroot=/android-sdk/ndk-bundle/sysroot -DHAVE_SINCOSF -DTOLUA_RELEASE -DURHO3D_ANGELSCRIPT -DURHO3D_FILEWATCHER -DURHO3D_IK -DURHO3D_IS_BUILDING -DURHO3D_LOGGING -DURHO3D_LUA -DURHO3D_LUA_RAW_SCRIPT_LOADER -DURHO3D_NAVIGATION -DURHO3D_NETWORK -DURHO3D_PHYSICS -DURHO3D_PROFILING -DURHO3D_STATIC_DEFINE -DURHO3D_THREADING -DURHO3D_URHO2D -DURHO3D_WEBP -ISource/Urho3D -I…/…/…/…/…/…/Source/Urho3D -I…/…/…/…/build/tree/Debug/x86_64/include/Urho3D/ThirdParty -I…/…/…/…/build/tree/Debug/x86_64/include/Urho3D/ThirdParty/Bullet -I…/…/…/…/build/tree/Debug/x86_64/include/Urho3D/ThirdParty/Detour -I…/…/…/…/build/tree/Debug/x86_64/include/Urho3D/ThirdParty/Lua -isystem /android-sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include -isystem /android-sdk/ndk-bundle/sources/cxx-stl/llvm-libc++abi/include -isystem /android-sdk/ndk-bundle/sysroot/usr/include/x86_64-linux-android -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -std=c++11 -Wno-invalid-offsetof -Qunused-arguments -fcolor-diagnostics -O0 -fno-limit-debug-info -fPIC -MD -MT Source/Urho3D/CMakeFiles/Urho3D.dir/AngelScript/GraphicsAPI.cpp.o -MF Source/Urho3D/CMakeFiles/Urho3D.dir/AngelScript/GraphicsAPI.cpp.o.d -o Source/Urho3D/CMakeFiles/Urho3D.dir/AngelScript/GraphicsAPI.cpp.o -c /home/urho3d/Source/Urho3D/AngelScript/GraphicsAPI.cpp
In file included from /home/urho3d/Source/Urho3D/AngelScript/GraphicsAPI.cpp:25:
In file included from /home/urho3d/Source/Urho3D/AngelScript/…/AngelScript/APITemplates.h:25:
/home/urho3d/Source/Urho3D/AngelScript/…/AngelScript/Addons.h:35:10: fatal error: ‘AngelScript/angelscript.h’ file not found
#include <AngelScript/angelscript.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
What exactly am I doing wrong? I don’t know if anyone has encountered this too.
System Specs: Windows 10 x84_64