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

Add poselib/cci.20221204 new recipe #14697

Closed
wants to merge 15 commits into from

Conversation

vcampmany
Copy link
Contributor

@vcampmany vcampmany commented Dec 12, 2022

Specify library name and version: poselib/cci.20221204

Adds PoseLib, a widely used library in camera pose estimation research. I'm a user of conan and the library, for this reason I want to add it to CCI.


@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@CLAassistant
Copy link

CLAassistant commented Dec 16, 2022

CLA assistant check
All committers have signed the CLA.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline

Failure in build 16 (fd224720eac3f602194b9b7f95d921b68bf5b179):

  • poselib/cci.20221217@:
    CI failed to create some packages (All logs)

    Logs for packageID 8f0073d6578251cffcdd59850cb7abde9cafe6f6:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MD
    compiler.version=16
    os=Windows
    [options]
    poselib:shared=True
    
    [...]
    ----Running------
    > cd C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\poselib\all\test_v1_package\build\395ce76e178cd7132027bfe2a6a1d07c1b3e5e52 && cmake -G "Visual Studio 16 2019" -A "x64" -DCONAN_LINK_RUNTIME="/MD" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP8" -DCONAN_C_FLAGS="/MP8" -DCMAKE_INSTALL_PREFIX="C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\poselib\all\test_v1_package\build\395ce76e178cd7132027bfe2a6a1d07c1b3e5e52\package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_PREFIX_PATH="C:/J/w/prod/BuildSingleReference@3/conan-center-index/recipes/poselib/all/test_v1_package/build/395ce76e178cd7132027bfe2a6a1d07c1b3e5e52" -DCMAKE_MODULE_PATH="C:/J/w/prod/BuildSingleReference@3/conan-center-index/recipes/poselib/all/test_v1_package/build/395ce76e178cd7132027bfe2a6a1d07c1b3e5e52" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\poselib\all\test_v1_package
    -----------------
    -- The CXX compiler identification is MSVC 19.29.30147.0
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Conan: called by CMake conan helper
    -- Conan: Adjusting output directories
    -- Conan: Using cmake targets configuration
    -- Conan: Adjusting default RPATHs Conan policies
    -- Conan: Adjusting language standard
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/J/w/prod/BuildSingleReference@3/conan-center-index/recipes/poselib/all/test_v1_package/build/395ce76e178cd7132027bfe2a6a1d07c1b3e5e52
    
    ----Running------
    > cmake --build C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\poselib\all\test_v1_package\build\395ce76e178cd7132027bfe2a6a1d07c1b3e5e52 --config Release -- /m:8 /verbosity:minimal
    -----------------
    Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
    Copyright (C) Microsoft Corporation. All rights reserved.
    
      Checking Build System
      Building Custom Rule C:/J/w/prod/BuildSingleReference@3/conan-center-index/recipes/poselib/all/test_v1_package/CMakeLists.txt
      test_package.cpp
    C:\J\w\prod\BuildSingleReference@3\.conan\data\poselib\cci.20221217\_\_\package\8f0073d6578251cffcdd59850cb7abde9cafe6f6\include\PoseLib/robust/estimators/absolute_pose.h(44,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\poselib\all\test_v1_package\build\395ce76e178cd7132027bfe2a6a1d07c1b3e5e52\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference@3\.conan\data\poselib\cci.20221217\_\_\package\8f0073d6578251cffcdd59850cb7abde9cafe6f6\include\PoseLib/robust/estimators/absolute_pose.h(154,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\poselib\all\test_v1_package\build\395ce76e178cd7132027bfe2a6a1d07c1b3e5e52\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference@3\.conan\data\poselib\cci.20221217\_\_\package\8f0073d6578251cffcdd59850cb7abde9cafe6f6\include\PoseLib/robust/estimators/relative_pose.h(44,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\poselib\all\test_v1_package\build\395ce76e178cd7132027bfe2a6a1d07c1b3e5e52\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference@3\.conan\data\poselib\cci.20221217\_\_\package\8f0073d6578251cffcdd59850cb7abde9cafe6f6\include\PoseLib/robust/estimators/relative_pose.h(112,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\poselib\all\test_v1_package\build\395ce76e178cd7132027bfe2a6a1d07c1b3e5e52\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference@3\.conan\data\poselib\cci.20221217\_\_\package\8f0073d6578251cffcdd59850cb7abde9cafe6f6\include\PoseLib/robust/estimators/homography.h(44,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\poselib\all\test_v1_package\build\395ce76e178cd7132027bfe2a6a1d07c1b3e5e52\test_package.vcxproj]
    test_package.obj : error LNK2019: unresolved external symbol "int __cdecl poselib::homography_4pt(class std::vector<class Eigen::Matrix<double,3,1,0,3,1>,class std::allocator<class Eigen::Matrix<double,3,1,0,3,1> > > const &,class std::vector<class Eigen::Matrix<double,3,1,0,3,1>,class std::allocator<class Eigen::Matrix<double,3,1,0,3,1> > > const &,class Eigen::Matrix<double,3,3,0,3,3> *,bool)" (?homography_4pt@poselib@@YAHAEBV?$vector@V?$Matrix@N$02$00$0A@$02$00@Eigen@@V?$allocator@V?$Matrix@N$02$00$0A@$02$00@Eigen@@@std@@@std@@0PEAV?$Matrix@N$02$02$0A@$02$02@Eigen@@_N@Z) referenced in function main [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\poselib\all\test_v1_package\build\395ce76e178cd7132027bfe2a6a1d07c1b3e5e52\test_package.vcxproj]
    C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\poselib\all\test_v1_package\build\395ce76e178cd7132027bfe2a6a1d07c1b3e5e52\bin\test_package.exe : fatal error LNK1120: 1 unresolved externals [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\poselib\all\test_v1_package\build\395ce76e178cd7132027bfe2a6a1d07c1b3e5e52\test_package.vcxproj]
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_EXPORT_NO_PACKAGE_REGISTRY
        CMAKE_INSTALL_BINDIR
        CMAKE_INSTALL_DATAROOTDIR
        CMAKE_INSTALL_INCLUDEDIR
        CMAKE_INSTALL_LIBDIR
        CMAKE_INSTALL_LIBEXECDIR
        CMAKE_INSTALL_OLDINCLUDEDIR
        CMAKE_INSTALL_SBINDIR
    
    
    ERROR: poselib/cci.20221217 (test package): Error in build() method, line 12
    	cmake.build()
    	ConanException: Error 1 while executing cmake --build C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\poselib\all\test_v1_package\build\395ce76e178cd7132027bfe2a6a1d07c1b3e5e52 --config Release -- /m:8 /verbosity:minimal
    

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 (informative, not required for merge)

Failure in build 16 (fd224720eac3f602194b9b7f95d921b68bf5b179):

  • poselib/cci.20221217@:
    Error running command conan export --name poselib --version cci.20221217 recipes/poselib/all/conanfile.py:
    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-14697/recipes/poselib/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-14697/recipes/poselib/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-14697/recipes/poselib/all/conanfile.py", line 3, in <module>
        from conans.tools import collect_libs
    ModuleNotFoundError: No module named 'conans.tools'
    

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.

@vcampmany
Copy link
Contributor Author

@uilianries, @SSE4 or someone else, could I get some help on how to fix the error for visual studio 16 with shared libs? I'm a bit lost right now and don't know how to proceed. Thanks!

@stale
Copy link

stale bot commented Jan 21, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 21, 2023
@stale
Copy link

stale bot commented Feb 21, 2023

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

@stale stale bot closed this Feb 21, 2023
@valgur valgur mentioned this pull request Jul 30, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants