Package Base Details: gdal-hdf4

Git Clone URL: (read-only, click to copy)
Submitter: ggranga
Maintainer: ggranga
Last Packager: ggranga
Votes: 3
Popularity: 0.000000
First Submitted: 2016-04-26 14:23
Last Updated: 2019-12-06 12:02

Latest Comments

« First ‹ Previous 1 2

ggranga commented on 2017-11-21 08:23

Sorry, I was not able to reproduce the error. I tried to compile with --with-ecw (without the flags) and all went well (including the ability to read ecw files from QGIS).

kikislater commented on 2017-11-20 10:57

I use this package and edit it to have ECW support with libecwj2 from AUR.
I edit PKGBIUILD and add --with-ecw in ./configure. I also add CFLAGS="-O0" CXXFLAGS="-O0" to configure and make related to this

Build is successfull, I could read ecw or others formats from command line. But when I run qgis I have the following error and qgis crash :

$ qgis
Warning: QCss::Parser - Failed to load file "/style.qss"
Warning: QLayout: Attempting to add QLayout "" to QgsPanelWidgetStack "mWidgetStack", which already has a layout
QH6248 qh_lib_check: Incorrect qhull library called. Caller uses reentrant Qhull while library is non-reentrant
QH6249 qh_lib_check: Incorrect qhull library called. Size of qhT for caller is 8184, but for library is 2896.
QH6256 qh_lib_check: Cannot continue. Library 'qhull 7.2.0 (2015.2 2016/01/18)' uses a static qhT (e.g.,

Workaround is to downgrade from python2-scipy 1.0.0-1 to 0.19.0-1 but I wonder why ?! Using gdal from pacman doesn't show this error ! Any idea ?
Seems to be related to this :

ggranga commented on 2017-02-10 09:46

The patch was added to the PKGBUILD, now it should compile (without the need to downgrade jasper).

chikycin commented on 2017-02-10 05:22

This worked: replace JAS_CAST(uchar *, buf); by JAS_CAST(unsigned char*, buf) in frmts/jpeg2000/jpeg2000_vsil_io.cpp, line 212.


chikycin commented on 2017-02-09 13:43

The build is breaking:

In file included from /usr/include/jasper/jasper.h:68:0,
from jpeg2000_vsil_io.h:33,
from jpeg2000_vsil_io.cpp:77:
jpeg2000_vsil_io.cpp: In function 'void JPEG2000_VSIL_jas_stream_initbuf(jas_stream_t*, int, char*, int)':
jpeg2000_vsil_io.cpp:212:32: error: 'uchar' was not declared in this scope
stream->bufbase_ = JAS_CAST(uchar *, buf);
jpeg2000_vsil_io.cpp:212:23: error: expected primary-expression before ')' token
stream->bufbase_ = JAS_CAST(uchar *, buf);
make[2]: *** [../../GDALmake.opt:648: ../o/jpeg2000_vsil_io.lo] Error 1
make[2]: Leaving directory '/tmp/packerbuild-1000/gdal-hdf4/gdal-hdf4/src/gdal-2.1.1/frmts/jpeg2000'
make[1]: *** [GNUmakefile:15: jpeg2000-install-obj] Error 2
make[1]: Leaving directory '/tmp/packerbuild-1000/gdal-hdf4/gdal-hdf4/src/gdal-2.1.1/frmts'
make: *** [GNUmakefile:88: frmts-target] Error 2
==> ERROR: A failure occurred in build().
The build failed.