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
  • 2

TOPIC:

XyGrib won't compile on Fedora 23 3 years 8 months ago #41

gcc -c -O3 -g -m64 -I/nwprod/lib/include/ -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ enc_jpeg2000.c
enc_jpeg2000.c: In function ‘enc_jpeg2000’:
enc_jpeg2000.c:125:10: error: ‘jas_image_t {aka struct <anonymous>}’ has no member named ‘inmem_’
     image.inmem_=1;
          ^
make[1]: *** [makefile:89: libg2c.a(enc_jpeg2000.o)] Error 1
make[1]: Leaving directory '/export/source/XyGrib-1.0.1-src/src/g2clib'
make: *** [Makefile:46: XyGrib] Error 2

I found inmem_ was not defined in jasper.h, but I saw a definition in jas_image.h so I added it:
#include "jasper/jas_image.h"

to g2clib/dec_jpeg2000.c

But this did not resolve the issue so I stopped there.

The same failure occurs in ZyGrib so I assume it's a problem with the jasper-devel package having new definitions.

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

XyGrib won't compile on Fedora 23 3 years 8 months ago #43

Hi,
Which version of libjasper do you have installed?
On a completely clean Ubuntu install with libjasper 1.900 XyGrib builds without any problems.
Can you please try and run the Linux AppImage version of XyGrib and let me know if it works on your platform.
Thanks,
David

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

Last edit: by davidgal.

XyGrib won't compile on Fedora 27 3 years 8 months ago #44

$ rpm -qa | grep jasper
jasper-libs-2.0.14-1.fc27.x86_64
jasper-devel-2.0.14-1.fc27.x86_64

Correction, this machine is a Fedora 27 box.

AppImage works fine - I just like to build clean when I can.

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

XyGrib won't compile on Fedora 27 3 years 8 months ago #45

It looks like the problem has to do with the newer libjasper version causing conflicting declarations. I will open an issue on GitHub to test with libjasper 2.

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

XyGrib won't compile on Fedora 27 3 years 8 months ago #46

It looks like the issue with jasper was also discovered with zyGribs.

aur.archlinux.org/packages/zygrib - blondllblondo on 2017-01-05 suggests commenting out the 'image.inmem_=1;' line.

It would be helpful to put build instructions on the github/wiki for each platform so we can quickly get consistent with the core team.

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

Last edit: by atseng.

XyGrib won't compile on Fedora 27 3 years 8 months ago #47

  • DomH
  • DomH's Avatar
  • Offline
  • Moderator
  • Moderator
  • La voile est ma passion
  • Posts: 110
  • Thank you received: 25

atseng wrote: It would be helpful to put build instructions on the github/wiki for each platform so we can quickly get consistent with the core team.


Hello,
As the team is not an expert in all the different OS, we greatly appreciate input from those who know; as much cooperation we have, better will be the product and the quality of documentation.
Of course we will make an effort in helping to "standardize" the presentation.
Bonne journée ou bonne soirée (vous pouvez choisir)
Have a nice day or good night (you can choose)
Guten Morgen oder gute Nacht (Sie können wählen)

DomH

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

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