Hi, and first of all thanks to all the development team of Urho3D for creating such a hidden jewel of an engine.
Yesterday I updated both the source code and the Docker images to build it.
When running a script/dockerized.sh web
from the source directory, this is the output:
CMake Deprecation Warning at CMakeLists.txt:31 (cmake_policy):
The OLD behavior for policy CMP0026 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Check for working C compiler: /usr/lib/ccache/emcc
-- Check for working C compiler: /usr/lib/ccache/emcc -- broken
CMake Error at /usr/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"/usr/lib/ccache/emcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/sjenkinsc/Fuentes/Urho3D/build/web/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_d5df9/fast"
/usr/bin/make -f CMakeFiles/cmTC_d5df9.dir/build.make CMakeFiles/cmTC_d5df9.dir/build
make[1]: Entering directory '/home/sjenkinsc/Fuentes/Urho3D/build/web/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d5df9.dir/testCCompiler.c.o
/usr/lib/ccache/emcc --sysroot=/emscripten-sdk/emscripten/incoming/system -o CMakeFiles/cmTC_d5df9.dir/testCCompiler.c.o -c /home/sjenkinsc/Fuentes/Urho3D/build/web/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_d5df9.js
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d5df9.dir/link.txt --verbose=1
/usr/lib/ccache/emcc --sysroot=/emscripten-sdk/emscripten/incoming/system -rdynamic CMakeFiles/cmTC_d5df9.dir/testCCompiler.c.o -o cmTC_d5df9.js
error: failure to process js library "library.js": Missing C define TIME_UTC! If you just added it to struct_info.json, you need to ./emcc --clear-cache,
error: use -s VERBOSE to see more details
Internal compiler error in src/compiler.js!
Please create a bug report at https://github.com/emscripten-core/emscripten/issues/ with a log of the build and the input files used to run. Exception message: "Missing C define TIME_UTC! If you just added it to struct_info.json, you need to ./emcc --clear-cache" | undefined
shared:ERROR: '/emscripten-sdk/node/8.9.1_64bit/bin/node /emscripten-sdk/emscripten/incoming/src/compiler.js /tmp/tmpwLPzUg.txt /emscripten-sdk/emscripten/incoming/src/library_pthread_stub.js' failed (1)
CMakeFiles/cmTC_d5df9.dir/build.make:97: recipe for target 'cmTC_d5df9.js' failed
make[1]: *** [cmTC_d5df9.js] Error 1
make[1]: Leaving directory '/home/sjenkinsc/Fuentes/Urho3D/build/web/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_d5df9/fast' failed
make: *** [cmTC_d5df9/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:39 (project)
-- Configuring incomplete, errors occurred!
See also "/home/sjenkinsc/Fuentes/Urho3D/build/web/CMakeFiles/CMakeOutput.log".
See also "/home/sjenkinsc/Fuentes/Urho3D/build/web/CMakeFiles/CMakeError.log".
Thanks in advance.