Building Engine Failing

Thanks for the clue - it helped fix that issue.

To summarize, java.exe being used when running C:\Citizen\defold\sourceCode\defold\tmp\dynamo_home\bin\texc.py was not the one I expected.

It was:
$ which java
/c/Program Files (x86)/Common Files/Oracle/Java/java8path/java

After your clue, I have changed my PATH env variables so that:
/c/Users/amir/AppData/Local/Programs/Microsoft/jdk-21.0.5.11-hotspot/bin/java

…comes before and with that change I get:
$ which java
/c/Users/citizen/AppData/Local/Programs/Microsoft/jdk-21.0.5.11-hotspot/bin/java

After that change the issue with texc.py is gone.

The build is not completing yet however, now I got:
[94/98] Compiling build\proto\engine\engine_ddf.cpp
[95/98] Compiling build\content\builtins\connect\game.project.embed.cpp
[96/98] Compiling build\content\builtins.arcd.embed.cpp
…\src\engine_main.cpp:20:10: warning: non-portable path to file ‘<GLFW/glfw.h>’; specified path differs in case from file name on disk [-Wnonportable-include-path]
20 | #include <glfw/glfw.h>
| ^~~~~~~~~~~~~
| <GLFW/glfw.h>
…\src\engine_main.cpp:86:20: error: ‘ALooper_pollAll’ is unavailable: obsoleted in Android 1 - ALooper_pollAll may ignore wakes. Use ALooper_pollOnce instead. See The API documentation for more information
86 | if ((ident=ALooper_pollAll(300, NULL, &events, (void**)&source)) >= 0)
| ^
C:/Users/amir/AppData/Local/Android/Sdk/ndk/28.0.12674087/toolchains/llvm/prebuilt/windows-x86_64/bin/…/sysroot/usr/include/android/looper.h:228:5: note: ‘ALooper_pollAll’ has been explicitly marked unavailable here
228 | int ALooper_pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData)
| ^
1 warning and 1 error generated.

Waf: Leaving directory `C:\Amir\defold\sourceCode\defold\engine\engine\build’
Build failed


Any clues for this new issue? :slight_smile: