Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking error in qgspdalprovider #53482

Closed
2 tasks
meerfrau opened this issue Jun 15, 2023 · 4 comments
Closed
2 tasks

Linking error in qgspdalprovider #53482

meerfrau opened this issue Jun 15, 2023 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS Feedback Waiting on the submitter for answers Point Clouds stale Uh oh! Seems this work is abandoned, and the PR is about to close.

Comments

@meerfrau
Copy link

meerfrau commented Jun 15, 2023

What is the bug or the crash?

/usr/bin/ld: CMakeFiles/provider_pdal.dir/qgspdalprovider.cpp.o: in function `QgsPdalProvider::loadIndex()':
qgspdalprovider.cpp:(.text+0xd90): undefined reference to `QgsCopcPointCloudIndex::QgsCopcPointCloudIndex()'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [src/providers/pdal/CMakeFiles/provider_pdal.dir/build.make:192: output/lib/qgis/plugins/libprovider_pdal.so] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:5207: src/providers/pdal/CMakeFiles/provider_pdal.dir/all] Fehler 2

Using -DWITH_INTERNAL_LAZPERF=FALSE as suggested in #48374 leads to

./QGIS/external/untwine/bu/CopcSupport.cpp: In Elementfunktion »void untwine::bu::CopcSupport::addEbFields()«:
./QGIS/external/untwine/bu/CopcSupport.cpp:128:29: Fehler: keine passende Funktion für Aufruf von »lazperf::eb_vlr::addField(lazperf::eb_vlr::ebfield&)«
  128 |             m_ebVlr.addField(f);
      |             ~~~~~~~~~~~~~~~~^~~
In Datei, eingebunden von ./QGIS/external/untwine/bu/CopcSupport.hpp:22,
                 von ./QGIS/external/untwine/bu/CopcSupport.cpp:16:
/usr/include/lazperf/vlr.hpp:159:10: Anmerkung: Kandidat: »void lazperf::eb_vlr::addField()«
  159 |     void addField();
      |          ^~~~~~~~
/usr/include/lazperf/vlr.hpp:159:10: Anmerkung:   Kandidat erwartet 0 Argumente, 1 angegeben

PDAL version: 2.5.5

Steps to reproduce the issue

cmake --build .

Versions

git master

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@meerfrau meerfrau added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jun 15, 2023
@agiudiceandrea agiudiceandrea added Build/Install Related to compiling or installing QGIS Point Clouds labels Jun 17, 2023
@uclaros
Copy link
Contributor

uclaros commented Jun 23, 2023

Is this a duplicate of #48374 @meerfrau? Do you get an error when building with -DWITH_INTERNAL_LAZPERF=TRUE?

@alexbruy
Copy link
Contributor

Is this still an issue?

@alexbruy alexbruy added the Feedback Waiting on the submitter for answers label Nov 10, 2023
Copy link

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale".
If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue.
In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue.
If there is no further activity on this issue, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Nov 25, 2023
Copy link

While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue.
Or, if you have any further questions, there are also further support channels that can help you.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS Feedback Waiting on the submitter for answers Point Clouds stale Uh oh! Seems this work is abandoned, and the PR is about to close.
Projects
None yet
Development

No branches or pull requests

4 participants