Closed Pro-pra closed 1 year ago
Also i have this error on clang 16.0.0
In file included from ../../../armorcore/Kinc/Backends/System/POSIX/Sources/kinc/backend/posixunit.c:4:
../../../armorcore/Kinc/Backends/System/POSIX/Sources/kinc/backend/thread.c.h:67:2: error: call to undeclared function 'pthread_setname_np'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
pthread_setname_np(pthread_self(), name);
^
1 error generated.
I think need -Wno-error=implicit-function-declaration
I do not know why it's not working on your setup, sorry. :( Usually this error is resolved once git command is available in terminal.
If you inspect the line causing error: https://github.com/armory3d/armortools/blob/main/base/Sources/arm/sys/BuildMacros.hx#L18
You can notice it is calling a git command - but fails for some reason. If you are not able to get past it then try to remove the call to that function from /tmp/armortools-0.9/base/Sources/MainBase.hx:20
. It is used only for version info so it is safe to remove it in your clone.
yes, install git-core pkg fix Uncaught exception Eof Thank you!
also see https://github.com/armory3d/armortools/issues/85