Opened 4 years ago

Closed 19 months ago

#3101 closed defect (fixed)

v.in.pdal compilation issue

Reported by: martinl Owned by: wenzeslaus
Priority: normal Milestone: 7.2.4
Component: Compiling Version: unspecified
Keywords: v.in.pdal, PDAL Cc: ptschrum
CPU: x86-64 Platform: Linux

Description

Compilation of v.in.pdal fails on my computer with

main.cpp:62:47: error: ‘pdal::Dimension::Id::Enum’ has not been declared
                          pdal::Dimension::Id::Enum dim_to_use_as_z)
                                               ^
main.cpp: In function ‘void pdal_point_to_grass(Map_info*, line_pnts*, line_cats*, pdal::PointViewPtr, pdal::PointId, GLidarLayers*, int, int)’:
main.cpp:67:38: error: ‘Id’ is not a namespace-name
     using namespace pdal::Dimension::Id;

I have self-compiled pdal

pdal-config --version
1.2.0
g++ --version
g++ (Debian 5.4.0-6) 5.4.0 20160609

Change History (12)

comment:1 Changed 4 years ago by martinl

Component: VectorCompiling

comment:2 Changed 4 years ago by wenzeslaus

There might be more. PDAL did several releases since I wrote v.in.pdal and I didn't have time to update.

comment:3 Changed 3 years ago by neteler

Milestone: 7.2.07.2.1

Ticket retargeted after milestone closed

comment:4 Changed 3 years ago by martinl

Milestone: 7.2.17.2.2

comment:5 Changed 3 years ago by ptschrum

Cc: ptschrum added

comment:6 Changed 3 years ago by neteler

Milestone: 7.2.27.2.3

Ticket retargeted after milestone closed

comment:7 Changed 2 years ago by neteler

See r72253: v.in.pdal: change API calls to PDAL 1.6.0 (available in G7.4).

See also #3243

comment:8 Changed 2 years ago by wenzeslaus

Owner: changed from grass-dev@… to wenzeslaus

Assigning to myself for clarity, but should be fixed in r72253 from #3496 by felixg for 7.4. Do we need/want to backport?

comment:9 Changed 2 years ago by wenzeslaus

In 72363:

v.in.pdal: change API calls to PDAL 1.6.0, see #3496, #3243, #3101, #2732 (author: felixg, backport of trunk r72246) + GPL header added in r72245

comment:10 Changed 2 years ago by martinl

Milestone: 7.2.3

Ticket retargeted after milestone closed

comment:11 Changed 2 years ago by martinl

Milestone: 7.2.4

comment:12 Changed 19 months ago by wenzeslaus

Keywords: PDAL added
Resolution: fixed
Status: newclosed

Error related to changes in PDAL API. Fixed in r72246, backported to 7.4 in r72253. backported to 7.2 in r72363. Closing as fixed.

Note: See TracTickets for help on using tickets.