-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hey, when running make i get the same error on Windows and MacOS.
[ 39%] Linking CXX executable gvmdump Undefined symbols for architecture x86_64: "_compress2", referenced from: void Image::save_helper<Image::save(__sFILE*, Image::Format) const::$_0>(Image::Format, Image::save(__sFILE*, Image::Format) const::$_0&&) const in libphosg.a(Image.cc.o) void Image::save_helper<Image::save(Image::Format) const::$_1>(Image::Format, Image::save(Image::Format) const::$_1&&) const in libphosg.a(Image.cc.o) "_compressBound", referenced from: void Image::save_helper<Image::save(__sFILE*, Image::Format) const::$_0>(Image::Format, Image::save(__sFILE*, Image::Format) const::$_0&&) const in libphosg.a(Image.cc.o) void Image::save_helper<Image::save(Image::Format) const::$_1>(Image::Format, Image::save(Image::Format) const::$_1&&) const in libphosg.a(Image.cc.o) "_crc32", referenced from: void write_png_chunk<Image::save(__sFILE*, Image::Format) const::$_0&>(char const (&) [5], void const*, big_endian<unsigned int, unsigned int>, Image::save(__sFILE*, Image::Format) const::$_0&) in libphosg.a(Image.cc.o) void write_png_chunk<Image::save(Image::Format) const::$_1&>(char const (&) [5], void const*, big_endian<unsigned int, unsigned int>, Image::save(Image::Format) const::$_1&) in libphosg.a(Image.cc.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [gvmdump] Error 1 make[1]: *** [CMakeFiles/gvmdump.dir/all] Error 2 make: *** [all] Error 2