PointCloudLibrary/pcl

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

Open

#4,391 建立於 2020年9月10日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)C++ (9,023 star) (4,506 fork)batch import
help wantedkind: compile errorplatform: androidskill: cmake

描述

(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.

貢獻者指南