[GRASS-dev] [GRASS GIS] #3243: v.in.pdal build error: some PDAL 1.4.0 includes are not where the module expects them

GRASS GIS trac at osgeo.org
Sun Jan 8 07:03:19 PST 2017


#3243: v.in.pdal build error: some PDAL 1.4.0 includes are not where the module
expects them
----------------------+-------------------------
 Reporter:  msieczka  |      Owner:  grass-dev@…
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:  7.2.1
Component:  Vector    |    Version:  7.2.0
 Keywords:            |        CPU:  All
 Platform:  All       |
----------------------+-------------------------
 PDAL 1.4.0, Arch Linux, x86_64.

 Some PDAL includes are not in /usr/include/pdal, where v.in.pdal expects
 them, but in the /usr/include/pdal/io subdirectory. This leads a following
 build error:

 {{{
 $ cd ~/src/grass-7.2.0/vector/v.in.pdal
 $ make
 c++  -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-
 protector-strong
 -I/home/dane/devel/aur/grass7/src/grass-7.2.0/dist.x86_64-pc-linux-
 gnu/include -I/home/dane/devel/aur/grass7/src/grass-7.2.0/dist.x86_64-pc-
 linux-gnu/include   -I/usr/include -I/usr/include -march=x86-64
 -mtune=generic -O2 -pipe -fstack-protector-strong -Wextra -Wall -Wno-
 unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-
 qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -Wno-
 deprecated-declarations -isystem /usr/local/include -std=c++11 -std=c++11
 -DPACKAGE=\""grassmods"\"   -I/usr/include -I/usr/include -I/usr/include
 -I/usr/include/libxml2 -I/usr/include -I/usr/include
 -I/home/dane/devel/aur/grass7/src/grass-7.2.0/dist.x86_64-pc-linux-
 gnu/include -I/home/dane/devel/aur/grass7/src/grass-7.2.0/dist.x86_64-pc-
 linux-gnu/include -DRELDIR=\"vector/v.in.pdal\" -o OBJ.x86_64-pc-linux-
 gnu/main.o -c main.cpp
 main.cpp:4:30: fatal error: pdal/LasReader.hpp: No such file or directory
  #include <pdal/LasReader.hpp>
                               ^
 compilation terminated.
 make: *** [../../include/Make/Compile.make:35: OBJ.x86_64-pc-linux-
 gnu/main.o] Error 1
 }}}

 The reason why:

 {{{
 $ locate LasReader.hpp
 /usr/include/pdal/io/LasReader.hpp

 $ ls /usr/include/pdal/io/*.hpp | wc -l
 37

 $ ls /usr/include/pdal/*.hpp | wc -l
 50
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3243>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list