You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I am using Lilliput to resize image. I have imported it like this
"github.com/discordapp/lilliput"
but I keep getting following error when building code.
#7 49.65 /root/go/pkg/mod/github.com/discordapp/[email protected]/deps/linux/lib/libopencv_imgcodecs.a(grfmt_png.cpp.o): In function cv::PngDecoder::readData(cv::Mat&)': #7 49.65 grfmt_png.cpp:(.text._ZN2cv10PngDecoder8readDataERNS_3MatE+0x266): undefined reference to png_set_longjmp_fn' #7 49.65 /root/go/pkg/mod/github.com/discordapp/[email protected]/deps/linux/lib/libopencv_imgcodecs.a(grfmt_png.cpp.o): In function cv::PngDecoder::readHeader()': #7 49.65 grfmt_png.cpp:(.text._ZN2cv10PngDecoder10readHeaderEv+0x1e5): undefined reference to png_set_longjmp_fn' #7 49.65 /root/go/pkg/mod/github.com/discordapp/[email protected]/deps/linux/lib/libopencv_imgcodecs.a(grfmt_png.cpp.o): In function cv::PngEncoder::write(cv::Mat const&, cv::_InputArray const&)': #7 49.65 grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKNS_11_InputArrayE+0x385): undefined reference to png_set_longjmp_fn'
The text was updated successfully, but these errors were encountered:
Hi I am using Lilliput to resize image. I have imported it like this
"github.com/discordapp/lilliput"
but I keep getting following error when building code.
#7 49.65 /root/go/pkg/mod/github.com/discordapp/[email protected]/deps/linux/lib/libopencv_imgcodecs.a(grfmt_png.cpp.o): In function
cv::PngDecoder::readData(cv::Mat&)': #7 49.65 grfmt_png.cpp:(.text._ZN2cv10PngDecoder8readDataERNS_3MatE+0x266): undefined reference to
png_set_longjmp_fn'#7 49.65 /root/go/pkg/mod/github.com/discordapp/[email protected]/deps/linux/lib/libopencv_imgcodecs.a(grfmt_png.cpp.o): In function
cv::PngDecoder::readHeader()': #7 49.65 grfmt_png.cpp:(.text._ZN2cv10PngDecoder10readHeaderEv+0x1e5): undefined reference to
png_set_longjmp_fn'#7 49.65 /root/go/pkg/mod/github.com/discordapp/[email protected]/deps/linux/lib/libopencv_imgcodecs.a(grfmt_png.cpp.o): In function
cv::PngEncoder::write(cv::Mat const&, cv::_InputArray const&)': #7 49.65 grfmt_png.cpp:(.text._ZN2cv10PngEncoder5writeERKNS_3MatERKNS_11_InputArrayE+0x385): undefined reference to
png_set_longjmp_fn'The text was updated successfully, but these errors were encountered: