Skip to content

Installation failure using conda on Ubuntu #207

@1719907882

Description

@1719907882

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.

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

  2. Modify the genCloudComPy_Conda310_Ubuntu2004.sh file to specify pcl=1.12.1, and encountered a similar compatibility error.

  3. 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".

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions