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
I receive the same error in both algorithms as Deflate as Gzip:
/usr/bin/ld: /tmp/cc0YTjcj.o: in function crow::compression::compress_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, crow::compression::algorithm)': main.cpp:(.text._ZN4crow11compression15compress_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9algorithmE[_ZN4crow11compression15compress_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9algorithmE]+0x76): undefined reference to deflateInit2_'
/usr/bin/ld: main.cpp:(.text._ZN4crow11compression15compress_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9algorithmE[_ZN4crow11compression15compress_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9algorithmE]+0xdf): undefined reference to deflate' /usr/bin/ld: main.cpp:(.text._ZN4crow11compression15compress_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9algorithmE[_ZN4crow11compression15compress_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9algorithmE]+0x153): undefined reference to deflateEnd'
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered:
After the command:
g++ main.cpp -DCROW_ENABLE_COMPRESSION
I receive the same error in both algorithms as Deflate as Gzip:
/usr/bin/ld: /tmp/cc0YTjcj.o: in function
crow::compression::compress_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, crow::compression::algorithm)': main.cpp:(.text._ZN4crow11compression15compress_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9algorithmE[_ZN4crow11compression15compress_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9algorithmE]+0x76): undefined reference to
deflateInit2_'/usr/bin/ld: main.cpp:(.text._ZN4crow11compression15compress_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9algorithmE[_ZN4crow11compression15compress_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9algorithmE]+0xdf): undefined reference to
deflate' /usr/bin/ld: main.cpp:(.text._ZN4crow11compression15compress_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9algorithmE[_ZN4crow11compression15compress_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9algorithmE]+0x153): undefined reference to
deflateEnd'collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: