[gdal-dev] compilation error in trunk
Even Rouault
even.rouault at spatialys.com
Tue Oct 7 12:21:43 PDT 2014
Le mardi 07 octobre 2014 18:54:05, Martin Landa a écrit :
> 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
oops, typo introduced accidently when editing that file yesterday, but as I
didn't compile with opencl enabled, it didn't trigger. Should be now repaired.
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list