How to compile PCL to android?
Just a guide, and a confirmation of: using wsl2 on windows 11 can compile PCL to android, with the help of vcpkg. export ANDROID_NDK_HOME=~/android-sdk/android-ndk-r25c cd ~ [ ! -d "vcpkg" ] &&...

Source: DEV Community
Just a guide, and a confirmation of: using wsl2 on windows 11 can compile PCL to android, with the help of vcpkg. export ANDROID_NDK_HOME=~/android-sdk/android-ndk-r25c cd ~ [ ! -d "vcpkg" ] && git clone https://github.com/microsoft/vcpkg.git cd ~/vcpkg git checkout 2026.03.18 ./bootstrap-vcpkg.sh cd ~/vcpkg # Remove the PCL build cache specifically rm -rf buildtrees/pcl rm -rf packages/pcl_arm64-android # Optional: If you think the dependencies (Boost/Eigen) are also messed up: rm -rf buildtrees/boost rm -rf buildtrees/flann # --recurse: Ensures that if a dependency (like Flann) needs an update due to the new vcpkg version, it gets updated too. ./vcpkg install pcl:arm64-android --recurse rm -rf /root/vcpkg/buildtrees/pcl VCPKG_MAX_CONCURRENCY=2 ./vcpkg install pcl:arm64-android --recurse --clean-after-build fsutil.exe file setCaseSensitiveInfo "D:\usp\uhpsj\proj\pcl_android_wsp" enable sudo cp -r /root/vcpkg/installed/arm64-android/* /mnt/d/usp/uhpsj/proj/pcl_android_wsp/ cd /