quagzipfile.o: undefined reference to symbol 'gzdopen'
A C++/Qt ZIP library
Brought to you by:
alqualos
Hi, I'm sorry for disturbing you. I downloaded quazip 0.7 and it built successfully in Qt Creator. Then I copied its sources into my project and defined QUAZIP_STATIC in pro file. Now when building I get following error: :-1: error: quagzipfile.o: undefined reference to symbol 'gzdopen'
I'm using Linux Mint 17 KDE version, 64 bit.
GCC version is: gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2.
I remember that when using previous version of OS and GCC and quazip (Ubuntu 12.04, quazip 0.5.x or 0.6.x) it was building without problems.
Could you please, help me with this problem?
Thank you very much in advance!
I added this line to pro file:
unix:LIBS += -L/lib/x86_64-linux-gnu/ -lz
Now getting following 3 errors:
error: undefined reference to
unzOpenInternal' error: undefined reference to
unzSetFlags'error: undefined reference to `unzClearFlags'
But these 3 functions are defined inside unzip.c which is included into project
Can you attach the whole build output? After full clean, of course.
Hi, after full clean it built successfully!!! :-))
Thank you very much!!!