geo-data / cesium-terrain-builder

A C++ library and associated command line tools designed to create terrain tiles for use in the Cesium JavaScript library
Other
706 stars 338 forks source link

Error while running make install #93

Closed ajinra020307 closed 3 years ago

ajinra020307 commented 3 years ago

Error when running make install command Iam using debian 10

/usr/bin/ld: ../src/libctb.so: undefined reference to `GDALCreateOverviewDataset(GDALDataset*, int, int)'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/ctb-export.dir/build.make:88: tools/ctb-export] Error 1
make[1]: *** [CMakeFiles/Makefile2:203: tools/CMakeFiles/ctb-export.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
gberaudo commented 3 years ago

@ajinra020307 this error does not appear in the branch in https://github.com/geo-data/cesium-terrain-builder/pull/64. I guess there is a fix for this in that branch.

ajinra020307 commented 3 years ago

okay,thank you

ajinra020307 commented 3 years ago

I tried the same with #64 again same error

/usr/bin/ld: ../src/libctb.so: undefined reference to `GDALCreateOverviewDataset(GDALDataset*, int, int)' collect2: error: ld returned 1 exit status make[2]: [tools/CMakeFiles/ctb-export.dir/build.make:88: tools/ctb-export] Error 1 make[1]: [CMakeFiles/Makefile2:208: tools/CMakeFiles/ctb-export.dir/all] Error 2 make: *** [Makefile:130: all] Error 2

ajinra020307 commented 3 years ago

sorry, it worked, i tried without switching brach