Opened 10 years ago

Closed 10 years ago

#43643 closed defect (duplicate)

libpcl: use -ftemplate-depth=N to increase recursive template instantiation depth

Reported by: luminans@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: luminans@…, Veence (Vincent)
Port: libpcl

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I got the following error when I install libpcl:

:info:build /opt/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h:444:5: note: use -ftemplate-depth=N to increase recursive template instantiation depth
:info:build     triangular_assignment_selector<Derived1, Derived2, Mode, UnrollCount-1, ClearOpposite>::run(dst, src);
:info:build     ^
:info:build 1 error generated.
:info:build make[2]: *** [search/CMakeFiles/pcl_search.dir/src/organized.cpp.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.1'
:info:build make[1]: *** [search/CMakeFiles/pcl_search.dir/all] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.1/io/tools/openni_pcd_recorder.cpp:62:29: error: use of undeclared identifier '_SC_AVPHYS_PAGES'
:info:build   uint64_t pages = sysconf (_SC_AVPHYS_PAGES);
:info:build                             ^
:info:build 1 error generated.

Attachments (1)

error_port_libpcl.log (91.7 KB) - added by luminans@… 10 years ago.
port libpcl log

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by luminans@…

Attachment: error_port_libpcl.log added

port libpcl log

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: luminans@… vince@… added
Description: modified (diff)
Keywords: template instantiation depth removed
Resolution: duplicate
Status: newclosed
Summary: How to increase recursive template instantiation depth?libpcl: use -ftemplate-depth=N to increase recursive template instantiation depth

Duplicate of #40760.

Note: See TracTickets for help on using tickets.