[compile error] Errormessage when compiling: "common is required but eigen was not found"
#4,391 opened on Sep 10, 2020
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.