Closed sakunix closed 6 years ago
Make sure you have libquazip-qt5-devel installed and then change #include <quazip/quazip.h>
to #include <quazip5/quazip.h>
in:
src/common.cpp
src/emulation/emulatorhandler.cpp
Then try building again. OpenSUSE places the quazip headers in a different directory than Debian.
make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include -I. -I. -o common.o src/common.cpp
src/common.cpp:45:31: fatal error: quazip/quazipfile.h: No existe el fichero o el directorio
#include <quazip/quazipfile.h>
^
compilation terminated.
Makefile:337: recipe for target 'common.o' failed
make: *** [common.o] Error 1
new similar error, resolved by changing the code:
//#include <quazip/quazip.h>
#include <quazip5/quazip.h>
//#include <quazip/quazipfile.h>
#include <quazip5/quazipfile.h>
gracias
Forgot about the quazipfile.h header. Glad it's working now.
Failure to build in Debian: https://bugs.debian.org/887576
Debian too has moved the headers to quazip5/ for libquazip5-dev (Qt5). I think that the headers in quazip/ are for libquazip-dev (Qt4).
Version 1.11 is released and should fix that issue.
openSUSE leap 42.2