Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AngelScript registering AudioChuck fails with AS_MAX_PORTABILITY set(Risc-V hardware) #1093

Open
Vixea opened this issue Nov 2, 2023 · 1 comment

Comments

@Vixea
Copy link

Vixea commented Nov 2, 2023

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.

  1. Have a Risc-V SBC
  2. build openspades with 1038(it won't build otherwise)
  3. try and run it

If there's anything else you'll need from me I'm more than happy to help ;D

@Vixea
Copy link
Author

Vixea commented Nov 3, 2023

This can be fixed by using the autowrapper add-on btw, found this out after talking with the AS dev(which also needs 1038)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant