Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cilantro: new recipe #24528

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

cilantro: new recipe #24528

wants to merge 2 commits into from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jul 5, 2024

Summary

Adds cilantro/cci.20230816

Motivation

Adds cilantro: a lean C++ library for working with point cloud data.

https://github.com/kzampog/cilantro

Details

Requires #22353 for proper OpenMP support. Disabled OpenMP for now.
Vendors and uses the qhullcpp component from qhull, which is not available on CCI (#16321).


@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 2 (24dd79a603a263ffb5ab0de844f5d0a5462c7829):

  • cilantro/cci.20230816:
    CI failed to create some packages (All logs)

    Logs for packageID d2d8477127c94da68e9d9209f87ba6837222132b:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    cilantro:shared=False
    
    [...]
    -- Found OpenMP: -fopenmp (found version "4.5")  
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/conan/workspace/prod-v1/bsr/66958/bffde/.conan/data/cilantro/cci.20230816/_/_/build/d2d8477127c94da68e9d9209f87ba6837222132b/build/Debug
    cilantro/cci.20230816: CMake command: cmake --build "/home/conan/workspace/prod-v1/bsr/66958/bffde/.conan/data/cilantro/cci.20230816/_/_/build/d2d8477127c94da68e9d9209f87ba6837222132b/build/Debug" '--' '-j3'
    
    ----Running------
    > cmake --build "/home/conan/workspace/prod-v1/bsr/66958/bffde/.conan/data/cilantro/cci.20230816/_/_/build/d2d8477127c94da68e9d9209f87ba6837222132b/build/Debug" '--' '-j3'
    -----------------
    Scanning dependencies of target cilantro
    [  3%] Building CXX object CMakeFiles/cilantro.dir/src/3rd_party/libqhullcpp/Coordinates.cpp.o
    [  7%] Building CXX object CMakeFiles/cilantro.dir/src/3rd_party/libqhullcpp/PointCoordinates.cpp.o
    [ 11%] Building CXX object CMakeFiles/cilantro.dir/src/3rd_party/libqhullcpp/Qhull.cpp.o
    CMakeFiles/cilantro.dir/build.make:62: recipe for target 'CMakeFiles/cilantro.dir/src/3rd_party/libqhullcpp/Coordinates.cpp.o' failed
    CMakeFiles/cilantro.dir/build.make:75: recipe for target 'CMakeFiles/cilantro.dir/src/3rd_party/libqhullcpp/PointCoordinates.cpp.o' failed
    CMakeFiles/cilantro.dir/build.make:88: recipe for target 'CMakeFiles/cilantro.dir/src/3rd_party/libqhullcpp/Qhull.cpp.o' failed
    CMakeFiles/Makefile2:103: recipe for target 'CMakeFiles/cilantro.dir/all' failed
    Makefile:129: recipe for target 'all' failed
    cilantro/cci.20230816: 
    In file included from /home/conan/workspace/prod-v1/bsr/66958/bffde/.conan/data/cilantro/cci.20230816/_/_/build/d2d8477127c94da68e9d9209f87ba6837222132b/src/src/3rd_party/libqhullcpp/Coordinates.cpp:9:
    /home/conan/workspace/prod-v1/bsr/66958/bffde/.conan/data/cilantro/cci.20230816/_/_/build/d2d8477127c94da68e9d9209f87ba6837222132b/src/include/cilantro/3rd_party/libqhullcpp/Coordinates.h:12:10: fatal error: libqhull_r/qhull_ra.h: No such file or directory
       12 | #include <libqhull_r/qhull_ra.h>
          |          ^~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [CMakeFiles/cilantro.dir/src/3rd_party/libqhullcpp/Coordinates.cpp.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    In file included from /home/conan/workspace/prod-v1/bsr/66958/bffde/.conan/data/cilantro/cci.20230816/_/_/build/d2d8477127c94da68e9d9209f87ba6837222132b/src/src/3rd_party/libqhullcpp/PointCoordinates.cpp:9:
    /home/conan/workspace/prod-v1/bsr/66958/bffde/.conan/data/cilantro/cci.20230816/_/_/build/d2d8477127c94da68e9d9209f87ba6837222132b/src/include/cilantro/3rd_party/libqhullcpp/PointCoordinates.h:12:10: fatal error: libqhull_r/qhull_ra.h: No such file or directory
       12 | #include <libqhull_r/qhull_ra.h>
          |          ^~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    In file included from /home/conan/workspace/prod-v1/bsr/66958/bffde/.conan/data/cilantro/cci.20230816/_/_/build/d2d8477127c94da68e9d9209f87ba6837222132b/src/include/cilantro/3rd_party/libqhullcpp/Qhull.h:12,
                     from /home/conan/workspace/prod-v1/bsr/66958/bffde/.conan/data/cilantro/cci.20230816/_/_/build/d2d8477127c94da68e9d9209f87ba6837222132b/src/src/3rd_party/libqhullcpp/Qhull.cpp:12:
    /home/conan/workspace/prod-v1/bsr/66958/bffde/.conan/data/cilantro/cci.20230816/_/_/build/d2d8477127c94da68e9d9209f87ba6837222132b/src/include/cilantro/3rd_party/libqhullcpp/QhullPoint.h:12:10: fatal error: libqhull_r/qhull_ra.h: No such file or directory
       12 | #include <libqhull_r/qhull_ra.h>
          |          ^~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [CMakeFiles/cilantro.dir/src/3rd_party/libqhullcpp/PointCoordinates.cpp.o] Error 1
    make[2]: *** [CMakeFiles/cilantro.dir/src/3rd_party/libqhullcpp/Qhull.cpp.o] Error 1
    make[1]: *** [CMakeFiles/cilantro.dir/all] Error 2
    make: *** [all] Error 2
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    cilantro/cci.20230816: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    cilantro/cci.20230816: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    cilantro/cci.20230816: ERROR: Package 'd2d8477127c94da68e9d9209f87ba6837222132b' build failed
    cilantro/cci.20230816: WARN: Build folder /home/conan/workspace/prod-v1/bsr/66958/bffde/.conan/data/cilantro/cci.20230816/_/_/build/d2d8477127c94da68e9d9209f87ba6837222132b/build/Debug
    ERROR: cilantro/cci.20230816: Error in build() method, line 134
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/66958/bffde/.conan/data/cilantro/cci.20230816/_/_/build/d2d8477127c94da68e9d9209f87ba6837222132b/build/Debug" '--' '-j3'
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@perseoGI perseoGI self-assigned this Jul 8, 2024
@perseoGI
Copy link
Contributor

perseoGI commented Jul 8, 2024

Hi @valgur, thanks for your contributions!
Could you take a look at the qhull error on Windows?

Also, cci.YYMMDD schema will be deprecated soon. But first lets see if we can fix the pipeline!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants