Closed
Description
I'm tampering with lua-vips on a Raspberry Pi with a custom-built libvips, and I can't seem to get the module to work.
Here's the simple code I used:
local vips = require "vips"
local base = vips.Image.new_from_file("base.png")
and here's the traceback (run with luvit):
$ luvit test.lua
Uncaught exception:
./vips/voperation.lua:216: unable to call VipsForeignLoadPngFile
stack traceback:
[C]: in function 'error'
./vips/voperation.lua:216: in function 'new_from_file'
/home/sjkim04/Desktop/test.lua:2: in function 'fn'
[string "bundle:deps/require.lua"]:310: in function 'require'
[string "bundle:/main.lua"]:128: in function <[string "bundle:/main.lua"]:20>
stack traceback:
[C]: in function 'error'
[string "bundle:/deps/utils.lua"]:41: in function 'assertResume'
[string "bundle:/init.lua"]:52: in function <[string "bundle:/init.lua"]:47>
[C]: in function 'xpcall'
[string "bundle:/init.lua"]:47: in function 'fn'
[string "bundle:deps/require.lua"]:310: in function <[string "bundle:deps/require.lua"]:266>
What's the problem with this? I installed most of the optional dependencies, including libspng, and the code still fails. I would appreciate some help.
Metadata
Metadata
Assignees
Labels
No labels