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

[pcl] Add realsense2 dependency to pcl #24182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joakimono
Copy link
Contributor

Specify library name and version: pcl/1.13.1

This PR adds realsense2 as dependency to pcl and sets with_rssdk2=True as default.


@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 1 (05ee915e00917adf1a811f1700502ab80d2e562a):

  • pcl/1.13.1:
    CI failed to create some packages (All logs)

    Logs for packageID 26c922b3e8aa84a2236727d7c1e2f0811db1762b:
    [settings]
    arch=armv8
    build_type=Debug
    compiler=apple-clang
    compiler.libcxx=libc++
    compiler.version=13.0
    os=Macos
    [options]
    pcl:shared=True
    
    [...]
          rs2::stream_profile::stream_profile(rs2_stream_profile const*) in real_sense_2_grabber.cpp.o
      "_rs2_get_stream_profiles_count", referenced from:
          rs2::pipeline_profile::get_streams() const in real_sense_2_grabber.cpp.o
      "_rs2_get_video_stream_resolution", referenced from:
          rs2::video_stream_profile::video_stream_profile(rs2::stream_profile const&) in real_sense_2_grabber.cpp.o
      "_rs2_is_frame_extendable_to", referenced from:
          rs2::frameset::frameset(rs2::frame const&) in real_sense_2_grabber.cpp.o
          rs2::depth_frame::depth_frame(rs2::frame const&) in real_sense_2_grabber.cpp.o
          rs2::video_frame::video_frame(rs2::frame const&) in real_sense_2_grabber.cpp.o
          rs2::points::points(rs2::frame const&) in real_sense_2_grabber.cpp.o
      "_rs2_is_stream_profile_default", referenced from:
          rs2::stream_profile::stream_profile(rs2_stream_profile const*) in real_sense_2_grabber.cpp.o
      "_rs2_keep_frame", referenced from:
          rs2::frame::keep() in real_sense_2_grabber.cpp.o
      "_rs2_pipeline_profile_get_streams", referenced from:
          rs2::pipeline_profile::get_streams() const in real_sense_2_grabber.cpp.o
      "_rs2_pipeline_start_with_config", referenced from:
          rs2::pipeline::start(rs2::config const&) in real_sense_2_grabber.cpp.o
      "_rs2_pipeline_stop", referenced from:
          rs2::pipeline::stop() in real_sense_2_grabber.cpp.o
      "_rs2_pipeline_wait_for_frames", referenced from:
          rs2::pipeline::wait_for_frames(unsigned int) const in real_sense_2_grabber.cpp.o
      "_rs2_poll_for_frame", referenced from:
          std::__1::enable_if<std::is_base_of<rs2::frame, rs2::frame>::value, bool>::type rs2::frame_queue::poll_for_frame<rs2::frame>(rs2::frame*) const in real_sense_2_grabber.cpp.o
      "_rs2_process_frame", referenced from:
          rs2::processing_block::invoke(rs2::frame) const in real_sense_2_grabber.cpp.o
      "_rs2_release_frame", referenced from:
          rs2::frame::reset() in real_sense_2_grabber.cpp.o
          rs2::frame::~frame() in real_sense_2_grabber.cpp.o
      "_rs2_set_option", referenced from:
          rs2::options::set_option(rs2_option, float) const in real_sense_2_grabber.cpp.o
      "_rs2_start_processing", referenced from:
          void rs2::processing_block::start<rs2::frame_queue>(rs2::frame_queue) in real_sense_2_grabber.cpp.o
      "_rs2_stream_profile_is", referenced from:
          rs2::video_stream_profile::video_stream_profile(rs2::stream_profile const&) in real_sense_2_grabber.cpp.o
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [lib/libpcl_io.1.13.1.dylib] Error 1
    make[1]: *** [io/CMakeFiles/pcl_io.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    make: *** [all] Error 2
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    WARN: boost/1.83.0: requirement zlib/[>=1.2.11 <2] overridden by pcl/1.13.1 to zlib/1.3.1 
    WARN: libpng/1.6.43: requirement zlib/[>=1.2.11 <2] overridden by pcl/1.13.1 to zlib/1.3.1 
    pcl/1.13.1: ERROR: Package '26c922b3e8aa84a2236727d7c1e2f0811db1762b' build failed
    pcl/1.13.1: WARN: Build folder /Users/jenkins/workspace/prod-v1/bsr/52245/bdfaf/.conan/data/pcl/1.13.1/_/_/build/26c922b3e8aa84a2236727d7c1e2f0811db1762b/build/Debug
    ERROR: pcl/1.13.1: Error in build() method, line 512
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build "/Users/jenkins/workspace/prod-v1/bsr/52245/bdfaf/.conan/data/pcl/1.13.1/_/_/build/26c922b3e8aa84a2236727d7c1e2f0811db1762b/build/Debug" '--' '-j8'
    

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.


Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

See details:

Failure in build 1 (05ee915e00917adf1a811f1700502ab80d2e562a):

  • pcl/1.13.1:
    CI failed to create some packages (All logs)

    Logs for packageID 60c3f8e682b40f165ce371c7bd5ad4a6728316e3:
    [settings]
    arch=armv8
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    [options]
    */*:shared=True
    
    [...]
      "_rs2_poll_for_frame", referenced from:
          std::__1::enable_if<std::is_base_of<rs2::frame, rs2::frame>::value, bool>::type rs2::frame_queue::poll_for_frame<rs2::frame>(rs2::frame*) const in real_sense_2_grabber.cpp.o
      "_rs2_process_frame", referenced from:
          rs2::filter::process(rs2::frame) const in real_sense_2_grabber.cpp.o
      "_rs2_release_frame", referenced from:
          pcl::RealSense2Grabber::threadFunction() in real_sense_2_grabber.cpp.o
          rs2::pipeline::wait_for_frames(unsigned int) const in real_sense_2_grabber.cpp.o
          rs2::frameset::get_depth_frame() const in real_sense_2_grabber.cpp.o
          rs2::pointcloud::calculate(rs2::frame) const in real_sense_2_grabber.cpp.o
          rs2::frameset::get_infrared_frame(unsigned long) const in real_sense_2_grabber.cpp.o
          rs2::frameset::get_color_frame() const in real_sense_2_grabber.cpp.o
          rs2::pointcloud::map_to(rs2::frame) in real_sense_2_grabber.cpp.o
          ...
      "_rs2_set_option", referenced from:
          rs2::pointcloud::map_to(rs2::frame) in real_sense_2_grabber.cpp.o
    [ 32%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/marching_cubes_rbf.cpp.o
      "_rs2_start_processing", referenced from:
          void rs2::processing_block::start<rs2::frame_queue>(rs2::frame_queue) in real_sense_2_grabber.cpp.o
      "_rs2_stream_profile_is", referenced from:
          rs2::video_stream_profile::video_stream_profile(rs2::stream_profile const&) in real_sense_2_grabber.cpp.o
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [lib/libpcl_io.1.13.1.dylib] Error 1
    make[1]: *** [io/CMakeFiles/pcl_io.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    [ 32%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/bilateral_upsampling.cpp.o
    [ 32%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/mls.cpp.o
    [ 33%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/organized_fast_mesh.cpp.o
    [ 33%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/simplification_remove_unused_vertices.cpp.o
    [ 34%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/surfel_smoothing.cpp.o
    [ 34%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/texture_mapping.cpp.o
    [ 34%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/poisson.cpp.o
    [ 35%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/concave_hull.cpp.o
    [ 35%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/convex_hull.cpp.o
    [ 35%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/bspline_data.cpp.o
    [ 36%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/factor.cpp.o
    [ 36%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/geometry.cpp.o
    [ 36%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/marching_cubes_poisson.cpp.o
    [ 37%] Linking CXX shared library ../lib/libpcl_sample_consensus.dylib
    [ 37%] Built target pcl_sample_consensus
    [ 38%] Linking CXX shared library ../lib/libpcl_surface.dylib
    [ 38%] Built target pcl_surface
    make: *** [all] Error 2
    
    pcl/1.13.1: ERROR: 
    Package '60c3f8e682b40f165ce371c7bd5ad4a6728316e3' build failed
    pcl/1.13.1: WARN: Build folder /Users/jenkins/workspace/prod-v2/bsr/46233/badbb/p/b/pclc0fd4a8e17601/b/build/Release
    ERROR: pcl/1.13.1: Error in build() method, line 512
    	cmake.build()
    	ConanException: Error 2 while executing
    

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.

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.

2 participants