-
-
Notifications
You must be signed in to change notification settings - Fork 37
Description
When compiling the newest SimulIDE-dev for Android, this link error occurs:
ld.lld: error: undefined symbol: CallSystemFunctionNative(asCContext*, asCScriptFunction*, void*, unsigned int*, void*, unsigned long&, void*)
>>> referenced by as_callfunc.cpp
>>> build/objects/as_callfunc.o:(CallSystemFunction(int, asCContext*))
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:1815: executables/SimulIDE_2.0.0-/simulide] Error 1
I have determined through calculating the preprocessor macro evaluations that the reason why CallSystemFunctionNative() is not defined on Android in the version of Angelscript present in the github.com/eeTools/SimulIDE-dev/src/angel folder is because you have deleted this line, and many other Android-related lines, from your Angelscript code before committing it to your repository:
@Arcachofo The reason that I know you deleted Android-related code from your fork of Angelscript before uploading it is because the copyright date of Angelscript in SimulIDE-dev is 2021, but the code was already present in upstream Angelscript at a date before 2021:
| Copyright (c) 2003-2021 Andreas Jonsson |
Please undo the removal of the Android-related code from the vendored copy of Angelscript. Thank you.
You don't need to test it, I will do that part, but if you don't want to make changes without understanding how to test them, but you are willing to learn how, let me know and I would walk you through the steps to reproduce the error ld.lld: error: undefined symbol: CallSystemFunctionNative.