[gdal-dev] compulation error in trunk

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[gdal-dev] compulation error in trunk

Martin Landa
Hi,

I have problem compiling GDAL trunk on my Debian unstable machine:

gdalwarpkernel_opencl.cpp: In function '_cl_kernel*
get_kernel(oclWarper*, char, double, double, double, double, int, int,
int, int, cl_int*)':
gdalwarpkernel_opencl.cpp:1278:30: error: 'numeric_limits' is not a
member of 'std'
             dstMinVal = std::numeric_limits<float>::lowest();

gcc --version
gcc (Debian 7.2.0-19) 7.2.0

ocl-icd-libopencl1/unstable,testing,now 2.2.12-1 amd64 [installed]

In my case helped adding <limits> header into
gdalwarpkernel_opencl.cpp. Should I fill a bug report? Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: compulation error in trunk

Even Rouault-2

On mardi 23 janvier 2018 13:36:44 CET Martin Landa wrote:

> Hi,

>

> I have problem compiling GDAL trunk on my Debian unstable machine:

>

> gdalwarpkernel_opencl.cpp: In function '_cl_kernel*

> get_kernel(oclWarper*, char, double, double, double, double, int, int,

> int, int, cl_int*)':

> gdalwarpkernel_opencl.cpp:1278:30: error: 'numeric_limits' is not a

> member of 'std'

> dstMinVal = std::numeric_limits<float>::lowest();

>

> gcc --version

> gcc (Debian 7.2.0-19) 7.2.0

>

> ocl-icd-libopencl1/unstable,testing,now 2.2.12-1 amd64 [installed]

>

> In my case helped adding <limits> header into

> gdalwarpkernel_opencl.cpp. Should I fill a bug report? Ma

 

Martin,

 

I just committed this fix

 

Even

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: compulation error in trunk

Martin Landa
2018-01-23 13:40 GMT+01:00 Even Rouault <[hidden email]>:
> I just committed this fix

thanks, Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev