PointCloudLibrary / PointCloudLibrary/pcl
[compile error] Errormessage when compiling: "common is required but eigen was not found"
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 11.1k
- Forks
- 4.7k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 6
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the “Using PCL in your own project” tutorial and the vcpkg install command, then inspect the CMake configuration around PCL_DIR and the reported Eigen or Boost dependencies. Reproduce the failure in the listed Windows, CLion, or Android NDK setups and capture the full compilation output; done means the dependency lookup failure is explained or corrected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, cmake, cpp
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100