Skip to content

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

@kunrii

Description

@kunrii

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

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