Skip to content

Conversation

matthewhanson
Copy link
Collaborator

@matthewhanson matthewhanson commented Jan 14, 2021

closes #96

@danielklim
Copy link

The build fails when building GDAL:

make[3]: Entering directory `/build/gdal/ogr/ogrsf_frmts/elastic'
g++ -std=c++11 -I/build/gdal/port -I/build/gdal/gcore -I/build/gdal/alg -I/build/gdal/ogr -I/build/gdal/ogr/ogrsf_frmts -I/build/gdal/gnm -I/build/gdal/apps -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -O2 -Os -fPIC -fvisibility=hidden  -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wzero-as-null-pointer-constant  -I/build/gdal/ogr/ogrsf_frmts/geojson/libjson -I.. -I../.. -I../geojson -DGNM_ENABLED -I/build/gdal/port -I/usr/local/include -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local/include  -DGDAL_COMPILATION -c -o ../o/ogrelasticlayer.o ogrelasticlayer.cpp
In file included from ogr_elastic.h:33:0,
                 from ogrelasticlayer.cpp:30:
/build/gdal/ogr/ogrsf_frmts/ogrsf_frmts.h: In lambda function:
/build/gdal/ogr/ogrsf_frmts/ogrsf_frmts.h:109:18: error: ‘OGRErr OGRLayer::GetExtentInternal(int, OGREnvelope*, int)’ is protected
     OGRErr       GetExtentInternal(int iGeomField, OGREnvelope *psExtent, int bForce );
                  ^
ogrelasticlayer.cpp:3513:83: error: within this context
         const auto eRet = OGRLayer::GetExtentInternal(iGeomField, psExtent, bForce);
                                                                                   ^
make[3]: *** [../o/ogrelasticlayer.o] Error 1
make[3]: Leaving directory `/build/gdal/ogr/ogrsf_frmts/elastic'

@danielklim
Copy link

Just saw your comment on: OSGeo/gdal#3374

Guess it's an upstream GDAL issue =/

@furick1
Copy link

furick1 commented Jan 21, 2021

does this help
Dockerfile.txt

@matthewhanson
Copy link
Collaborator Author

@danielklim yeah, I was stopped by that GDAL issue and haven't revisited this since. I'll check out the Dockerfile @furick1 posted.

@matthewhanson matthewhanson merged commit 7db3fea into master Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to GDAL > 3.1 for COG driver
5 participants