[gdal-dev] compilation error in trunk

Martin Landa landa.martin at gmail.com
Tue Oct 7 09:54:05 PDT 2014


Hi,

since today I am problem with compiling GDAL trunk.

make[1]: Entering directory '/opt/src/gdal/alg'
/bin/bash /home/martin/src/gdal/libtool --mode=compile --tag=CXX g++
-Wall  -g -DDEBUG  -Wall  -I/home/martin/src/gdal/port
-I/home/martin/src/gdal/gcore -I/home/martin/src/gdal/alg
-I/home/martin/src/gdal/ogr -I/home/martin/src/gdal/ogr/ogrsf_frmts
-DHAVE_GEOS=1 -I/usr/local/include -DOGR_ENABLED
-I/home/martin/src/gdal/port -I/usr/include  -DHAVE_OPENCL -c -o
gdalwarpkernel.lo gdalwarpkernel.cpp
libtool: compile:  g++ -Wall -g -DDEBUG -Wall
-I/home/martin/src/gdal/port -I/home/martin/src/gdal/gcore
-I/home/martin/src/gdal/alg -I/home/martin/src/gdal/ogr
-I/home/martin/src/gdal/ogr/ogrsf_frmts -DHAVE_GEOS=1
-I/usr/local/include -DOGR_ENABLED -I/home/martin/src/gdal/port
-I/usr/include -DHAVE_OPENCL -c gdalwarpkernel.cpp  -fPIC -DPIC -o
.libs/gdalwarpkernel.o
gdalwarpkernel.cpp: In function 'CPLErr GWKOpenCLCase(GDALWarpKernel*)':
gdalwarpkernel.cpp:3618:50: error: 'GDALWarpKernelOpenCLeleteEnv' was
not declared in this scope
     if((err = GDALWarpKernelOpenCLeleteEnv(warper)) != CL_SUCCESS)
                                                  ^
../GDALmake.opt:568: recipe for target 'gdalwarpkernel.lo' failed
make[1]: *** [gdalwarpkernel.lo] Error 1
make[1]: Leaving directory '/opt/src/gdal/alg'
GNUmakefile:57: recipe for target 'core-target' failed
make: *** [core-target] Error 2

Any idea what could be wrong? Thanks, Martin

-- 
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa


More information about the gdal-dev mailing list