Opened 8 years ago

Closed 6 years 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 by martinl, 8 years ago

Component: VectorCompiling

comment:2 by wenzeslaus, 8 years ago

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

comment:3 by neteler, 7 years ago

Milestone: 7.2.07.2.1

Ticket retargeted after milestone closed

comment:4 by martinl, 7 years ago

Milestone: 7.2.17.2.2

comment:5 by ptschrum, 7 years ago

Cc: ptschrum added

comment:6 by neteler, 7 years ago

Milestone: 7.2.27.2.3

Ticket retargeted after milestone closed

comment:7 by neteler, 6 years ago

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

See also #3243

comment:8 by wenzeslaus, 6 years ago

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 by wenzeslaus, 6 years ago

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 by martinl, 6 years ago

Milestone: 7.2.3

Ticket retargeted after milestone closed

comment:11 by martinl, 6 years ago

Milestone: 7.2.4

comment:12 by wenzeslaus, 6 years ago

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.