2020-09-19 16:34 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001044Orfeo Toolbox (OTB)Generalpublic2015-05-19 11:01
Reporterrashadkm 
Assigned Torashadkm 
PriorityhighSeverityblockReproducibilityalways
StatusclosedResolutionfixed 
Summary0001044: OTB Windows 64bit -error cast from 'const short unsigned int*' to 'long unsigned int
Description

[ 60%] Building CXX object Modules/Filtering/Statistics/test/CMakeFiles/otbStatisticsTestDriver.dir/otbStreamingStatisticsVectorImageFilter.cxx.obj
[ 60%] Building CXX object Modules/Segmentation/Conversion/test/CMakeFiles/otbConversionTestDriver.dir/otbVectorDataToLabelMapFilterNew.cxx.obj
[ 60%] Building CXX object Modules/Core/LabelMap/test/CMakeFiles/otbLabelMapTestDriver.dir/otbKMeansAttributesLabelMapFilter.cxx.obj
[ 60%] Building CXX object Modules/Filtering/Statistics/test/CMakeFiles/otbStatisticsTestDriver.dir/otbStreamingMinMaxVectorImageFilter.cxx.obj
[ 60%] Building CXX object Modules/Core/LabelMap/test/CMakeFiles/otbLabelMapTestDriver.dir/otbLabelMapToSampleListFilter.cxx.obj
[ 60%] Building CXX object Modules/Segmentation/Conversion/test/CMakeFiles/otbConversionTestDriver.dir/otbLabelImageToVectorDataFilterNew.cxx.obj
In file included from /.../src/Modules/Segmentation/Conversion/include/otbLabelImageToVectorDataFilter.h:124:0,
                 from /.../src/Modules/Segmentation/Conversion/test/otbLabelImageToVectorDataFilterNew.cxx:20:
/.../src/Modules/Segmentation/Conversion/include/otbLabelImageToVectorDataFilter.txx: In instantiation of 'void otb::LabelImageToVectorDataFilter<TInputImage, TPrecision>::GenerateData() [with TInputImage = otb::Image<short unsigned int, 2u>; TPrecision = double]':
/.../src/Modules/Segmentation/Conversion/test/otbLabelImageToVectorDataFilterNew.cxx:35:1: required from here

/.../src/Modules/Segmentation/Conversion/include/otbLabelImageToVectorDataFilter.txx:144:31: error: cast from 'const short unsigned int*' to 'long unsigned int' loses precision [-fpermissive]

            << "DATAPOINTER=" << (unsigned long)(this->GetInput()->GetBufferPointer()) << ","
                               ^
Additional Informationrelated gdal ticket:
http://trac.osgeo.org/gdal/ticket/3460

and its fix:
http://trac.osgeo.org/gdal/changeset/19065


dashboard submission
http://dash.orfeo-toolbox.org/viewBuildError.php?buildid=181585
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0002847

rashadkm (developer)

fixed by http://hg.orfeo-toolbox.org/OTB/rev/769ac292c933

waiting for dashboard results for all platforms
+Notes

-Issue History
Date Modified Username Field Change
2015-05-05 14:44 rashadkm New Issue
2015-05-05 15:07 rashadkm Note Added: 0002847
2015-05-12 10:37 rashadkm Status new => resolved
2015-05-12 10:37 rashadkm Resolution open => fixed
2015-05-12 10:37 rashadkm Assigned To => rashadkm
2015-05-19 11:01 julien Status resolved => closed
+Issue History