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

vilib: new recipe #23743

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

vilib: new recipe #23743

wants to merge 1 commit into from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Apr 24, 2024

Adds vilib: https://github.com/uzh-rpg/vilib

CUDA Visual Library by RPG. GPU-Accelerated Frontend for High-Speed VIO.

Requires CUDA, so cannot be built or tested on CCI yet.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 1 (ef51596fea50ff1b0f18a6b03f03e12ea23e1354):

  • vilib/cci.20210625:
    CI failed to create some packages (All logs)

    Logs for packageID f1923c087d3da6e98580f84fafada1d4aceda16a:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    vilib:shared=False
    
    [...]
    dpkg-query: no packages found matching libxcb-glx0-dev
    dpkg-query: no packages found matching libxcb-render0-dev
    dpkg-query: no packages found matching libxcb-render-util0-dev
    dpkg-query: no packages found matching libxcb-xkb-dev
    dpkg-query: no packages found matching libxcb-icccm4-dev
    dpkg-query: no packages found matching libxcb-image0-dev
    dpkg-query: no packages found matching libxcb-keysyms1-dev
    dpkg-query: no packages found matching libxcb-randr0-dev
    dpkg-query: no packages found matching libxcb-shape0-dev
    dpkg-query: no packages found matching libxcb-sync-dev
    dpkg-query: no packages found matching libxcb-xfixes0-dev
    dpkg-query: no packages found matching libxcb-xinerama0-dev
    dpkg-query: no packages found matching libxcb-dri3-dev
    dpkg-query: no packages found matching uuid-dev
    dpkg-query: no packages found matching libxcb-cursor-dev
    dpkg-query: no packages found matching libxcb-dri2-0-dev
    dpkg-query: no packages found matching libxcb-dri3-dev
    dpkg-query: no packages found matching libxcb-present-dev
    dpkg-query: no packages found matching libxcb-composite0-dev
    dpkg-query: no packages found matching libxcb-ewmh-dev
    dpkg-query: no packages found matching libxcb-res0-dev
    debconf: delaying package configuration, since apt-utils is not installed
    dpkg-query: no packages found matching libxcb-util-dev
    debconf: delaying package configuration, since apt-utils is not installed
    CMake Error at /usr/share/cmake-3.18/Modules/FindCUDA.cmake:716 (message):
      Specify CUDA_TOOLKIT_ROOT_DIR
    Call Stack (most recent call first):
      CMakeLists.txt:52 (find_package)
    
    
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    WARN: protobuf/3.21.12: requirement zlib/[>=1.2.11 <2] overridden by opencv/4.9.0 to zlib/1.3.1 
    WARN: libxml2/2.12.6: requirement zlib/[>=1.2.11 <2] overridden by xkbcommon/1.6.0 to zlib/1.3.1 
    WARN: wayland/1.22.0: requirement libxml2/[>=2.12.5 <3] overridden by xkbcommon/1.6.0 to libxml2/2.12.6 
    WARN: libpng/1.6.43: requirement zlib/[>=1.2.11 <2] overridden by opencv/4.9.0 to zlib/1.3.1 
    WARN: openexr/3.2.3: requirement zlib/[>=1.2.11 <2] overridden by opencv/4.9.0 to zlib/1.3.1 
    WARN: libtiff/4.6.0: requirement zlib/[>=1.2.11 <2] overridden by opencv/4.9.0 to zlib/1.3.1 
    WARN: ffmpeg/4.4.4: requirement zlib/[>=1.2.11 <2] overridden by opencv/4.9.0 to zlib/1.3.1 
    WARN: freetype/2.13.2: requirement libpng/[>=1.6 <2] overridden by ffmpeg/4.4.4 to libpng/1.6.43 
    WARN: freetype/2.13.2: requirement zlib/[>=1.2.10 <2] overridden by ffmpeg/4.4.4 to zlib/1.3.1 
    WARN: openssl/3.2.1: requirement zlib/[>=1.2.11 <2] overridden by ffmpeg/4.4.4 to zlib/1.3.1 
    WARN: pulseaudio/14.2: requirement openssl/[>=1.1 <4] overridden by ffmpeg/4.4.4 to openssl/3.2.1 
    vilib/cci.20210625: 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
    vilib/cci.20210625: 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
    vilib/cci.20210625: ERROR: Package 'f1923c087d3da6e98580f84fafada1d4aceda16a' build failed
    vilib/cci.20210625: WARN: Build folder /home/conan/workspace/prod-v1/bsr/31258/eaecc/.conan/data/vilib/cci.20210625/_/_/build/f1923c087d3da6e98580f84fafada1d4aceda16a/build/Release
    ERROR: vilib/cci.20210625: Error in build() method, line 72
    	cmake.configure()
    	ConanException: Error 1 while executing cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/31258/eaecc/.conan/data/vilib/cci.20210625/_/_/build/f1923c087d3da6e98580f84fafada1d4aceda16a/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/workspace/prod-v1/bsr/31258/eaecc/.conan/data/vilib/cci.20210625/_/_/package/f1923c087d3da6e98580f84fafada1d4aceda16a" -DCMAKE_POLICY_DEFAULT_CMP0077="NEW" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/31258/eaecc/.conan/data/vilib/cci.20210625/_/_/build/f1923c087d3da6e98580f84fafada1d4aceda16a/src"
    

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 (ef51596fea50ff1b0f18a6b03f03e12ea23e1354):

  • vilib/cci.20210625:
    CI failed to create some packages (All logs)

    Logs for packageID 6fe4a4d52a0824f709c3e9c1f3454495218742df:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    [...]
    -------- Installing package vilib/cci.20210625 (55 of 55) --------
    vilib/cci.20210625: Building from source
    vilib/cci.20210625: Package vilib/cci.20210625:6fe4a4d52a0824f709c3e9c1f3454495218742df
    vilib/cci.20210625: Copying sources to build folder
    vilib/cci.20210625: Building your package in /home/conan/workspace/prod-v2/bsr/27828/eddce/p/b/vilibe8e59e485f8a0/b
    vilib/cci.20210625: Calling generate()
    vilib/cci.20210625: Generators folder: /home/conan/workspace/prod-v2/bsr/27828/eddce/p/b/vilibe8e59e485f8a0/b/build/Release/generators
    vilib/cci.20210625: CMakeToolchain generated: conan_toolchain.cmake
    vilib/cci.20210625: CMakeToolchain generated: CMakePresets.json
    vilib/cci.20210625: CMakeToolchain generated: ../../../src/CMakeUserPresets.json
    vilib/cci.20210625: CMakeDeps necessary find_package() and targets for your CMakeLists.txt
        find_package(OpenCV)
        find_package(Eigen3)
        target_link_libraries(... opencv::opencv Eigen3::Eigen)
    vilib/cci.20210625: Generating aggregated env files
    vilib/cci.20210625: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
    vilib/cci.20210625: Calling build()
    vilib/cci.20210625: Apply patch (bugfix): Add missing required OpenCV linked libraries
    vilib/cci.20210625: Running CMake.configure()
    vilib/cci.20210625: RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v2/bsr/27828/eddce/p/b/vilibe8e59e485f8a0/b/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/workspace/prod-v2/bsr/27828/eddce/p/b/vilibe8e59e485f8a0/p" -DCMAKE_POLICY_DEFAULT_CMP0077="NEW" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v2/bsr/27828/eddce/p/b/vilibe8e59e485f8a0/b/src"
    -- Looking for a CUDA compiler
    -- Looking for a CUDA compiler - NOTFOUND
    -- CUDA not natively supported yet, will look for CUDA cmake package
    -- Using Conan toolchain: /home/conan/workspace/prod-v2/bsr/27828/eddce/p/b/vilibe8e59e485f8a0/b/build/Release/generators/conan_toolchain.cmake
    -- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC)
    -- Conan toolchain: C++ Standard 17 with extensions OFF
    -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF
    -- The CXX compiler identification is GNU 11.4.0
    -- Check for working CXX compiler: /usr/local/bin/c++
    -- Check for working CXX compiler: /usr/local/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    CMake Error at /usr/share/cmake-3.15/Modules/FindCUDA.cmake:700 (message):
      Specify CUDA_TOOLKIT_ROOT_DIR
    Call Stack (most recent call first):
      CMakeLists.txt:52 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    See also "/home/conan/workspace/prod-v2/bsr/27828/eddce/p/b/vilibe8e59e485f8a0/b/build/Release/CMakeFiles/CMakeOutput.log".
    See also "/home/conan/workspace/prod-v2/bsr/27828/eddce/p/b/vilibe8e59e485f8a0/b/build/Release/CMakeFiles/CMakeError.log".
    
    vilib/cci.20210625: ERROR: 
    Package '6fe4a4d52a0824f709c3e9c1f3454495218742df' build failed
    vilib/cci.20210625: WARN: Build folder /home/conan/workspace/prod-v2/bsr/27828/eddce/p/b/vilibe8e59e485f8a0/b/build/Release
    ERROR: vilib/cci.20210625: Error in build() method, line 72
    	cmake.configure()
    	ConanException: Error 1 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