<div dir="ltr">Yes, but C++11 support should be turned on automatically in the build process.  What is the compiler/version on your system?  You can look in CMakeCache.txt in your build directory for CMAKE_CXX_COMPILER.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 24, 2015 at 9:45 AM, Matthew Hanson <span dir="ltr"><<a href="mailto:mhanson@appliedgeosolutions.com" target="_blank">mhanson@appliedgeosolutions.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Ludovic,<br></div><div>std::map::emplace is a c++11 feature, so it could be that your compiler is not compiling with c++11 support.  You could try to give it the C++ flag:</div><div><pre style="margin-top:0px;padding:5px;border:0px;font-size:13px;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;color:rgb(57,51,24);word-wrap:normal;background-color:rgb(238,238,238)"><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:inherit"><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">-</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">std</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">=</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">c</span><span style="margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">++</span><span style="margin:0px;padding:0px;border:0px;color:rgb(128,0,0)">11</span></code></pre></div><div class="gmail_extra">which I think you can pass to cmake with</div><div class="gmail_extra">cmake -G "Unix Makefiles" ../ -Dstd=c++11</div><div class="gmail_extra"><br></div><div class="gmail_extra">although i could be wrong.  I didn't run into this on Ubuntu using g++ 4.8.2</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr">Matthew Hanson<div>Applied GeoSolutions</div><div><a href="tel:%28603%29%20659-3363%20x91" value="+16036593363" target="_blank">(603) 659-3363 x91</a></div><div><a href="http://appliedgeosolutions.com" target="_blank">http://appliedgeosolutions.com</a></div><div><a href="mailto:mhanson@appliedgeosolutions.com" target="_blank">mhanson@appliedgeosolutions.com</a></div><div><br></div></div></div></div>
<br><div class="gmail_quote"><div><div class="h5">On Tue, Mar 24, 2015 at 10:26 AM, Ludovic Granjon <span dir="ltr"><<a href="mailto:ludovic.granjon@u-bourgogne.fr" target="_blank">ludovic.granjon@u-bourgogne.fr</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hi all<br>
I'm new to PDAL and I try to install on debian wheezy but I have some problem<br>
When I launch<br>
cmake -G "Unix Makefiles" ../<br>
All seems to be OK<br>
<br>
But when I launch "make"<br>
I have<br>
<br>
Scanning dependencies of target filter_stats<br>
[ 18%] Building CXX object filters/stats/CMakeFiles/<u></u>filter_stats.dir/StatsFilter.<u></u>cpp.o<br>
/home/ludo/pdal2/PDAL-0.9.9/<u></u>filters/stats/StatsFilter.cpp: In member function ‘virtual void pdal::StatsFilter::ready(pdal:<u></u>:PointContext)’:<br>
/home/ludo/pdal2/PDAL-0.9.9/<u></u>filters/stats/StatsFilter.cpp:<u></u>121:17: error: ‘class std::map<pdal::Dimension::Id::<u></u>Enum, pdal::stats::Summary>’ has no member named ‘emplace’<br>
make[2]: *** [filters/stats/CMakeFiles/<u></u>filter_stats.dir/StatsFilter.<u></u>cpp.o] Erreur 1<br>
make[1]: *** [filters/stats/CMakeFiles/<u></u>filter_stats.dir/all] Erreur 2<br>
make: *** [all] Erreur 2<br>
<br>
I tried also with the master branche<br>
<br>
Have you an idea ?<br>
<br>
Thanks a lot<br>
<br>
Ludovic<br>
<br>
PS : This is my result of cmake<br>
<br>
-- Boost version: 1.57.0<br>
-- Found the following Boost libraries:<br>
--   program_options<br>
--   iostreams<br>
--   filesystem<br>
--   system<br>
--   thread<br>
-- <br>
-- The following features have been enabled:<br>
<br>
 * PDAL application , the PDAL command line application<br>
 * PostgreSQL PointCloud plugin , read/write PostgreSQL PointCloud objects<br>
 * Unit tests , PDAL unit tests<br>
<br>
-- The following OPTIONAL packages have been found:<br>
<br>
 * PkgConfig<br>
 * LibXml2<br>
 * GEOS (required version >= 3.3)<br>
   Provides general purpose geometry support<br>
 * GeoTIFF (required version >= 1.3.0)<br>
 * PythonInterp<br>
<br>
-- The following RECOMMENDED packages have been found:<br>
<br>
 * LASzip<br>
   Provides LASzip compression<br>
   Provides LASzip compression<br>
<br>
-- The following REQUIRED packages have been found:<br>
<br>
 * Boost (required version >= 1.53)<br>
   Boost provides fundamental functionality for PDAL<br>
 * GDAL (required version >= 1.9.0)<br>
   Provides general purpose raster, vector, and reference system support<br>
 * ZLIB<br>
   Compression support in BPF<br>
 * Threads , The thread library of the system<br>
 * PostgreSQL<br>
<br>
-- The following features have been disabled:<br>
<br>
 * Attribute plugin , apply attributes to a subset of points<br>
 * CPD plugin , run Coherent Point Drift on two datasets<br>
 * GeoWave plugin , Read and Write data using GeoWave<br>
 * Greyhound plugin , read points from a Greyhound server<br>
 * Hexbin plugin , determine boundary and density of a point cloud<br>
 * Icebridge plugin , read data in the Icebridge format<br>
 * MrSID plugin , read data in the MrSID format<br>
 * NITF plugin , read/write LAS data wrapped in NITF<br>
 * PCL plugin , provides PCL-based readers, writers, filters, and kernels<br>
 * SQLite plugin , read/write SQLite objects<br>
 * RiVLib plugin , read data in the RXP format<br>
 * Python plugin , add features that depend on python<br>
<br>
-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to: /home/lg465368/pdal2/PDAL-0.9.<u></u>9/makefiles<br>
<br>
<br>
<br>
<br></div></div>_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pdal" target="_blank">http://lists.osgeo.org/mailman/listinfo/pdal</a><br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org">pdal@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pdal" target="_blank">http://lists.osgeo.org/mailman/listinfo/pdal</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com">andrew.bell.ia@gmail.com</a></div>
</div>