Skip to content

Do you know what the problem could be loading a multithreading library called effil? #27

Description

I have a simple script in lua:

local Nodeee = {
extends = "Node",
}

effil = require("effil")

function foo(name)
print(name .. " another thread!")
end

thr = effil.thread(foo)("Thr")

thr:wait()

return Nodeee

Which produces the following error:

E 0:00:00.435 Error loading script metadata: Thr
stack traceback:
[string "res://Nodeee.lua"]:14: in main chunk
in script_load @ "res://Nodeee.lua"
<C++ Source> ?:-1

The effil.dll file is located inside the res:// folder. Do you mind taking a guess at what the problem could be?

Edit: wrong error

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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