Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The code is not compatible with GDAL 2.2, and can compile with GDAL 2.1 #51

Closed
fangd123 opened this issue Jul 12, 2017 · 2 comments
Closed

Comments

@fangd123
Copy link

When I use the GDAL 2.2.1 to compile the source, it reported an error like GDALCreateOverviewDataset() has the wrong number of arguments, I query the header file, the function of GDAL 2.2.1 has just three arguments instead of four.

And then I download the source code of GDAL 2.1.4, the CTB has built succefully.

@mrgloom
Copy link

mrgloom commented Sep 5, 2017

For cesium-terrain-builder we need GDAL version >= 2.0.0

sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
sudo apt update
sudo apt install -y gdal-bin python-gdal libgdal-dev

or build from source:

#For cesium-terrain-builder we need GDAL version >= 2.0.0
#Build gdal from source https://trac.osgeo.org/gdal/wiki/BuildingOnUnix
#All versions http://download.osgeo.org/gdal/
#Build with python support https://gis.stackexchange.com/questions/21728/installing-gdal-1-9-0-on-linux-ubuntu-server-10-04/21739#21739
#wget http://download.osgeo.org/gdal/2.0.1/gdal-2.0.1.tar.gz
#tar -xvzf gdal-2.0.1.tar.gz
#cd gdal-2.0.1
#mkdir deploy 
#./configure --prefix=/home/user/Downloads/gdal-2.0.1/deploy
#make
#sudo make install

@mrgloom
Copy link

mrgloom commented Sep 5, 2017

Related
#15

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

No branches or pull requests

2 participants