<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi<br>
Thanks for your reply<br>
Matthew, it doesn't work for me<br>
When I launch your cmake command I have<br>
<br>
CMake Warning:<br>
Manually-specified variables were not used by the project:<br>
std<br>
<br>
and make doesn't work<br>
<br>
Andrew, in CMakeCache.txt I have /usr/bin/c++ and I think it's the
4.7.2-1 version but I'm not sure<br>
<br>
Thanks a lot<br>
<br>
Ludovic<br>
<br>
<br>
Le 24/03/2015 16:14, Andrew Bell a écrit :<br>
</div>
<blockquote
cite="mid:CACJ51z0GF1831vw9V7q9ssyQ_dSvr0_JLoJ_xv2YA-wK_-NArA@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
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)">1
1</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 moz-do-not-send="true"
href="tel:%28603%29%20659-3363%20x91"
value="+16036593363" target="_blank">(603)
659-3363 x91</a></div>
<div><a moz-do-not-send="true"
href="http://appliedgeosolutions.com"
target="_blank">http://appliedgeosolutions.com</a></div>
<div><a moz-do-not-send="true"
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
moz-do-not-send="true"
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/filter_stats.dir/StatsFilter.cpp.o<br>
/home/ludo/pdal2/PDAL-0.9.9/filters/stats/StatsFilter.cpp:
In member function ‘virtual void
pdal::StatsFilter::ready(pdal::PointContext)’:<br>
/home/ludo/pdal2/PDAL-0.9.9/filters/stats/StatsFilter.cpp:121:17:
error: ‘class std::map<pdal::Dimension::Id::Enum,
pdal::stats::Summary>’ has no member named
‘emplace’<br>
make[2]: *** [filters/stats/CMakeFiles/filter_stats.dir/StatsFilter.cpp.o]
Erreur 1<br>
make[1]: *** [filters/stats/CMakeFiles/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.9/makefiles<br>
<br>
<br>
<br>
<br>
</div>
</div>
_______________________________________________<br>
pdal mailing list<br>
<a moz-do-not-send="true"
href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
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 moz-do-not-send="true" href="mailto:pdal@lists.osgeo.org">pdal@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:andrew.bell.ia@gmail.com">andrew.bell.ia@gmail.com</a></div>
</div>
</blockquote>
<br>
</body>
</html>