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

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

Open
PatrickDahlin opened this issue Mar 16, 2022 · 4 comments
Open

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

PatrickDahlin opened this issue Mar 16, 2022 · 4 comments

Comments

@PatrickDahlin
Copy link

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.

@capr
Copy link
Member

capr commented Mar 16, 2022

First please note that ui (that is https://luapower.com/ui) is WIP. As for search paths, see https://luapower.com/luajit.

@PatrickDahlin
Copy link
Author

PatrickDahlin commented Mar 16, 2022

I guess my question then is, what is supposed to work out of these demo/test files?

I'm just wondering because like 80% out of these tests fail for me, if not for missing dll then because of some assertion.

@capr
Copy link
Member

capr commented Mar 16, 2022

TBH I don't remember where I left off. These days I'm working exclusively on https://github.com/allegory-software/allegory-sdk. Anyway, ui probably needs some updating because dependencies have changed since the last time I worked on it. You might have better luck with ui0 which is a pure-Lua prototype that I wrote before this one, but that too probably needs some dusting off. Sorry I don't think I can be of more help right now.

@PatrickDahlin
Copy link
Author

I see, no problem. I was kinda interested in the desktop ui library thing hence I noted when it didnt run.

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

No branches or pull requests

2 participants