Salut,
j'essaie de compiler sur une version de QT 5.7.0 (Creator 4.0.2) sous Linux. J'ai quelques messages d'erreurs. Quelqu'un peut m'éclairer?
Code : Tout sélectionner
16:05:45: Running steps for project pockemul...
16:05:45: Configuration unchanged, skipping qmake step.
16:05:45: Starting: "/usr/bin/make"
g++ -c -pipe -fsigned-char -fexceptions -g -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQZXING_LIBRARY -DZXING_ICONV_CONST -DDISABLE_LIBRARY_FEATURES -DNOFMAXL -DNO_ICONV -DP_E500 -DP_PC1211 -DP_PC1245 -DP_PC1250 -DP_PC1251 -DP_PC1253 -DP_PC1255 -DP_PC1260 -DP_PC1280 -DP_PC1350 -DP_PC1360 -DP_PC2500 -DP_PC1401 -DP_PC1402 -DP_PC1403 -DP_PC1421 -DP_PC1425 -DP_PC1450 -DP_PC1475 -DP_PC1500 -DP_EXTPC1500 -DP_PC1600 -DP_G850 -DP_CE126P -DP_SC61860 -DP_SC62015 -DP_LH5801 -DP_TMS7000 -DP_HD44102 -DP_MC6800 -DP_M6502 -DP_UPD7907 -DP_JR800 -DP_HX20 -DP_X07 -DP_PANASONIC -DP_PC2001 -DP_HP_ALL -DP_TI_ALL -DP_CASIO_ALL -DP_IDE -DP_AVOID -DP_CLOUD -DQT_PRINTSUPPORT_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SCRIPT_LIB -DQT_SENSORS_LIB -DQT_CORE_LIB -DQT_QML_DEBUG -I../PockEmul-1.4.3 -I. -I../PockEmul-1.4.3/QZXing -I../PockEmul-1.4.3/QZXing/zxing -I../PockEmul-1.4.3 -I../PockEmul-1.4.3/src/core -I../PockEmul-1.4.3/src/cpu -I../PockEmul-1.4.3/src/machine -I../PockEmul-1.4.3/src/lcd -Isrc/qmdilib -I../PockEmul-1.4.3/pictureflow -I../PockEmul-1.4.3/qcodeedit -I../PockEmul-1.4.3/qcodeedit/document -Iqcodeedit/language -I../PockEmul-1.4.3/qcodeedit/widgets -I../PockEmul-1.4.3/qcodeedit/snippets -I../PockEmul-1.4.3/qcodeedit/qnfa -I../PockEmul-1.4.3/libavoid -I../../Qt5.7.0/5.7/gcc_64/include -I../../Qt5.7.0/5.7/gcc_64/include/QtPrintSupport -I../../Qt5.7.0/5.7/gcc_64/include/QtQuickWidgets -I../../Qt5.7.0/5.7/gcc_64/include/QtWidgets -I../../Qt5.7.0/5.7/gcc_64/include/QtQuick -I../../Qt5.7.0/5.7/gcc_64/include/QtMultimedia -I../../Qt5.7.0/5.7/gcc_64/include/QtGui -I../../Qt5.7.0/5.7/gcc_64/include/QtQml -I../../Qt5.7.0/5.7/gcc_64/include/QtNetwork -I../../Qt5.7.0/5.7/gcc_64/include/QtXml -I../../Qt5.7.0/5.7/gcc_64/include/QtScript -I../../Qt5.7.0/5.7/gcc_64/include/QtSensors -I../../Qt5.7.0/5.7/gcc_64/include/QtCore -Ibuild/moc -Ibuild/ui -I../../Qt5.7.0/5.7/gcc_64/mkspecs/linux-g++ -o qzxing.o ../PockEmul-1.4.3/QZXing/qzxing.cpp
In file included from ../PockEmul-1.4.3/QZXing/zxing/zxing/common/BitArray.h:21:0,
from ../PockEmul-1.4.3/QZXing/zxing/zxing/Binarizer.h:24,
from ../PockEmul-1.4.3/QZXing/zxing/zxing/common/GlobalHistogramBinarizer.h:23,
from ../PockEmul-1.4.3/QZXing/qzxing.cpp:3:
../PockEmul-1.4.3/QZXing/zxing/zxing/ZXing.h: In function 'bool zxing::isnan_z(float)':
../PockEmul-1.4.3/QZXing/zxing/zxing/ZXing.h:59:19: error: 'isnan' was not declared in this scope
return isnan(v);
^
../PockEmul-1.4.3/QZXing/zxing/zxing/ZXing.h:59:19: note: suggested alternative:
In file included from /usr/include/c++/5/random:38:0,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from ../../Qt5.7.0/5.7/gcc_64/include/QtCore/qglobal.h:94,
from ../../Qt5.7.0/5.7/gcc_64/include/QtCore/qnamespace.h:43,
from ../../Qt5.7.0/5.7/gcc_64/include/QtCore/qobjectdefs.h:48,
from ../../Qt5.7.0/5.7/gcc_64/include/QtCore/qobject.h:46,
from ../../Qt5.7.0/5.7/gcc_64/include/QtCore/qabstractanimation.h:43,
from ../../Qt5.7.0/5.7/gcc_64/include/QtCore/QtCore:4,
from ../PockEmul-1.4.3/QZXing/QZXing_global.h:4,
from ../PockEmul-1.4.3/QZXing/QZXing.h:4,
from ../PockEmul-1.4.3/QZXing/qzxing.cpp:1:
/usr/include/c++/5/cmath:641:5: note: 'std::isnan'
isnan(_Tp __x)
^
In file included from ../PockEmul-1.4.3/QZXing/zxing/zxing/common/BitArray.h:21:0,
from ../PockEmul-1.4.3/QZXing/zxing/zxing/Binarizer.h:24,
from ../PockEmul-1.4.3/QZXing/zxing/zxing/common/GlobalHistogramBinarizer.h:23,
from ../PockEmul-1.4.3/QZXing/qzxing.cpp:3:
../PockEmul-1.4.3/QZXing/zxing/zxing/ZXing.h: In function 'bool zxing::isnan_z(double)':
../PockEmul-1.4.3/QZXing/zxing/zxing/ZXing.h:62:19: error: 'isnan' was not declared in this scope
return isnan(v);
^
../PockEmul-1.4.3/QZXing/zxing/zxing/ZXing.h:62:19: note: suggested alternative:
In file included from /usr/include/c++/5/random:38:0,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from ../../Qt5.7.0/5.7/gcc_64/include/QtCore/qglobal.h:94,
from ../../Qt5.7.0/5.7/gcc_64/include/QtCore/qnamespace.h:43,
from ../../Qt5.7.0/5.7/gcc_64/include/QtCore/qobjectdefs.h:48,
from ../../Qt5.7.0/5.7/gcc_64/include/QtCore/qobject.h:46,
from ../../Qt5.7.0/5.7/gcc_64/include/QtCore/qabstractanimation.h:43,
from ../../Qt5.7.0/5.7/gcc_64/include/QtCore/QtCore:4,
from ../PockEmul-1.4.3/QZXing/QZXing_global.h:4,
from ../PockEmul-1.4.3/QZXing/QZXing.h:4,
from ../PockEmul-1.4.3/QZXing/qzxing.cpp:1:
/usr/include/c++/5/cmath:641:5: note: 'std::isnan'
isnan(_Tp __x)
^
Makefile:26488: recipe for target 'qzxing.o' failed
make: *** [qzxing.o] Error 1
16:05:46: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project pockemul (kit: Desktop Qt 5.7.0 GCC 64bit)
When executing step "Make"
16:05:46: Elapsed time: 00:01.