<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Just fyi: same error here (qgis master, gdal trunk, linux (opensuse leap):</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;">[ 0%] Built target version </span><span style=" font-family:'monospace';"><br />[ 0%] </span><span style=" font-family:'monospace'; color:#18b218; background-color:#ffffff;">Building CXX object src/core/CMakeFiles/qgis_core.dir/pal/pal.cpp.o</span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:125:3: error: reference to ‘RTree’ is ambiguous <br /> RTree<FeaturePart*, double, 2, double> *obstacles; <br /> ^ <br />In file included from /home/vincent/src/QGIS/src/core/pal/feature.h:33:0, <br /> from /home/vincent/src/QGIS/src/core/pal/pal.cpp:37: <br />/home/vincent/src/QGIS/src/core/pal/pointset.h:38:7: note: candidates are: class RTree <br />class RTree; <br /> ^ <br />In file included from /home/vincent/src/QGIS/src/core/pal/pal.cpp:32:0: <br />/home/vincent/src/QGIS/src/core/pal/layer.h:45:113: note: template<class DATATYPE, class ELEMTYPE, int NUMDIMS, class ELEMTYPEREAL, int TMAXNODES, int TMINNODES> class pal::RTree <br /> template<class DATATYPE, class ELEMTYPE, int NUMDIMS, class ELEMTYPEREAL, int TMAXNODES, int TMINNODES> class RTree; <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:125:3: error: ‘RTree’ does not name a type <br /> RTree<FeaturePart*, double, 2, double> *obstacles; <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:126:3: error: reference to ‘RTree’ is ambiguous <br /> RTree<LabelPosition*, double, 2, double> *candidates; <br /> ^ <br />In file included from /home/vincent/src/QGIS/src/core/pal/feature.h:33:0, <br /> from /home/vincent/src/QGIS/src/core/pal/pal.cpp:37: <br />/home/vincent/src/QGIS/src/core/pal/pointset.h:38:7: note: candidates are: class RTree <br />class RTree; <br /> ^ <br />In file included from /home/vincent/src/QGIS/src/core/pal/pal.cpp:32:0: <br />/home/vincent/src/QGIS/src/core/pal/layer.h:45:113: note: template<class DATATYPE, class ELEMTYPE, int NUMDIMS, class ELEMTYPEREAL, int TMAXNODES, int TMINNODES> class pal::RTree <br /> template<class DATATYPE, class ELEMTYPE, int NUMDIMS, class ELEMTYPEREAL, int TMAXNODES, int TMINNODES> class RTree; <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:126:3: error: ‘RTree’ does not name a type <br /> RTree<LabelPosition*, double, 2, double> *candidates; <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp: In function ‘bool extractFeatCallback(pal::FeaturePart*, void*)’: <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:147:14: error: ‘FeatCallBackCtx’ has no member named ‘obstacles’ <br /> context->obstacles->Insert( amin, amax, ft_ptr->getSelfObstacle( i ) ); <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:157:95: error: ‘FeatCallBackCtx’ has no member named ‘candidates’ <br /> if ( ft_ptr->createCandidates( lPos, context->bbox_min, context->bbox_max, ft_ptr, context->candidates ) ) <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp: At global scope: <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:178:3: error: reference to ‘RTree’ is ambiguous <br /> RTree<FeaturePart*, double, 2, double> *obstacles; <br /> ^ <br />In file included from /home/vincent/src/QGIS/src/core/pal/feature.h:33:0, <br /> from /home/vincent/src/QGIS/src/core/pal/pal.cpp:37: <br />/home/vincent/src/QGIS/src/core/pal/pointset.h:38:7: note: candidates are: class RTree <br />class RTree; <br /> ^ <br />In file included from /home/vincent/src/QGIS/src/core/pal/pal.cpp:32:0: <br />/home/vincent/src/QGIS/src/core/pal/layer.h:45:113: note: template<class DATATYPE, class ELEMTYPE, int NUMDIMS, class ELEMTYPEREAL, int TMAXNODES, int TMINNODES> class pal::RTree <br /> template<class DATATYPE, class ELEMTYPE, int NUMDIMS, class ELEMTYPEREAL, int TMAXNODES, int TMINNODES> class RTree; <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:178:3: error: ‘RTree’ does not name a type <br /> RTree<FeaturePart*, double, 2, double> *obstacles; <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp: In function ‘bool extractObstaclesCallback(pal::FeaturePart*, void*)’: <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:194:12: error: ‘ObstacleCallBackCtx’ has no member named ‘obstacles’ <br /> context->obstacles->Insert( amin, amax, ft_ptr ); <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp: At global scope: <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:201:3: error: reference to ‘RTree’ is ambiguous <br /> RTree<LabelPosition*, double, 2, double> *cdtsIndex; <br /> ^ <br />In file included from /home/vincent/src/QGIS/src/core/pal/feature.h:33:0, <br /> from /home/vincent/src/QGIS/src/core/pal/pal.cpp:37: <br />/home/vincent/src/QGIS/src/core/pal/pointset.h:38:7: note: candidates are: class RTree <br />class RTree; <br /> ^ <br />In file included from /home/vincent/src/QGIS/src/core/pal/pal.cpp:32:0: <br />/home/vincent/src/QGIS/src/core/pal/layer.h:45:113: note: template<class DATATYPE, class ELEMTYPE, int NUMDIMS, class ELEMTYPEREAL, int TMAXNODES, int TMINNODES> class pal::RTree <br /> template<class DATATYPE, class ELEMTYPE, int NUMDIMS, class ELEMTYPEREAL, int TMAXNODES, int TMINNODES> class RTree; <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:201:3: error: ‘RTree’ does not name a type <br /> RTree<LabelPosition*, double, 2, double> *cdtsIndex; <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp: In function ‘bool filteringCallback(pal::FeaturePart*, void*)’: <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:208:3: error: reference to ‘RTree’ is ambiguous <br /> RTree<LabelPosition*, double, 2, double> *cdtsIndex = ( reinterpret_cast< FilterContext* >( ctx ) )->cdtsIndex; <br /> ^ <br />In file included from /home/vincent/src/QGIS/src/core/pal/feature.h:33:0, <br /> from /home/vincent/src/QGIS/src/core/pal/pal.cpp:37: <br />/home/vincent/src/QGIS/src/core/pal/pointset.h:38:7: note: candidates are: class RTree <br />class RTree; <br /> ^ <br />In file included from /home/vincent/src/QGIS/src/core/pal/pal.cpp:32:0: <br />/home/vincent/src/QGIS/src/core/pal/layer.h:45:113: note: template<class DATATYPE, class ELEMTYPE, int NUMDIMS, class ELEMTYPEREAL, int TMAXNODES, int TMINNODES> class pal::RTree <br /> template<class DATATYPE, class ELEMTYPE, int NUMDIMS, class ELEMTYPEREAL, int TMAXNODES, int TMINNODES> class RTree; <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:208:22: error: expected primary-expression before ‘*’ token <br /> RTree<LabelPosition*, double, 2, double> *cdtsIndex = ( reinterpret_cast< FilterContext* >( ctx ) )->cdtsIndex; <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:208:23: error: expected primary-expression before ‘,’ token <br /> RTree<LabelPosition*, double, 2, double> *cdtsIndex = ( reinterpret_cast< FilterContext* >( ctx ) )->cdtsIndex; <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:208:25: error: expected primary-expression before ‘double’ <br /> RTree<LabelPosition*, double, 2, double> *cdtsIndex = ( reinterpret_cast< FilterContext* >( ctx ) )->cdtsIndex; <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:208:25: error: expected ‘;’ before ‘double’ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:220:3: error: ‘cdtsIndex’ was not declared in this scope <br /> cdtsIndex->Search( amin, amax, LabelPosition::pruneCallback, static_cast< void* >( &pruneContext ) ); <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp: In member function ‘pal::Problem* pal::Pal::extract(double, double, double, double)’: <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:255:11: error: ‘FeatCallBackCtx’ has no member named ‘obstacles’ <br /> context.obstacles = obstacles; <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:256:11: error: ‘FeatCallBackCtx’ has no member named ‘candidates’ <br /> context.candidates = prob->candidates; <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:263:19: error: ‘ObstacleCallBackCtx’ has no member named ‘obstacles’ <br /> obstacleContext.obstacles = obstacles; <br /> ^ <br />/home/vincent/src/QGIS/src/core/pal/pal.cpp:334:13: error: ‘FilterContext’ has no member named ‘cdtsIndex’ <br /> filterCtx.cdtsIndex = prob->candidates; <br /> ^ <br />src/core/CMakeFiles/qgis_core.dir/build.make:7466: recipe for target 'src/core/CMakeFiles/qgis_core.dir/pal/pal.cpp.o' failed <br />make[2]: *** [src/core/CMakeFiles/qgis_core.dir/pal/pal.cpp.o] Error 1 <br />CMakeFiles/Makefile2:205: recipe for target 'src/core/CMakeFiles/qgis_core.dir/all' failed <br />make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2 <br />Makefile:149: recipe for target 'all' failed <br />make: *** [all] Error 2<br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Best regards, let me know if you need more info),</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Vincent.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Monday, July 18, 2016 12:18:25 PM Stefan Ziegler wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi <br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I get some compile errors on master (Ubuntu 16.04 and 14.04):<br /><br />[ 0%] Building CXX object src/core/CMakeFiles/qgis_core.dir/composer/qgscomposition.cpp.o<br />[ 0%] Building CXX object src/core/CMakeFiles/qgis_core.dir/pal/pal.cpp.o<br />/home/stefan/sources/qgis_master/src/core/pal/pal.cpp:125:3: error: reference to ‘RTree’ is ambiguous<br /> RTree<FeaturePart*, double, 2, double> *obstacles;<br /> ^<br />In file included from /home/stefan/sources/qgis_master/src/core/pal/feature.h:33:0,<br /> from /home/stefan/sources/qgis_master/src/core/pal/pal.cpp:37:<br />/home/stefan/sources/qgis_master/src/core/pal/pointset.h:38:7: note: candidates are: class RTree<br /> class RTree;<br /> ^<br /><br />....<br />....<br />....<br /><br />src/core/CMakeFiles/qgis_core.dir/build.make:7466: recipe for target 'src/core/CMakeFiles/qgis_core.dir/pal/pal.cpp.o' failed<br />make[2]: *** [src/core/CMakeFiles/qgis_core.dir/pal/pal.cpp.o] Error 1<br />CMakeFiles/Makefile2:208: recipe for target 'src/core/CMakeFiles/qgis_core.dir/all' failed<br />make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2<br />Makefile:149: recipe for target 'all' failed<br />make: *** [all] Error 2<br /><br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">best regards<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Stefan <br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br /></p></body></html>