-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
I've been trying to compile twmn for a while with no success.
The error is :
cd twmnd/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /path/to/github/twmn/twmnd/twmnd.pro ) && make -f Makefile
make[1]: Entering directory '/path/to/github/twmn/twmnd'
g++ -c -pipe -Wall -Werror -pedantic -Wno-long-long -g -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG_OUTPUT -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB
-DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtDBus -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.cpp
In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qapplication.h:43,
from /usr/include/qt5/QtWidgets/QApplication:1,
from main.cpp:1:
/usr/include/qt5/QtGui/qtgui-config.h:26: error: "QT_NO_IMAGEFORMAT_JPEG" redefined [-Werror]
26 | #define QT_NO_IMAGEFORMAT_JPEG true
|
In file included from /usr/include/qt5/QtCore/qconfig.h:1,
from /usr/include/qt5/QtCore/qglobal.h:66,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qapplication.h:43,
from /usr/include/qt5/QtWidgets/QApplication:1,
from main.cpp:1:
/usr/include/qt5/Gentoo/gentoo-qconfig.h:8: note: this is the location of the previous definition
8 | #define QT_NO_IMAGEFORMAT_JPEG
|
cc1plus: all warnings being treated as errors
make[1]: *** [Makefile:493: main.o] Error 1
make[1]: Leaving directory '/path/to/github/twmn/twmnd'
make: *** [Makefile:48: sub-twmnd-make_first] Error 2
How do I fix this?
Metadata
Metadata
Assignees
Labels
No labels