PointCloudLibrary/pcl

[compile error] Errormessage when compiling: "common is required but eigen was not found"

Open

#4 391 ouverte le 10 sept. 2020

Voir sur GitHub
 (7 commentaires) (0 réactions) (0 assignés)C++ (4 506 forks)batch import
help wantedkind: compile errorplatform: androidskill: cmake

Métriques du dépôt

Stars
 (9 023 stars)
Métriques de merge PR
 (Merge moyen 8j 7h) (3 PRs mergées en 30 j)

Description

(Please bear in mind I'm new to Cmake/C++/PCL. My goal is to include PCL in a Android project with NDK.

Build system

  • Windows 10
  • Android studio & CLion
  • Installed PCL by using Vcpkg.

Describe the error When trying to compile, I get error message: common is required but eigen was not found I set PCL_DIR to C:\\Users\\xxx\\Desktop\\xxx\\vcpkg\\installed\\x64-windows\\share\\pcl. Even when trying to set PCL_DIR to a older PCL install I made without vcpkg, I will get (different but similar) error message: common is required but boost was not found

I tried compile an Android project first (NDK), but also tried this it regular c++ 14 application using CLion.

Please paste the compilation results/errors.

To Reproduce

  • install using vcpkg: .\vcpkg install pcl
  • Create new project (Both Android NDK & C++14)
  • Try compile, I get these error
  • I follow the guide from Using PCL in your own project and use their cmake setting.

Your Environment (please complete the following information):

  • OS: Windows 10
  • Compiler: Android Studio, CLion
  • PCL Version: 1.11.1 x64
  • PCL Type: Installed using Vcpkg

If needed additional information, please let me know.

Guide contributeur