[pdal] PDAL Compilation error
Ludovic Granjon
ludovic.granjon at u-bourgogne.fr
Tue Mar 24 08:25:56 PDT 2015
Hi
Thanks for your reply
Matthew, it doesn't work for me
When I launch your cmake command I have
CMake Warning:
Manually-specified variables were not used by the project:
std
and make doesn't work
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
Thanks a lot
Ludovic
Le 24/03/2015 16:14, Andrew Bell a écrit :
> 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.
>
> On Tue, Mar 24, 2015 at 9:45 AM, Matthew Hanson
> <mhanson at appliedgeosolutions.com
> <mailto:mhanson at appliedgeosolutions.com>> wrote:
>
> Hi Ludovic,
> 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:
>
> |-std=c++11|
>
> which I think you can pass to cmake with
> cmake -G "Unix Makefiles" ../ -Dstd=c++11
>
> although i could be wrong. I didn't run into this on Ubuntu using
> g++ 4.8.2
>
>
>
> Matthew Hanson
> Applied GeoSolutions
> (603) 659-3363 x91 <tel:%28603%29%20659-3363%20x91>
> http://appliedgeosolutions.com
> mhanson at appliedgeosolutions.com
> <mailto:mhanson at appliedgeosolutions.com>
>
>
> On Tue, Mar 24, 2015 at 10:26 AM, Ludovic Granjon
> <ludovic.granjon at u-bourgogne.fr
> <mailto:ludovic.granjon at u-bourgogne.fr>> wrote:
>
> Hi all
> I'm new to PDAL and I try to install on debian wheezy but I
> have some problem
> When I launch
> cmake -G "Unix Makefiles" ../
> All seems to be OK
>
> But when I launch "make"
> I have
>
> Scanning dependencies of target filter_stats
> [ 18%] Building CXX object
> filters/stats/CMakeFiles/filter_stats.dir/StatsFilter.cpp.o
> /home/ludo/pdal2/PDAL-0.9.9/filters/stats/StatsFilter.cpp: In
> member function ‘virtual void
> pdal::StatsFilter::ready(pdal::PointContext)’:
> /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’
> make[2]: ***
> [filters/stats/CMakeFiles/filter_stats.dir/StatsFilter.cpp.o]
> Erreur 1
> make[1]: *** [filters/stats/CMakeFiles/filter_stats.dir/all]
> Erreur 2
> make: *** [all] Erreur 2
>
> I tried also with the master branche
>
> Have you an idea ?
>
> Thanks a lot
>
> Ludovic
>
> PS : This is my result of cmake
>
> -- Boost version: 1.57.0
> -- Found the following Boost libraries:
> -- program_options
> -- iostreams
> -- filesystem
> -- system
> -- thread
> --
> -- The following features have been enabled:
>
> * PDAL application , the PDAL command line application
> * PostgreSQL PointCloud plugin , read/write PostgreSQL
> PointCloud objects
> * Unit tests , PDAL unit tests
>
> -- The following OPTIONAL packages have been found:
>
> * PkgConfig
> * LibXml2
> * GEOS (required version >= 3.3)
> Provides general purpose geometry support
> * GeoTIFF (required version >= 1.3.0)
> * PythonInterp
>
> -- The following RECOMMENDED packages have been found:
>
> * LASzip
> Provides LASzip compression
> Provides LASzip compression
>
> -- The following REQUIRED packages have been found:
>
> * Boost (required version >= 1.53)
> Boost provides fundamental functionality for PDAL
> * GDAL (required version >= 1.9.0)
> Provides general purpose raster, vector, and reference
> system support
> * ZLIB
> Compression support in BPF
> * Threads , The thread library of the system
> * PostgreSQL
>
> -- The following features have been disabled:
>
> * Attribute plugin , apply attributes to a subset of points
> * CPD plugin , run Coherent Point Drift on two datasets
> * GeoWave plugin , Read and Write data using GeoWave
> * Greyhound plugin , read points from a Greyhound server
> * Hexbin plugin , determine boundary and density of a point cloud
> * Icebridge plugin , read data in the Icebridge format
> * MrSID plugin , read data in the MrSID format
> * NITF plugin , read/write LAS data wrapped in NITF
> * PCL plugin , provides PCL-based readers, writers, filters,
> and kernels
> * SQLite plugin , read/write SQLite objects
> * RiVLib plugin , read data in the RXP format
> * Python plugin , add features that depend on python
>
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/lg465368/pdal2/PDAL-0.9.9/makefiles
>
>
>
>
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org <mailto:pdal at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/pdal
>
>
>
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org <mailto:pdal at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/pdal
>
>
>
>
> --
> Andrew Bell
> andrew.bell.ia at gmail.com <mailto:andrew.bell.ia at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20150324/7e753485/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ludovic_granjon.vcf
Type: text/x-vcard
Size: 149 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20150324/7e753485/attachment.vcf>
More information about the pdal
mailing list