Skip to content

Fresh download has path-issues; cairo.dll not found #16

@PatrickDahlin

Description

@PatrickDahlin

So after fetching the latest version of luapower and trying to run the ui.lua demo, all I get is "module not found" -like errors for cairo.dll.

Checking the cpath while using the luajit repl, I'm getting a path alike to:
.\?.dll;E:\Programming\luapower\bin\mingw64\clib\?.dll;E:\Programming\luapower\bin\mingw64\loadall.dll

See any issues?
This is ran from the directory of the source, not the binary, and as such the first .\?.dll isn't useful.
Then there's the odd 'clib' folder, I haven't seen this before so I presume it's either a specially treated folder-name or custom luajit path when launching from the provided exe. By default, and as I presume this library assumes, the cpath should include the executable directory.
Running my own compiled luajit instance does include this binary folder by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions