[gdal-dev] GDAL 2.2.0 beta 1 available

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[gdal-dev] GDAL 2.2.0 beta 1 available

Even Rouault-2

Hi,

 

I have prepared the GDAL/OGR 2.2.0 Beta 1 release. It will potentially be followed by a second beta, or directly by a RC1 if things go well. The source is available at:

 

http://download.osgeo.org/gdal/2.2.0/gdal-2.2.0beta1.tar.xz

http://download.osgeo.org/gdal/2.2.0/gdal-2.2.0beta1.tar.gz

http://download.osgeo.org/gdal/2.2.0/gdal220beta1.zip

 

A snapshot of the Python autotest suite can be downloaded from:

 

http://download.osgeo.org/gdal/2.2.0/gdalautotest-2.2.0beta1.tar.gz

http://download.osgeo.org/gdal/2.2.0/gdalautotest-2.2.0beta1.zip

 

The GRASS plugin is available at

 

http://download.osgeo.org/gdal/2.2.0/gdal-grass-2.2.0beta1.tar.gz

 

The NEWS is available at :

http://svn.osgeo.org/gdal/branches/2.2/gdal/NEWS

 

New bugs found should be filed in Trac normally.

 

http://trac.osgeo.org/gdal

 

GDAL developers and users are encouraged to treat the next 2 weeks

as the prime time for bug finding and fixing.

 

I have created the GDAL 2.2 branch from current trunk, so new developments can occur in trunk. Bug fixes that apply to 2.2 should be committed in both trunk and branches/2.2

 

Even

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0 beta 1 available

Kurt Schwehr-2
Even, 

Thanks for your hard work!

I did a quick mac osx fink build and spot checks with autotest - build looks good.

A quick check of NEWS:

Kakadu v7.9.1 works for me.  The line "add support for Kakadu v7.8" should probably be something like:

add support for Kakadu v7.9.1.  v7.8 should not be used.  It has a bug fixed in v7.9.


Should be 9.0:

OGRSpatialReference:
 * Upgrade to EPSG database v8.9  <----- Upgrade to EPSG database v9.0 (#6772)


On Fri, Apr 14, 2017 at 1:10 AM, Even Rouault <[hidden email]> wrote:

Hi,

 

I have prepared the GDAL/OGR 2.2.0 Beta 1 release. It will potentially be followed by a second beta, or directly by a RC1 if things go well. The source is available at:

 

http://download.osgeo.org/gdal/2.2.0/gdal-2.2.0beta1.tar.xz

http://download.osgeo.org/gdal/2.2.0/gdal-2.2.0beta1.tar.gz

http://download.osgeo.org/gdal/2.2.0/gdal220beta1.zip

 

A snapshot of the Python autotest suite can be downloaded from:

 

http://download.osgeo.org/gdal/2.2.0/gdalautotest-2.2.0beta1.tar.gz

http://download.osgeo.org/gdal/2.2.0/gdalautotest-2.2.0beta1.zip

 

The GRASS plugin is available at

 

http://download.osgeo.org/gdal/2.2.0/gdal-grass-2.2.0beta1.tar.gz

 

The NEWS is available at :

http://svn.osgeo.org/gdal/branches/2.2/gdal/NEWS

 

New bugs found should be filed in Trac normally.

 

http://trac.osgeo.org/gdal

 

GDAL developers and users are encouraged to treat the next 2 weeks

as the prime time for bug finding and fixing.

 

I have created the GDAL 2.2 branch from current trunk, so new developments can occur in trunk. Bug fixes that apply to 2.2 should be committed in both trunk and branches/2.2

 

Even

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev



--

_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0 beta 1 available

Even Rouault-2

On vendredi 14 avril 2017 07:59:43 CEST Kurt Schwehr wrote:

> Even,

>

> Thanks for your hard work!

>

> I did a quick mac osx fink build and spot checks with autotest - build

> looks good.

>

> A quick check of NEWS:

>

> Kakadu v7.9.1 works for me. The line "add support for Kakadu v7.8" should

> probably be something like:

>

> add support for Kakadu v7.9.1. v7.8 should not be used. It has a bug

> fixed in v7.9.

>

>

> Should be 9.0:

>

> OGRSpatialReference:

> * Upgrade to EPSG database v8.9 <----- Upgrade to EPSG database v9.0

> (#6772)

 

I let you commit those changes and any other you may find appropriate? It certainly needs double checking.

 

Eve

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0 beta 1 available

Mateusz Loskot
In reply to this post by Even Rouault-2
On 14 April 2017 at 10:10, Even Rouault <[hidden email]> wrote:
>
> I have prepared the GDAL/OGR 2.2.0 Beta 1 release. It will potentially be
> followed by a second beta, or directly by a RC1 if things go well.
> [...]
> GDAL developers and users are encouraged to treat the next 2 weeks
> as the prime time for bug finding and fixing.

I'm still polishing the JPEG XR driver, so it won't make it into 2.2.0,
but trunk and next release.

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0 beta 1 available

Kurt Schwehr-2
In reply to this post by Even Rouault-2

On Fri, Apr 14, 2017 at 8:09 AM, Even Rouault <[hidden email]> wrote:

On vendredi 14 avril 2017 07:59:43 CEST Kurt Schwehr wrote:

> Even,

>

> Thanks for your hard work!

>

> I did a quick mac osx fink build and spot checks with autotest - build

> looks good.

>

> A quick check of NEWS:

>

> Kakadu v7.9.1 works for me. The line "add support for Kakadu v7.8" should

> probably be something like:

>

> add support for Kakadu v7.9.1. v7.8 should not be used. It has a bug

> fixed in v7.9.

>

>

> Should be 9.0:

>

> OGRSpatialReference:

> * Upgrade to EPSG database v8.9 <----- Upgrade to EPSG database v9.0

> (#6772)

 

I let you commit those changes and any other you may find appropriate? It certainly needs double checking.

 

Eve

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com




--

_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0 beta 1 available

Marco Atzeri
In reply to this post by Even Rouault-2
On 14/04/2017 10:10, Even Rouault wrote:
> Hi,
>
>
>
> I have prepared the GDAL/OGR 2.2.0 Beta 1 release. It will potentially
> be followed by a second beta, or directly by a RC1 if things go well.
> The source is available at:
[cut]
> Even
>

On cygwin, I hit a poor choice of variable name.

------------------------------------------
make[2]: Leaving directory
'/cygdrive/e/cyg_pub/devel/gdal/prova/gdal-2.2.0-0.1.
x86_64/build/frmts/webp'
In file included from
/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/limits.h:168:0
,
                  from
/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/syslimits.h:7,
                  from
/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/limits.h:34,
                  from
/cygdrive/e/cyg_pub/devel/gdal/prova/gdal-2.2.0-0.1.x86_64
/build/port/cpl_port.h:143,
                  from
/cygdrive/e/cyg_pub/devel/gdal/prova/gdal-2.2.0-0.1.x86_64
/build/port/cpl_conv.h:35,
                  from ogrosmdatasource.cpp:29:
ogrosmdatasource.cpp:102:18: error: expected unqualified-id before
numeric const
ant
  static const int PAGE_SIZE = 4096;
---------------------------------------------


as on /usr/include/limits.h we have

/* Size in bytes of a page. */
#undef PAGESIZE
#undef PAGE_SIZE
#define PAGESIZE 65536
#define PAGE_SIZE PAGESIZE


on 2.1.3 there was no isses, as I see

/* Must be a multiple of both BUCKET_BITMAP_SIZE and
BUCKET_SECTOR_SIZE_ARRAY_SIZE */
#define PAGE_SIZE   4096

that was not causing issues.

Regards
Marco



_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0 beta 1 available

Even Rouault-2

Hi,

 

> ogrosmdatasource.cpp:102:18: error: expected unqualified-id before

> numeric const

> ant

> static const int PAGE_SIZE = 4096;

> ---------------------------------------------

>

>

> as on /usr/include/limits.h we have

>

> /* Size in bytes of a page. */

> #undef PAGESIZE

> #undef PAGE_SIZE

> #define PAGESIZE 65536

> #define PAGE_SIZE PAGESIZE

 

Thanks for the notice. I've just fixed it in SVN

(you can "svn checkout https://svn.osgeo.org/gdal/branches/2.2/gdal" to check)

 

Even

 

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0 beta 1 available

Marco Atzeri
On 16/04/2017 11:45, Even Rouault wrote:
> Hi,
>
>> ogrosmdatasource.cpp:102:18: error: expected unqualified-id before
>
>> numeric const
>
>> ant
>
>> static const int PAGE_SIZE = 4096;

>
> Thanks for the notice. I've just fixed it in SVN
>
> (you can "svn checkout https://svn.osgeo.org/gdal/branches/2.2/gdal" to
> check)
>
>
>
> Even
>

Noted.
Compiling with a similar change completed without problem

Regards
Marco

_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[gdal-dev] GDAL 2.2.0beta1 and old poppler libraries

Andrew C Aitchison-2
In reply to this post by Even Rouault-2

GDAL 2.2.0 beta1
Scientific Linux 6 (= CentOS6 =  Red Hat EL 6).
g++ 4.9.2 and g++ 5.3.1

gdal-2.2.0/frmts/pdf/pdfdataset.cpp does not compile on my
Scientific Linux 6 (= CentOS6 =  Red Hat EL 6) machine.

pdfio.h lines 87-90:
    private:
         /* Added in poppler 0.15.0 */
         virtual GBool hasGetChars() override;
         virtual int getChars(int nChars, Guchar *buffer) override;

Earlier in the same file we have
#ifdef POPPLER_0_23_OR_LATER
         virtual BaseStream* copy() override;
#endif

I guess we need to add a POPPLER_0_15_OR_LATER preprocessor definition
but I don't know whether configure.ac would be only place we need to
define it ?

The full compiler objection is:

./configure --with-ecw=/home/werdna/gdal1.11/ecw3 --prefix=/usr/local/gdal2.2.0beta1 --with-poppler
make
  ... ...
make[2]: Entering directory `/home/werdna/gdal2.2.0beta1/gdal-2.2.0/frmts/pdf'
/bin/sh /home/werdna/gdal2.2.0beta1/gdal-2.2.0/libtool --mode=compile --tag=CXX g++ -std=gnu++11 -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/port -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/gcore -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/alg -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/ogr -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/ogr/ogrsf_frmts -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/gnm -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/apps -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2  -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wdate-time -Wfloat-conversion -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names  -I../vrt -I../mem -I../../ogr/ogrsf_frmts/mem -DGNM_ENABLED -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/port -I/usr/include -I/usr/include/cfitsio  -DGDAL_COMPILATION -DHAVE_POPPLER -DPOPPLER_HAS_OPTCONTENT -I/usr/include -I
 /usr/include/poppler   -c -o ../o/pdfdataset.lo pdfdataset.cpp
libtool: compile:  g++ -std=gnu++11 -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/port -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/gcore -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/alg -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/ogr -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/ogr/ogrsf_frmts -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/gnm -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/apps -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wdate-time -Wfloat-conversion -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -I../vrt -I../mem -I../../ogr/ogrsf_frmts/mem -DGNM_ENABLED -I/home/werdna/gdal2.2.0beta1/gdal-2.2.0/port -I/usr/include -I/usr/include/cfitsio -DGDAL_COMPILATION -DHAVE_POPPLER -DPOPPLER_HAS_OPTCONTENT -I/usr/include -I/usr/include/poppler -c pdfdataset.cpp  -fPIC -DPIC -o ../o/.lib
 s/pdfdataset.o
In file included from pdfdataset.cpp:47:0:
pdfio.h:89:23: error: 'virtual GBool VSIPDFFileStream::hasGetChars()' marked override, but does not override
          virtual GBool hasGetChars() override;
                        ^
pdfio.h:90:21: error: 'virtual int VSIPDFFileStream::getChars(int, Guchar*)' marked override, but does not override
          virtual int getChars(int nChars, Guchar *buffer) override;
                      ^
make[2]: *** [../o/pdfdataset.lo] Error 1
make[2]: Leaving directory `/home/werdna/gdal2.2.0beta1/gdal-2.2.0/frmts/pdf'
make[1]: *** [pdf-install-obj] Error 2
make[1]: Leaving directory `/home/werdna/gdal2.2.0beta1/gdal-2.2.0/frmts'
make: *** [frmts-target] Error 2
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0beta1 and old poppler libraries

Even Rouault-2

On dimanche 16 avril 2017 20:31:09 CEST Andrew C Aitchison wrote:

> GDAL 2.2.0 beta1

> Scientific Linux 6 (= CentOS6 = Red Hat EL 6).

> g++ 4.9.2 and g++ 5.3.1

>

> gdal-2.2.0/frmts/pdf/pdfdataset.cpp does not compile on my

> Scientific Linux 6 (= CentOS6 = Red Hat EL 6) machine.

>

> pdfio.h lines 87-90:

> private:

> /* Added in poppler 0.15.0 */

> virtual GBool hasGetChars() override;

> virtual int getChars(int nChars, Guchar *buffer) override;

 

You can just remove the override qualifier in the above methods. Supporting properly this old version could be done but would be quite tedious. An alternative would be that you disable C++11 compilation mode with ./configure --without-cpp11 (you will loose the CAD driver then)

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0beta1 and old poppler libraries

Even Rouault-2

On dimanche 16 avril 2017 22:03:11 CEST Mateusz Łoskot wrote:

> GCC 4.9 should be fine

>

> See C++11/14 status I collected for GEOS

 

Mateusz, the issue is not so much the compiler version, but the poppler version (or more exactly the combination of them). New virtual methods have been added in successive poppler versions, and the override qualifier probably only applies to the latest versions. Some virtual methods might not exist in earlier version, which compiled fine before we added the override qualifier.

Even

 

>

> https://trac.osgeo.org/geos/wiki/RFC5

> Mateusz

>

> On 16 Apr 2017, 21:55, at 21:55, Even Rouault <[hidden email]> wrote:

> >On dimanche 16 avril 2017 20:31:09 CEST Andrew C Aitchison wrote:

> >> GDAL 2.2.0 beta1

> >> Scientific Linux 6 (= CentOS6 = Red Hat EL 6).

> >> g++ 4.9.2 and g++ 5.3.1

> >>

> >> gdal-2.2.0/frmts/pdf/pdfdataset.cpp does not compile on my

> >> Scientific Linux 6 (= CentOS6 = Red Hat EL 6) machine.

> >>

> >> pdfio.h lines 87-90:

> >> private:

> >> /* Added in poppler 0.15.0 */

> >> virtual GBool hasGetChars() override;

> >> virtual int getChars(int nChars, Guchar *buffer) override;

> >

> >You can just remove the override qualifier in the above methods.

> >Supporting properly this old

> >version could be done but would be quite tedious. An alternative would

> >be that you disable C

> >++11 compilation mode with ./configure --without-cpp11 (you will loose

> >the CAD driver then)

 

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0beta1 and old poppler libraries

Mateusz Loskot
On 16 April 2017 at 22:07, Even Rouault <[hidden email]> wrote:

> On dimanche 16 avril 2017 22:03:11 CEST Mateusz Łoskot wrote:
>
>> GCC 4.9 should be fine
>>
>> See C++11/14 status I collected for GEOS
>
> Mateusz, the issue is not so much the compiler version, but the poppler
> version (or more exactly the combination of them). New virtual methods have
> been added in successive poppler versions, and the override qualifier
> probably only applies to the latest versions. Some virtual methods might not
> exist in earlier version, which compiled fine before we added the override
> qualifier.

Gotcha. Thanks.
Missed the details, quickly responded from mobile

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0 beta 1 available

jmckenna
Administrator
In reply to this post by Even Rouault-2
On 2017-04-14 5:10 AM, Even Rouault wrote:
> I have prepared the GDAL/OGR 2.2.0 Beta 1 release. It will potentially
> be followed by a second beta, or directly by a RC1 if things go well.
> The source is available at:

Tested in the MS4W build environment on Windows, with VS 2015 and 2012.
No issues compiling or running with VS 2015.  With VS 2012 I get this
error right away when starting to compile (cpl_vsil_curl.cpp) :
https://pastebin.com/hBi6sv0c

-jeff


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0 beta 1 available

jmckenna
Administrator
On 2017-04-18 1:50 PM, Jeff McKenna wrote:

> On 2017-04-14 5:10 AM, Even Rouault wrote:
>> I have prepared the GDAL/OGR 2.2.0 Beta 1 release. It will potentially
>> be followed by a second beta, or directly by a RC1 if things go well.
>> The source is available at:
>
> Tested in the MS4W build environment on Windows, with VS 2015 and 2012.
> No issues compiling or running with VS 2015.  With VS 2012 I get this
> error right away when starting to compile (cpl_vsil_curl.cpp) :
> https://pastebin.com/hBi6sv0c
>
> -jeff
>
>

I just noticed a very recent change (after beta1) to GDAL of "fix
compilation with VS2015"  <--- this is confusing, as I just tested
successfully VS2015 for the full MS4W build (includes netcdf-c-4.4.0,
libkml, poppler, etc etc).  Maybe your recent change was not needed in
my build environment?  odd.

-jeff





_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0 beta 1 available

jmckenna
Administrator
On 2017-04-18 1:56 PM, Jeff McKenna wrote:

> On 2017-04-18 1:50 PM, Jeff McKenna wrote:
>> On 2017-04-14 5:10 AM, Even Rouault wrote:
>>> I have prepared the GDAL/OGR 2.2.0 Beta 1 release. It will potentially
>>> be followed by a second beta, or directly by a RC1 if things go well.
>>> The source is available at:
>>
>> Tested in the MS4W build environment on Windows, with VS 2015 and 2012.
>> No issues compiling or running with VS 2015.  With VS 2012 I get this
>> error right away when starting to compile (cpl_vsil_curl.cpp) :
>> https://pastebin.com/hBi6sv0c
>>
>> -jeff
>>
>>
>
> I just noticed a very recent change (after beta1) to GDAL of "fix
> compilation with VS2015"  <--- this is confusing, as I just tested
> successfully VS2015 for the full MS4W build (includes netcdf-c-4.4.0,
> libkml, poppler, etc etc).  Maybe your recent change was not needed in
> my build environment?  odd.
>
> -jeff
>
>
>

Also note that I recently (January?) worked with the netcdf-c devs
regarding compiling issues with VisualStudio with their 4.4.1 release:
https://github.com/Unidata/netcdf-c/issues/304

anyway, that's now too much feedback from me here, ha!  :)

-jeff





_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0 beta 1 available

jmckenna
Administrator
On 2017-04-18 2:06 PM, Jeff McKenna wrote:

> On 2017-04-18 1:56 PM, Jeff McKenna wrote:
>> On 2017-04-18 1:50 PM, Jeff McKenna wrote:
>>> On 2017-04-14 5:10 AM, Even Rouault wrote:
>>>> I have prepared the GDAL/OGR 2.2.0 Beta 1 release. It will potentially
>>>> be followed by a second beta, or directly by a RC1 if things go well.
>>>> The source is available at:
>>>
>>> Tested in the MS4W build environment on Windows, with VS 2015 and 2012.
>>> No issues compiling or running with VS 2015.  With VS 2012 I get this
>>> error right away when starting to compile (cpl_vsil_curl.cpp) :
>>> https://pastebin.com/hBi6sv0c
>>>
>>> -jeff
>>>
>>>
>>
>> I just noticed a very recent change (after beta1) to GDAL of "fix
>> compilation with VS2015"  <--- this is confusing, as I just tested
>> successfully VS2015 for the full MS4W build (includes netcdf-c-4.4.0,
>> libkml, poppler, etc etc).  Maybe your recent change was not needed in
>> my build environment?  odd.
>>
>> -jeff
>>
>>
>>
>
> Also note that I recently (January?) worked with the netcdf-c devs
> regarding compiling issues with VisualStudio with their 4.4.1 release:
> https://github.com/Unidata/netcdf-c/issues/304
>
> anyway, that's now too much feedback from me here, ha!  :)
>
> -jeff
>
>
>

my 2012 issue was a missing -DNOMINMAX in my nmake.opt Now both 2012 and
2015 work fine.  great work Even!

-jeff




_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0beta1 and old poppler libraries

Andrew C Aitchison-2
In reply to this post by Even Rouault-2
On Sun, 16 Apr 2017, Even Rouault wrote:

> On dimanche 16 avril 2017 20:31:09 CEST Andrew C Aitchison wrote:
>> GDAL 2.2.0 beta1
>> Scientific Linux 6 (= CentOS6 =  Red Hat EL 6).
>> g++ 4.9.2 and g++ 5.3.1
>>
>> gdal-2.2.0/frmts/pdf/pdfdataset.cpp does not compile on my
>> Scientific Linux 6 (= CentOS6 =  Red Hat EL 6) machine.
>>
>> pdfio.h lines 87-90:
>>     private:
>>          /* Added in poppler 0.15.0 */
>>          virtual GBool hasGetChars() override;
>>          virtual int getChars(int nChars, Guchar *buffer) override;
>
> You can just remove the override qualifier in the above methods. Supporting properly this old
> version could be done but would be quite tedious.
I found an existing define which is true for poppler >= 0.16.
And have written a patch which leaves the override qualifier for
newer poppler libraries but disables it for very old ones.
Somewhere around 0.15 or 0.16 it will incorrectly remove the override
qualifier, but the code will still compile correctly.

--
Andrew C Aitchison

_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

poppler.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GDAL 2.2.0beta1 and old poppler libraries

Even Rouault-2

On jeudi 20 avril 2017 12:54:08 CEST Andrew C Aitchison wrote:

> On Sun, 16 Apr 2017, Even Rouault wrote:

> > On dimanche 16 avril 2017 20:31:09 CEST Andrew C Aitchison wrote:

> >> GDAL 2.2.0 beta1

> >> Scientific Linux 6 (= CentOS6 = Red Hat EL 6).

> >> g++ 4.9.2 and g++ 5.3.1

> >>

> >> gdal-2.2.0/frmts/pdf/pdfdataset.cpp does not compile on my

> >> Scientific Linux 6 (= CentOS6 = Red Hat EL 6) machine.

> >>

> >> pdfio.h lines 87-90:

> >> private:

> >> /* Added in poppler 0.15.0 */

> >> virtual GBool hasGetChars() override;

> >> virtual int getChars(int nChars, Guchar *buffer) override;

> >

> > You can just remove the override qualifier in the above methods.

> > Supporting properly this old version could be done but would be quite

> > tedious.

>

> I found an existing define which is true for poppler >= 0.16.

> And have written a patch which leaves the override qualifier for

> newer poppler libraries but disables it for very old ones.

> Somewhere around 0.15 or 0.16 it will incorrectly remove the override

> qualifier, but the code will still compile correctly.

 

Thanks Andrew. Your patch is reasonable. I've just committed it.

 

Even

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Loading...