Skip to content

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

@Vixea

Description

@Vixea

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions