Re: [gdal-dev] Build failed with "cannot deduce template arguments" error

2025-04-29 Thread Even Rouault via gdal-dev
Which compiler and compiler version do you use ? It is likely it is too old and doesn't fully support C++17 Le 29/04/2025 à 23:18, Fengting Chen via gdal-dev a écrit : Hi, I am trying to build GDAL from the master branch, but got the following error: [ 46%] Building CXX object alg/CMakeFil

[gdal-dev] Build failed with "cannot deduce template arguments" error

2025-04-29 Thread Fengting Chen via gdal-dev
Hi, I am trying to build GDAL from the master branch, but got the following error: [ 46%] Building CXX object alg/CMakeFiles/alg.dir/gdal_interpolateatpoint.cpp.o In file included from /scratch/gdal/gdal/alg/gdal_interpolateatpoint.cpp:20: /scratch/gdal/gdal/gcore/gdal_vectorx.h: In member functi

Re: [gdal-dev] Build failed

2014-04-06 Thread Yves Jacolin
Le dimanche 6 avril 2014, 22:32:28 Even Rouault a écrit : > Le dimanche 06 avril 2014 22:28:43, Yves Jacolin a écrit : > > Hello, > > > > I have a failure with gdal (still using gdal git repository): > > > > /usr/bin/ld: /usr/local/src/gdal/gdal/frmts/o/.libs/aaigriddataset.o: > > relocation R_X8

Re: [gdal-dev] Build failed

2014-04-06 Thread Even Rouault
Le dimanche 06 avril 2014 22:28:43, Yves Jacolin a écrit : > Hello, > > I have a failure with gdal (still using gdal git repository): > > /usr/bin/ld: /usr/local/src/gdal/gdal/frmts/o/.libs/aaigriddataset.o: > relocation R_X86_64_32S against `_ZTV14AAIGRasterBand' can not be used when > making a

[gdal-dev] Build failed

2014-04-06 Thread Yves Jacolin
Hello, I have a failure with gdal (still using gdal git repository): /usr/bin/ld: /usr/local/src/gdal/gdal/frmts/o/.libs/aaigriddataset.o: relocation R_X86_64_32S against `_ZTV14AAIGRasterBand' can not be used when making a shared object; recompile with -fPIC /usr/local/src/gdal/gdal/frmts/o/.l