AngelScript registering AudioChuck fails with AS_MAX_PORTABILITY set(Risc-V hardware)
Vixea opened this issue · 1 comments
Vixea commented
The important bit of the log
2023/11/02 04:15:50 [ScriptManager.cpp:44] (0, 0) : ERR : Failed in call to function 'RegisterObjectBehaviour' with 'AudioChunk' and 'void f()' (Code: asNOT_SUPPORTED, -7)
2023/11/02 04:15:50 [Main.cpp:676] [!] Terminating due to the fatal error: Not supported
at /home/sipeed/Documents/projects/openspades/Sources/ScriptBindings/ScriptManager.cpp:190
static void spades::ScriptManager::CheckError(int) at ScriptManager.cpp:189
spades::ScriptManager::ScriptManager() at ScriptManager.cpp:77
int main(int, char**) at Main.cpp:341
Not sure if that's actually the reason behind it anyway.
It might be able to confirm if I could build it on Arch says it can't find glew even though I do have it.
Pretty simple to reproduce.
- Have a Risc-V SBC
- build openspades with 1038(it won't build otherwise)
- try and run it
If there's anything else you'll need from me I'm more than happy to help ;D
Vixea commented
This can be fixed by using the autowrapper add-on btw, found this out after talking with the AS dev(which also needs 1038)