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

Getting error in building library #73

Open
sankalpmishra31 opened this issue Jul 6, 2020 · 0 comments
Open

Getting error in building library #73

sankalpmishra31 opened this issue Jul 6, 2020 · 0 comments

Comments

@sankalpmishra31
Copy link

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/lilliput@v0.0.0-20191204003513-dd93dff726a5/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/lilliput@v0.0.0-20191204003513-dd93dff726a5/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/lilliput@v0.0.0-20191204003513-dd93dff726a5/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'

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

No branches or pull requests

1 participant