Welcome, Guest
Username: Password: Remember me
12 Sep 2019
No bulk downloads - PLEASE!
SVP - Pas de téléchargement en masse
_______________________________
Read More...

TOPIC: [resolu] compilation sur debian stretch

[resolu] compilation sur debian stretch 1 year 2 months ago #133

  • xytux
  • xytux's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
Bonjour,
et merci pour la poursuite de cette application :)
je viens d'essayer de compiler les sources sur une debian stretch mais avec l'échec suivant, qui dépasse largement mes compétences : donc au cas où cela peut aider :)
root@t460s:/media/ds411/debian/xygrib/XyGrib-1.1.0-src# make

rm -f ./XyGrib
cd src; /usr/bin/qmake; make -j6
qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
make[1] : on entre dans le répertoire « /media/ds411/debian/xygrib/XyGrib-1.1.0-src/src »
/usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile xyGrib.pro
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/PositionEditorWidget.o GUI/PositionEditorWidget.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/ColorEditorWidget.o GUI/ColorEditorWidget.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/LineEditorWidget.o GUI/LineEditorWidget.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/TextStyleEditorWidget.o GUI/TextStyleEditorWidget.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/AngleConverterWidget.o GUI/AngleConverterWidget.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/AngleConverterDialog.o GUI/AngleConverterDialog.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/Astro.o Astro.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/BoardPanel.o BoardPanel.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/ColorScale.o ColorScale.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/ColorScaleWidget.o ColorScaleWidget.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/DataColors.o DataColors.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/DataQString.o DataQString.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/DataMeteoAbstract.o DataMeteoAbstract.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/DataPointInfo.o DataPointInfo.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/DateChooser.o DateChooser.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/DialogBoxColumn.o DialogBoxColumn.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/DialogFonts.o DialogFonts.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/DialogGraphicsParams.o DialogGraphicsParams.cpp
DataPointInfo.cpp: In constructor ‘DataPointInfo::DataPointInfo(GriddedReader*, float, float, time_t)’:
DataPointInfo.cpp:52:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (rain == GRIB_NOTDEF) // try for precipitation rate
     ^~
DataPointInfo.cpp:56:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  pressureMSL = reader==NULL ? GRIB_NOTDEF
  ^~~~~~~~~~~
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/DialogLoadGRIB.o DialogLoadGRIB.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/DialogProxy.o DialogProxy.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/DialogSelectMetar.o DialogSelectMetar.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/DialogServerStatus.o DialogServerStatus.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/DialogUnits.o DialogUnits.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/FileLoaderGRIB.o FileLoaderGRIB.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/Font.o util/Font.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/GriddedPlotter.o GriddedPlotter.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/GriddedReader.o GriddedReader.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/GriddedRecord.o GriddedRecord.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/GshhsRangsReader.o map/GshhsRangsReader.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/GshhsReader.o map/GshhsReader.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/GribAnimator.o GribAnimator.cpp
In file included from Grib2Reader.h:29:0,
                 from Grib2Plot.h:27,
                 from Terrain.h:35,
                 from GribAnimator.h:36,
                 from GribAnimator.cpp:26:
Grib2Record.h:23:23: fatal error: grib2.h: Aucun fichier ou dossier de ce type

                       ^
compilation terminated.
Makefile:1431 : la recette pour la cible « objs/GribAnimator.o » a échouée
make[1]: *** [objs/GribAnimator.o] Erreur 1
make[1]: *** Attente des tâches non terminées....
GriddedPlotter.cpp: In member function ‘void GriddedPlotter::drawCurrentArrow(QPainter&, int, int, double, double)’:
GriddedPlotter.cpp:151:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
GriddedPlotter.cpp:154:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
  currentArrowColor = QColor(0,0,220);
  ^~~~~~~~~~~~~~~~~
GriddedPlotter.cpp: In member function ‘virtual void GriddedPlotter::complete_listIsolines(std::vector<IsoLine*>*, DataCode, double, double, double, const Projection*)’:
GriddedPlotter.cpp:594:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (rec == NULL)
     ^~
GriddedPlotter.cpp:596:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  int deltaI, deltaJ;
  ^~~
GriddedPlotter.cpp: In member function ‘virtual void GriddedPlotter::draw_DATA_Labels(DataCode, QFont, QColor, QString (*)(float, bool), QPainter&, const Projection*)’:
GriddedPlotter.cpp:646:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (reader == NULL)
     ^~
GriddedPlotter.cpp:648:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  GriddedRecord *rec = reader->getRecord (dtc, currentDate);
  ^~~~~~~~~~~~~
GriddedPlotter.cpp: In member function ‘virtual void GriddedPlotter::draw_DATA_MinMax(DataCode, double, QString, QString, QFont, QColor, QPainter&, const Projection*)’:
GriddedPlotter.cpp:681:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (reader == NULL)
     ^~
GriddedPlotter.cpp:683:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  GriddedRecord *rec = reader->getRecord (dtc, currentDate);
  ^~~~~~~~~~~~~
GriddedPlotter.cpp: In member function ‘virtual void GriddedPlotter::setCurrentDateClosestFromNow()’:
GriddedPlotter.cpp:741:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (reader == NULL || ! reader->isOk())
     ^~
GriddedPlotter.cpp:743:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  time_t date = reader->getClosestDateFromNow ();
  ^~~~~~
map/GshhsRangsReader.cpp: In member function ‘int GshhsRangsCell::readSegmentLoop()’:
map/GshhsRangsReader.cpp:76:30: warning: variable ‘PolygonId’ set but not used [-Wunused-but-set-variable]
     int i,x, y, SegmentByte, PolygonId;
                              ^~~~~~~~~
map/GshhsRangsReader.cpp:77:19: warning: variable ‘Clockwise’ set but not used [-Wunused-but-set-variable]
     int DataType, Clockwise, Interior;
                   ^~~~~~~~~
make[1] : on quitte le répertoire « /media/ds411/debian/xygrib/XyGrib-1.1.0-src/src »
Makefile:35 : la recette pour la cible « XyGrib » a échouée
make: *** [XyGrib] Erreur 2

merci d'avance
cordialement
xytux

Please Log in or Create an account to join the conversation.

Last edit: by xytux.

échec compilation sur debian stretch 1 year 2 months ago #134

Hello,

I assume that you have installed all the prerequisite packages as detailed in the INSTALL file and specifically qtbase5-dev.

It appears from your compile output that the system is trying to run an older version of qmake that belongs to a Qt4 package that was installed on your machine.
Please check that your path is directed to the new version of qmake.
Also please try and follow the install instructions in the INSTALL file to the letter. The sources should compile on Debian stretch.

Thanks for your patience,
David

Please Log in or Create an account to join the conversation.

échec2: compilation sur debian stretch 1 year 2 months ago #135

  • xytux
  • xytux's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
hello davidgal and thanks for your answer !
yes I tried to respect all points of the 'install'.
in the original version of the makefile, the path was :
QMAKE=/usr/bin/qmake
and I have the same on my debian stretch so I thought it was the good one.
I made :
# dpkg -L qt5-qmake
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/qt5
/usr/lib/x86_64-linux-gnu/qt5/bin
/usr/lib/x86_64-linux-gnu/qt5/bin/qmake
and modify the makefile with :
QMAKE=/usr/lib/x86_64-linux-gnu/qt5/bin/qmake

with the following error :
root@t460s:/media/ds411/debian/xygrib/XyGrib-1.1.0-src# make

rm -f ./XyGrib
cd src; /usr/lib/x86_64-linux-gnu/qt5/bin/qmake; make -j6
make[1] : on entre dans le répertoire « /media/ds411/debian/xygrib/XyGrib-1.1.0-src/src »
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/GribAnimator.o GribAnimator.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/GribPlot.o GribPlot.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/Grib2Plot.o Grib2Plot.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/GisReader.o map/GisReader.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/GribReader.o GribReader.cpp
g++ -c -m64 -pipe -O3 -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Iobjs -IGUI -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o objs/Grib2Reader.o Grib2Reader.cpp
In file included from Grib2Reader.h:29:0,
                 from Grib2Reader.cpp:19:
Grib2Record.h:23:23: fatal error: grib2.h: Aucun fichier ou dossier de ce type

                       ^
compilation terminated.
Makefile:1525 : la recette pour la cible « objs/Grib2Reader.o » a échouée
make[1]: *** [objs/Grib2Reader.o] Erreur 1
make[1]: *** Attente des tâches non terminées....
In file included from Grib2Reader.h:29:0,
                 from Grib2Plot.h:27,
                 from Grib2Plot.cpp:19:
Grib2Record.h:23:23: fatal error: grib2.h: Aucun fichier ou dossier de ce type

                       ^
compilation terminated.
Makefile:1477 : la recette pour la cible « objs/Grib2Plot.o » a échouée
make[1]: *** [objs/Grib2Plot.o] Erreur 1
In file included from Grib2Reader.h:29:0,
                 from Grib2Plot.h:27,
                 from Terrain.h:35,
                 from GribAnimator.h:36,
                 from GribAnimator.cpp:26:
Grib2Record.h:23:23: fatal error: grib2.h: Aucun fichier ou dossier de ce type

                       ^
compilation terminated.
Makefile:1431 : la recette pour la cible « objs/GribAnimator.o » a échouée
make[1]: *** [objs/GribAnimator.o] Erreur 1
GribPlot.cpp: In member function ‘virtual void GribPlot::draw_WIND_Arrows(Altitude, bool, QColor, QPainter&, const Projection*)’:
GribPlot.cpp:198:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (i > W)
     ^~
GribPlot.cpp:201:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
      if (recx->isPointInMap(x,y)) {
      ^~
GribPlot.cpp: In member function ‘virtual void GribPlot::draw_ColoredMapPlain(DataCode, bool, QPainter&, const Projection*)’:
GribPlot.cpp:364:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (gribReader == NULL)
     ^~
GribPlot.cpp:367:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  if (dtc.dataType == GRB_PRV_WIND_JET) {
  ^~
make[1] : on quitte le répertoire « /media/ds411/debian/xygrib/XyGrib-1.1.0-src/src »
Makefile:35 : la recette pour la cible « XyGrib » a échouée
make: *** [XyGrib] Erreur 2

Please Log in or Create an account to join the conversation.

échec2: compilation sur debian stretch 1 year 2 months ago #136

Hi,

It appears that in your setup some header files that should be included are not or you may have conflicting versions of libraries.

I created a fresh install of Debian Stretch, downloaded the XyGrib version 1.1.0 LInux source file package from opengribs.org.
I then followed the INSTALL instructions by doing the following

First for Step 1 - Prerequisite tools:
sudo apt install build-essential
sudo apt install cmake

Then for Step 2 - Prerequisite libraries (I chose the packages listed for Ubuntu 18.04)
sudo apt install libbz2-dev zlib1g-dev libpng-dev libproj-dev libnova-dev qtbase5-dev

I then build libopenjpeg and libg2c as shown in Step 3
	cd src/openjpeg-2.3.0
	mkdir build
	cd build
	cmake .. -DCMAKE_BUILD_TYPE=Release
	make
	sudo make install
	
	cd ../../g2clib-1.6.0
	sudo make install
	cd ../..

I then did Step 4. There was no need to edit the location of qmake as it was found to be in /usr/bin/qmake.
I only performed the following from the root of the source package
make
make install

XyGrib completed compilation and ran OK.

I suggest trying a clean install and try to follow the above .
I hope that this helps you out.

David

Please Log in or Create an account to join the conversation.

compilation sur debian stretch : success :) 1 year 2 months ago #137

  • xytux
  • xytux's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
many thanks davidgal !
what happened :
1/ I went here :
https://opengribs.org/fr/xygrib-fr#t%C3%A9l%C3%A9chargement-et-installation
2/ "Compilation dans votre propre distribution à partir du code source" : so I went to the github :
https://github.com/opengribs/XyGrib
click on the 'clone or download' button : 'download zip' and get the file 'XyGrib-master.zip'
3/ in that directory, there is no 'open...' directory :
/media/ds411/debian/xygrib/XyGrib-master/src$ ls
Astro.cpp                 DialogServerStatus.cpp  IsoLine.cpp
Astro.h                   DialogServerStatus.h    IsoLine.h
BoardPanel.cpp            DialogUnits.cpp         LongTaskProgress.cpp
BoardPanel.h              DialogUnits.h           LongTaskProgress.h
CMakeLists.txt            FileLoaderGRIB.cpp      LonLatGrid.cpp
ColorScale.cpp            FileLoaderGRIB.h        LonLatGrid.h
ColorScale.h              FileLoader.h            main.cpp
ColorScaleWidget.cpp      g2clib-1.6.0            MainWindow.cpp
ColorScaleWidget.h        Grib2Plot.cpp           MainWindow.h
DataColors.cpp            Grib2Plot.h             map
DataColors.h              Grib2Reader.cpp         MapDrawer.cpp
DataDefines.h             Grib2Reader.h           MapDrawer.h
DataMeteoAbstract.cpp     Grib2Record.cpp         MenuBar.cpp
DataMeteoAbstract.h       Grib2Record.h           MenuBar.h
DataPointInfo.cpp         GribAnimator.cpp        Metar.cpp
DataPointInfo.h           GribAnimator.h          Metar.h
DataQString.cpp           GribPlot.cpp            MeteoTable.cpp
DataQString.h             GribPlot.h              MeteoTable.h
DateChooser.cpp           GribReader.cpp          MeteotableOptionsDialog.cpp
DateChooser.h             GribReader.h            MeteotableOptionsDialog.h
DialogBoxBase.h           GribRecord.cpp          MeteoTableWidget.cpp
DialogBoxColumn.cpp       GribRecord.h            MeteoTableWidget.h
DialogBoxColumn.h         GriddedPlotter.cpp      RegularGridded.h
DialogFonts.cpp           GriddedPlotter.h        SkewT.cpp
DialogFonts.h             GriddedReader.cpp       SkewT.h
DialogGraphicsParams.cpp  GriddedReader.h         SkewTWindow.cpp
DialogGraphicsParams.h    GriddedRecord.cpp       Stylesheet.h
DialogLoadGRIB.cpp        GriddedRecord.h         Terrain.cpp
DialogLoadGRIB.h          GUI                     Terrain.h
DialogProxy.cpp           ImageWriter.cpp         Therm.cpp
DialogProxy.h             ImageWriter.h           Therm.h
DialogSelectMetar.cpp     IrregularGridded.cpp    util
DialogSelectMetar.h       IrregularGridded.h
4/ so I found it directly here :
http://www.openjpeg.org/
and follow the instructions but I guess it was in a wrong directory
/media/ds411/debian/xygrib$ ls
2018-08-25_xygrib_compil_echec.txt  XyGrib-1.1.0-src         XyGrib-master.zip
2018-08-27_xygrib_compil_echec.txt  XyGrib-1.1.0-src.tar.xz
openjpeg_2.3.0_sources              XyGrib-master
5/ after that I went to :
https://opengribs.org/fr/t%C3%A9l%C3%A9chargements
and got the

XyGrib-1.1.0-src.tar.xz

but was still thinking that the openjpeg was well installed.
sorry !

Please Log in or Create an account to join the conversation.

run xygrib 1 year 2 months ago #138

  • xytux
  • xytux's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
another question :

A folder XyGrib which includes the application build will be located in
your user root. Run

~/XyGrib/bin# XyGrib
-su: XyGrib : commande introuvable
root@t460s:~/XyGrib/bin# cd ../
root@t460s:~/XyGrib# ls -l
total 16
drwxr-xr-x 2 root root 4096 août  27 15:07 bin
drwxr-xr-x 8 jlg  jlg  4096 juin  22 13:37 data
drwxr-xr-x 2 jlg  jlg  4096 juin  22 13:37 grib
-rwxr-xr-x 1 root root   42 août  27 15:07 XyGrib
root@t460s:~/XyGrib# XyGrib
-su: XyGrib : commande introuvable
don't understand why it doesn't run :(

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds

Resources on this site will always be free and open with no commercialization. However, operating costs of the servers to pre-process and deliver GRIB files to XyGrib are not trivial.

If you found the site useful, please share in the effort and help keep us up and running

 

Please Support

Go to top