Repository navigation
Description
Hi, I'm trying to install CloudComPy310 using conda on Ubuntu.
I have run git clone
git clone --recurse-submodules https://github.com/CloudCompare/CloudComPy.git
at /home/2001111722/projets/CloudComPy/.
Then I'm having this error:
"
CMake Error at CloudCompare/plugins/core/Standard/qPCL/PclUtils/CMakeLists.txt:5 (find_package):
Could not find a configuration file for package "PCL" that is compatible
with requested version "1.9".
The following configuration files were considered but not accepted:
/lustre/home/2001111722/miniconda3/envs/CloudComPy310/share/pcl-1.8/PCLConfig.cmake, version: 1.8.1
"
After that, I have tried the following 4 repair methods, but all of them failed.
-
Modify the genCloudComPy_Conda310_Ubuntu2004.sh file to specify pcl=1.9.1, and encountered an error:
Could not solve for environment specs. The following packages are incompatible ├─ ffmpeg =6.1 * is installable with the potential options... -
Modify the genCloudComPy_Conda310_Ubuntu2004.sh file to specify pcl=1.12.1, and encountered a similar compatibility error.
-
Modify the cmake file in CloudComPy/CloudCompare/plugins/core/Standard/qPCL/PclUtils to specify pcl as 1.8, and encountered a problem:
CMake Error at CloudCompare/plugins/core/Standard/qMasonry/qAutoSeg/CMakeLists.txt:29 (find_package): Could not find a configuration file for package "PCL" that is compatible with requested version "1.9.1". -
Modify qAutoSeg and qManualSeg to specify pcl as 1.8, and encountered a problem:
CMake Warning:
Manually-specified variables were not used by the project:CMAKE_Fortran_COMPILER
EIGEN_INCLUDE_DIR
GMP_LIBRARIES_DIR
LASLIB_INCLUDE_DIR
LASLIB_RELEASE_LIBRARY
LASZIP_LASTOOLS_INCLUDE_DIR
MPFR_LIBRARIES_DIR
OPENCASCADE_DLL_DIR
OpenMP_omp_LIBRARY
PLUGIN_PYTHON
TBB_DIR
...
[ 29%] Built target QPOISSON_RECON_LIB
make: *** [Makefile:146: all] Error 2
projets/CloudComPy/CloudComPy/building/genCloudComPy_Conda310_Ubuntu2004.sh: line 181: cd: /lustre/home/2001111722/projets/hydro95/prerequisites/install/Occ-740p3EDFp1/lib: No such file or directory
projets/CloudComPy/CloudComPy/building/genCloudComPy_Conda310_Ubuntu2004.sh: line 185: cd: /lustre/home/2001111722/projets/CloudComPy/pcl/install/lib: No such file or directory
projets/CloudComPy/CloudComPy/building/genCloudComPy_Conda310_Ubuntu2004.sh: line 187: cd: /lustre/home/2001111722/projets/CloudComPy/installConda/CloudComPy310/lib/cloudcompare: No such file or directory
Activity
prascle commentedon Apr 23, 2025
Hello,
I'm afraid the genCloudComPy_Conda310_Ubuntu2004.sh script isn't up to date. Conda packages are constantly evolving, and what works at one time may no longer be OK a few months later.
One way of dealing with this is to set more prerequisite versions in the script. Below is a version that works on Ubuntu 20.04:
(Note: change paths, disable plugins not based on Conda prerequisites if you haven't built them separately)
Regards,
Paul