Welcome, Guest
Username: Password: Remember me
26 Sep 2020
No bulk downloads - PLEASE! THIS IS OVERLOADING OUR SERVER AND DENYING ACCESS TO COMMUNITY USERS
SVP - Pas de téléchargement en masse ! Cela surcharge le serveur et empêche la communauté d'utilisateurs d'accéder aux données
_______________________________
WE WILL BLOCK IP'S THAT ARE BULK DOWNLOADING! Nous bloquerons les IPs des personnes qui agissent de la sorte.
PLEASE GO DIRECTLY TO THE GRIB PRODUCERS (NOAA, DWD...) FOR BULK DOWNLOADS. Allez chercher les données directement à la source (NOAA, DWD ...)
Read More...
  • Page:
  • 1

TOPIC:

Compilation : erreur cmake sur arm64 5 years 7 months ago #462

Bonjour

Voici le texte de l'erreur
_________________________________
CMake Warning at data/tr/CMakeLists.txt:3 (FIND_PACKAGE):
By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5LinguistTools", but CMake did not find one.

Could not find a package configuration file provided by "Qt5LinguistTools"
with any of the following names:

Qt5LinguistToolsConfig.cmake
qt5linguisttools-config.cmake

Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
set "Qt5LinguistTools_DIR" to a directory containing one of the above
files. If "Qt5LinguistTools" provides a separate development package or
SDK, be sure it has been installed.

CMake Error at data/tr/CMakeLists.txt:8 (qt5_create_translation):
Unknown CMake command "qt5_create_translation".
_________________
Les paquets installés sont
libnova-dev is already the newest version (0.16-2).
libopenjp2-7-dev is already the newest version (2.3.0-1).
libproj-dev is already the newest version (4.9.3-2).
build-essential is already the newest version (12.4ubuntu1).
cmake is already the newest version (3.10.2-1ubuntu2).
libbz2-dev is already the newest version (1.0.6-8.1).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2).
git is already the newest version (1:2.17.1-1ubuntu0.4).
libpng-dev is already the newest version (1.6.34-1ubuntu0.18.04.2).
qt5-default is already the newest version (5.9.5+dfsg-0ubuntu2).

Please Log in to join the conversation.

Compilation : erreur cmake sur arm64 5 years 7 months ago #463

OK
Erreur trouvée après un coup de Google
il faut installer également qttools5-dev
Il faudrait changer la doc ci-dessous (et corriger cmake .. en cmake ../ ;-) )
github.com/opengribs/XyGrib/blob/master/INSTALL.md

Please Log in to join the conversation.

Compilation : erreur cmake sur arm64 5 years 7 months ago #464

Bon, maintenant une erreur dans le link
_____________
[100%] Linking CXX executable XyGrib
cd /home/pytheas/XyGrib/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/XyGrib.dir/link.txt --verbose=1
/usr/bin/c++ -Wall -fPIC -rdynamic CMakeFiles/XyGrib.dir/Astro.cpp.o CMakeFiles/XyGrib.dir/BoardPanel.cpp.o CMakeFiles/XyGrib.dir/ColorScale.cpp.o CMakeFiles/XyGrib.dir/ColorScaleWidget.cpp.o CMakeFiles/XyGrib.dir/DataColors.cpp.o CMakeFiles/XyGrib.dir/DataMeteoAbstract.cpp.o CMakeFiles/XyGrib.dir/DataPointInfo.cpp.o CMakeFiles/XyGrib.dir/DataQString.cpp.o CMakeFiles/XyGrib.dir/DateChooser.cpp.o CMakeFiles/XyGrib.dir/DialogBoxColumn.cpp.o CMakeFiles/XyGrib.dir/DialogFonts.cpp.o CMakeFiles/XyGrib.dir/DialogGraphicsParams.cpp.o CMakeFiles/XyGrib.dir/DialogLoadGRIB.cpp.o CMakeFiles/XyGrib.dir/DialogProxy.cpp.o CMakeFiles/XyGrib.dir/DialogSelectMetar.cpp.o CMakeFiles/XyGrib.dir/DialogServerStatus.cpp.o CMakeFiles/XyGrib.dir/DialogUnits.cpp.o CMakeFiles/XyGrib.dir/FileLoaderGRIB.cpp.o CMakeFiles/XyGrib.dir/Grib2Plot.cpp.o CMakeFiles/XyGrib.dir/Grib2Reader.cpp.o CMakeFiles/XyGrib.dir/Grib2Record.cpp.o CMakeFiles/XyGrib.dir/GribAnimator.cpp.o CMakeFiles/XyGrib.dir/GribPlot.cpp.o CMakeFiles/XyGrib.dir/GribReader.cpp.o CMakeFiles/XyGrib.dir/GribRecord.cpp.o CMakeFiles/XyGrib.dir/GriddedPlotter.cpp.o CMakeFiles/XyGrib.dir/GriddedReader.cpp.o CMakeFiles/XyGrib.dir/GriddedRecord.cpp.o CMakeFiles/XyGrib.dir/ImageWriter.cpp.o CMakeFiles/XyGrib.dir/IrregularGridded.cpp.o CMakeFiles/XyGrib.dir/IsoLine.cpp.o CMakeFiles/XyGrib.dir/LonLatGrid.cpp.o CMakeFiles/XyGrib.dir/LongTaskMessage.cpp.o CMakeFiles/XyGrib.dir/LongTaskProgress.cpp.o CMakeFiles/XyGrib.dir/MainWindow.cpp.o CMakeFiles/XyGrib.dir/MapDrawer.cpp.o CMakeFiles/XyGrib.dir/MenuBar.cpp.o CMakeFiles/XyGrib.dir/Metar.cpp.o CMakeFiles/XyGrib.dir/MeteoTable.cpp.o CMakeFiles/XyGrib.dir/MeteoTableWidget.cpp.o CMakeFiles/XyGrib.dir/MeteotableOptionsDialog.cpp.o CMakeFiles/XyGrib.dir/SkewT.cpp.o CMakeFiles/XyGrib.dir/SkewTWindow.cpp.o CMakeFiles/XyGrib.dir/Terrain.cpp.o CMakeFiles/XyGrib.dir/Therm.cpp.o CMakeFiles/XyGrib.dir/main.cpp.o CMakeFiles/XyGrib.dir/moc_Astro.cpp.o CMakeFiles/XyGrib.dir/moc_BoardPanel.cpp.o CMakeFiles/XyGrib.dir/moc_ColorScale.cpp.o CMakeFiles/XyGrib.dir/moc_ColorScaleWidget.cpp.o CMakeFiles/XyGrib.dir/moc_DataColors.cpp.o CMakeFiles/XyGrib.dir/moc_DataMeteoAbstract.cpp.o CMakeFiles/XyGrib.dir/moc_DataPointInfo.cpp.o CMakeFiles/XyGrib.dir/moc_DataQString.cpp.o CMakeFiles/XyGrib.dir/moc_DateChooser.cpp.o CMakeFiles/XyGrib.dir/moc_DialogBoxColumn.cpp.o CMakeFiles/XyGrib.dir/moc_DialogFonts.cpp.o CMakeFiles/XyGrib.dir/moc_DialogGraphicsParams.cpp.o CMakeFiles/XyGrib.dir/moc_DialogLoadGRIB.cpp.o CMakeFiles/XyGrib.dir/moc_DialogProxy.cpp.o CMakeFiles/XyGrib.dir/moc_DialogSelectMetar.cpp.o CMakeFiles/XyGrib.dir/moc_DialogServerStatus.cpp.o CMakeFiles/XyGrib.dir/moc_DialogUnits.cpp.o CMakeFiles/XyGrib.dir/moc_FileLoaderGRIB.cpp.o CMakeFiles/XyGrib.dir/moc_Grib2Plot.cpp.o CMakeFiles/XyGrib.dir/moc_Grib2Reader.cpp.o CMakeFiles/XyGrib.dir/moc_Grib2Record.cpp.o CMakeFiles/XyGrib.dir/moc_GribAnimator.cpp.o CMakeFiles/XyGrib.dir/moc_GribPlot.cpp.o CMakeFiles/XyGrib.dir/moc_GribReader.cpp.o CMakeFiles/XyGrib.dir/moc_GribRecord.cpp.o CMakeFiles/XyGrib.dir/moc_GriddedPlotter.cpp.o CMakeFiles/XyGrib.dir/moc_GriddedReader.cpp.o CMakeFiles/XyGrib.dir/moc_GriddedRecord.cpp.o CMakeFiles/XyGrib.dir/moc_ImageWriter.cpp.o CMakeFiles/XyGrib.dir/moc_IrregularGridded.cpp.o CMakeFiles/XyGrib.dir/moc_IsoLine.cpp.o CMakeFiles/XyGrib.dir/moc_LonLatGrid.cpp.o CMakeFiles/XyGrib.dir/moc_LongTaskMessage.cpp.o CMakeFiles/XyGrib.dir/moc_LongTaskProgress.cpp.o CMakeFiles/XyGrib.dir/moc_MainWindow.cpp.o CMakeFiles/XyGrib.dir/moc_MapDrawer.cpp.o CMakeFiles/XyGrib.dir/moc_MenuBar.cpp.o CMakeFiles/XyGrib.dir/moc_Metar.cpp.o CMakeFiles/XyGrib.dir/moc_MeteoTable.cpp.o CMakeFiles/XyGrib.dir/moc_MeteoTableWidget.cpp.o CMakeFiles/XyGrib.dir/moc_MeteotableOptionsDialog.cpp.o CMakeFiles/XyGrib.dir/moc_SkewT.cpp.o CMakeFiles/XyGrib.dir/moc_SkewTWindow.cpp.o CMakeFiles/XyGrib.dir/moc_Terrain.cpp.o CMakeFiles/XyGrib.dir/moc_Therm.cpp.o CMakeFiles/XyGrib.dir/moc_main.cpp.o CMakeFiles/XyGrib.dir/moc_DataDefines.cpp.o CMakeFiles/XyGrib.dir/moc_DialogBoxBase.cpp.o CMakeFiles/XyGrib.dir/moc_FileLoader.cpp.o CMakeFiles/XyGrib.dir/moc_RegularGridded.cpp.o CMakeFiles/XyGrib.dir/moc_RegularGriddedPlot.cpp.o CMakeFiles/XyGrib.dir/moc_Stylesheet.cpp.o -o XyGrib g2clib-1.6.0/libg2clib.a GUI/libgui.a util/libutil.a map/libmap.a -Wl,-Bstatic -lnova -Wl,-Bdynamic /usr/lib/aarch64-linux-gnu/libopenjp2.so.7 /usr/lib/aarch64-linux-gnu/libQt5Network.so.5.9.5 /usr/lib/aarch64-linux-gnu/libQt5Xml.so.5.9.5 /usr/lib/aarch64-linux-gnu/libQt5PrintSupport.so.5.9.5 -lbz2 -lz -lproj -lpng -lz GUI/libgui.a util/libutil.a -lproj -lpng /usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5.9.5 /usr/lib/aarch64-linux-gnu/libQt5Gui.so.5.9.5 /usr/lib/aarch64-linux-gnu/libQt5Core.so.5.9.5
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/7/../../../aarch64-linux-gnu/libnova.a(julian_day.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `__stack_chk_guard@@GLIBC_2.17' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/7/../../../aarch64-linux-gnu/libnova.a(julian_day.o)(.text+0x4): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `__stack_chk_guard@@GLIBC_2.17'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
src/CMakeFiles/XyGrib.dir/build.make:2848: recipe for target 'src/XyGrib' failed
make[2]: *** [src/XyGrib] Error 1
make[2]: Leaving directory '/home/pytheas/XyGrib/build'
CMakeFiles/Makefile2:102: recipe for target 'src/CMakeFiles/XyGrib.dir/all' failed
make[1]: *** [src/CMakeFiles/XyGrib.dir/all] Error 2
make[1]: Leaving directory '/home/pytheas/XyGrib/build'
Makefile:132: recipe for target 'all' failed
make: *** [all] Error 2
___________________________

Please Log in to join the conversation.

Compilation : erreur cmake sur arm64 5 years 3 weeks ago #603

I could not find the solution to this problem on the internet, therefore I post it here, while it is unrelated to XyGrib (and in the wrong language, excusez moi).
If you run into this problem, you'll have to build libnova from source on Ubuntu 18.04 for arm64.

Something like (using root, fakeroot or another method):
apt-get --compile source libnova-0.16-0
dpkg -i libnova-dev-0.16-2_arm64.deb

This solves the "-fPIC" problem, the XyGrib compilation can be finished and you can proceed with installation.

Pytheas wrote: Bon, maintenant une erreur dans le link
_____________
[100%] Linking CXX executable XyGrib
< remove unnecessary parts >
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/7/../../../aarch64-linux-gnu/libnova.a(julian_day.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `__stack_chk_guard@@GLIBC_2.17' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/7/../../../aarch64-linux-gnu/libnova.a(julian_day.o)(.text+0x4): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `__stack_chk_guard@@GLIBC_2.17'
/usr/bin/ld: final link failed: Bad value
___________________________

Please Log in to join the conversation.

Last edit: by hreuver.
  • Page:
  • 1
Time to create page: 0.032 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