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

[FLANN] Allow to be build as shared lib #16724

Merged
merged 3 commits into from
May 26, 2021

Conversation

larshg
Copy link
Contributor

@larshg larshg commented Mar 16, 2021

Describe the pull request

  • What does your PR fix? Allow FLANN to build as shared library.

  • Which triplets are supported/not supported? Have you updated the CI baseline?
    All triplets.
    versions/baseline.json is updated with new version.

  • Does your PR follow the maintainer guide? Yes.

@JackBoosY JackBoosY added the category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist label Mar 17, 2021
@JackBoosY
Copy link
Contributor

Please get failure logs here.

@larshg larshg force-pushed the AllowSharedFlann branch 4 times, most recently from 48af59d to 0f10c6e Compare March 17, 2021 11:47
@larshg
Copy link
Contributor Author

larshg commented Mar 17, 2021

@JackBoosY Should I include corrections to pcl, openmvg and others in this PR as well?

@JackBoosY
Copy link
Contributor

@larshg Please fix them in another PR.

@larshg larshg force-pushed the AllowSharedFlann branch 5 times, most recently from 9a4e452 to c92c5c7 Compare March 19, 2021 20:14
@larshg larshg mentioned this pull request Mar 19, 2021
@larshg larshg mentioned this pull request Mar 19, 2021
@larshg
Copy link
Contributor Author

larshg commented Mar 19, 2021

#16792 and #16791 are to resolve the PCL and OpenMVG build failures.

@larshg larshg marked this pull request as ready for review March 19, 2021 22:43
@JackBoosY JackBoosY added the depends:different-pr This PR or Issue depends on a PR which has been filed label Mar 21, 2021
@larshg
Copy link
Contributor Author

larshg commented Mar 23, 2021

The build error on Ubuntu is:

c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory

Doesn't seem to have anything with FLANN to do?

@JackBoosY JackBoosY removed the depends:different-pr This PR or Issue depends on a PR which has been filed label Mar 24, 2021
@JackBoosY
Copy link
Contributor

I can't repro this issue on my machine, here is my log:

[171/249] : && /usr/bin/c++ -fPIC -march=znver1 -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -mavx -mfma -mbmi2 -mavx2 -mno-xop -mno-fma4 -mno-avx512f -mno-avx512vl -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512dq -mno-avx512bw -mno-avx512ifma -mno-avx512vbmi -g -rdynamic software/SfM/export/CMakeFiles/openMVG_main_openMVG2CMPMVS.dir/main_openMVG2CMPMVS.cpp.o -o Linux-x86_64-Debug/openMVG_main_openMVG2CMPMVS  Linux-x86_64-Debug/libopenMVG_system.a  Linux-x86_64-Debug/libopenMVG_image.a  Linux-x86_64-Debug/libopenMVG_features.a  Linux-x86_64-Debug/libopenMVG_sfm.a  Linux-x86_64-Debug/libopenMVG_stlplus.a  Linux-x86_64-Debug/libopenMVG_system.a  Linux-x86_64-Debug/libopenMVG_image.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libjpeg.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libpng16d.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libz.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libtiffd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/liblzmad.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libjpeg.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libpng16d.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libz.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libtiffd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/liblzmad.a  Linux-x86_64-Debug/libopenMVG_geometry.a  Linux-x86_64-Debug/libopenMVG_matching.a  Linux-x86_64-Debug/libopenMVG_features.a  Linux-x86_64-Debug/libopenMVG_fast.a  Linux-x86_64-Debug/libopenMVG_stlplus.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libflann_sd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/liblz4d.a  Linux-x86_64-Debug/libopenMVG_lInftyComputerVision.a  Linux-x86_64-Debug/libopenMVG_multiview.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/share/lemon/../../debug/lib/libemon.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libceres-debug.a  -pthread  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libglog.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libgflags_debug.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libcxsparsed.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libklud.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libbtfd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libldld.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libumfpackd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libspqrd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libcholmodd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libamdd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libcamdd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libccolamdd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libcolamdd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libsuitesparseconfigd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/liblapack.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libopenblas.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libmetis.a  -lm  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libcxsparsed.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/lib/liblapack.a  -lm  /usr/lib/x86_64-linux-gnu/libgfortran.so.4  /home/vzay/work/16724/vcpkg/installed/x64-linux/lib/libopenblas.a  -lpthread  Linux-x86_64-Debug/libopenMVG_linearProgramming.a  Linux-x86_64-Debug/libopenMVG_numeric.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/share/clp/../../debug/lib/libClp.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/share/osi/../../debug/lib/libOsi.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/share/coinutils/../../debug/lib/libCoinUtils.a && :

Yours:

[171/249] : && /usr/bin/c++ -fPIC -march=znver1 -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -mavx -mfma -mbmi2 -mavx2 -mno-xop -mno-fma4 -mno-avx512f -mno-avx512vl -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512dq -mno-avx512bw -mno-avx512ifma -mno-avx512vbmi -g -rdynamic  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a -pthread -pthread /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a -pthread /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a -pthread -pthread software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/openMVG_main_AlternativeVO_autogen/mocs_compilation.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/main.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/ControlButtonsPanel.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/MainWindow.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/VOFolderProcessor.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/VOViewerPanel.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/VOViewerDrawableElements.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QEglFSEmulatorIntegrationPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QEglFSKmsEglDeviceIntegrationPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QEglFSX11IntegrationPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QGifPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QICOPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QJpegPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QXcbEglIntegrationPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QXcbGlxIntegrationPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QXcbIntegrationPlugin_Import.cpp.o -o Linux-x86_64-Debug/openMVG_main_AlternativeVO  -Wl,-rpath,/mnt/vcpkg-ci/installed/x64-linux/debug/lib:  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5Widgets.a  Linux-x86_64-Debug/libopenMVG_image.a  Linux-x86_64-Debug/libopenMVG_features.a  Linux-x86_64-Debug/libopenMVG_stlplus.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5Gui.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-emu-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-x11-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqgif.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqico.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/xcbglintegrations/libqxcb-egl-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/xcbglintegrations/libqxcb-glx-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/platforms/libqxcb.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglFSDeviceIntegration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5KmsSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglFsKmsSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5XcbQpa.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5GlxSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EventDispatcherSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5ServiceSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5ThemeSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5FontDatabaseSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5FbSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5InputSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5PlatformCompositorSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5VulkanSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5XkbCommonSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5Gui.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-emu-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-x11-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqgif.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqico.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/xcbglintegrations/libqxcb-egl-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/xcbglintegrations/libqxcb-glx-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/platforms/libqxcb.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglFSDeviceIntegration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5KmsSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglFsKmsSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5XcbQpa.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5GlxSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EventDispatcherSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5ServiceSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5ThemeSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5FontDatabaseSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5FbSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5InputSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5PlatformCompositorSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5VulkanSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5XkbCommonSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5EglFsKmsSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5GlxSupport.a  -lxcb-glx  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5XcbQpa.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5EglFSDeviceIntegration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5EventDispatcherSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5FbSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5EglSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5InputSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5PlatformCompositorSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5KmsSupport.a  -ldrm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5ServiceSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5ThemeSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5FontDatabaseSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EdidSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5XkbCommonSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5VulkanSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5EdidSupport.a  -lX11-xcb  -lxcb-icccm  -lxcb-image  -lxcb-shm  -lxcb-util  -lxcb-keysyms  -lxcb-randr  -lxcb-render-util  -lxcb-render  -lxcb-shape  -lxcb-sync  -lxcb-xfixes  -lxcb-xinerama  -lxcb-xkb  -lxcb-xinput  -lxcb  -lSM  -lICE  -lxkbcommon-x11  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libEGL.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libGLESv2.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libANGLE.a  -lXext  -lX11  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5DBus.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5DBus.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libfontconfig.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libexpat.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libuuid.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5DeviceDiscoverySupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5DeviceDiscoverySupport.a  -ludev  -lxkbcommon  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5Core.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5Gui.a  -lGL  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libharfbuzz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libfreetyped.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlicommon-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5Core.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libdouble-conversion.a  -ldl  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libpcre2-16.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libzstdd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbz2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicui18n.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicutu.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicuuc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicuio.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicudata.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbz2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicui18n.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicutu.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicuuc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicuio.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicudata.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libzstdd.a  -pthread  Linux-x86_64-Debug/libopenMVG_numeric.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtiffd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/liblzmad.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtiffd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/liblzmad.a  Linux-x86_64-Debug/libopenMVG_fast.a  -Wl,-rpath-link,/mnt/vcpkg-ci/installed/x64-linux/debug/lib && :

@larshg
Copy link
Contributor Author

larshg commented Mar 24, 2021

I can't repro this issue on my machine, here is my log:

[171/249] : && /usr/bin/c++ -fPIC -march=znver1 -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -mavx -mfma -mbmi2 -mavx2 -mno-xop -mno-fma4 -mno-avx512f -mno-avx512vl -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512dq -mno-avx512bw -mno-avx512ifma -mno-avx512vbmi -g -rdynamic software/SfM/export/CMakeFiles/openMVG_main_openMVG2CMPMVS.dir/main_openMVG2CMPMVS.cpp.o -o Linux-x86_64-Debug/openMVG_main_openMVG2CMPMVS  Linux-x86_64-Debug/libopenMVG_system.a  Linux-x86_64-Debug/libopenMVG_image.a  Linux-x86_64-Debug/libopenMVG_features.a  Linux-x86_64-Debug/libopenMVG_sfm.a  Linux-x86_64-Debug/libopenMVG_stlplus.a  Linux-x86_64-Debug/libopenMVG_system.a  Linux-x86_64-Debug/libopenMVG_image.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libjpeg.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libpng16d.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libz.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libtiffd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/liblzmad.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libjpeg.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libpng16d.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libz.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libtiffd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/liblzmad.a  Linux-x86_64-Debug/libopenMVG_geometry.a  Linux-x86_64-Debug/libopenMVG_matching.a  Linux-x86_64-Debug/libopenMVG_features.a  Linux-x86_64-Debug/libopenMVG_fast.a  Linux-x86_64-Debug/libopenMVG_stlplus.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libflann_sd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/liblz4d.a  Linux-x86_64-Debug/libopenMVG_lInftyComputerVision.a  Linux-x86_64-Debug/libopenMVG_multiview.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/share/lemon/../../debug/lib/libemon.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libceres-debug.a  -pthread  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libglog.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libgflags_debug.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libcxsparsed.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libklud.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libbtfd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libldld.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libumfpackd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libspqrd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libcholmodd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libamdd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libcamdd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libccolamdd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libcolamdd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libsuitesparseconfigd.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/liblapack.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libopenblas.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libmetis.a  -lm  /home/vzay/work/16724/vcpkg/installed/x64-linux/debug/lib/libcxsparsed.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/lib/liblapack.a  -lm  /usr/lib/x86_64-linux-gnu/libgfortran.so.4  /home/vzay/work/16724/vcpkg/installed/x64-linux/lib/libopenblas.a  -lpthread  Linux-x86_64-Debug/libopenMVG_linearProgramming.a  Linux-x86_64-Debug/libopenMVG_numeric.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/share/clp/../../debug/lib/libClp.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/share/osi/../../debug/lib/libOsi.a  /home/vzay/work/16724/vcpkg/installed/x64-linux/share/coinutils/../../debug/lib/libCoinUtils.a && :

Yours:

[171/249] : && /usr/bin/c++ -fPIC -march=znver1 -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -mavx -mfma -mbmi2 -mavx2 -mno-xop -mno-fma4 -mno-avx512f -mno-avx512vl -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512dq -mno-avx512bw -mno-avx512ifma -mno-avx512vbmi -g -rdynamic  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a -pthread -pthread /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a -pthread /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a -pthread -pthread software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/openMVG_main_AlternativeVO_autogen/mocs_compilation.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/main.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/ControlButtonsPanel.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/MainWindow.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/VOFolderProcessor.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/VOViewerPanel.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/VOViewerDrawableElements.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QEglFSEmulatorIntegrationPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QEglFSKmsEglDeviceIntegrationPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QEglFSX11IntegrationPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QGifPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QICOPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QJpegPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QXcbEglIntegrationPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QXcbGlxIntegrationPlugin_Import.cpp.o software/VO/AlternativeVO/CMakeFiles/openMVG_main_AlternativeVO.dir/mnt/vcpkg-ci/installed/x64-linux/share/cmake/Qt5Gui/Qt5Gui_QXcbIntegrationPlugin_Import.cpp.o -o Linux-x86_64-Debug/openMVG_main_AlternativeVO  -Wl,-rpath,/mnt/vcpkg-ci/installed/x64-linux/debug/lib:  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5Widgets.a  Linux-x86_64-Debug/libopenMVG_image.a  Linux-x86_64-Debug/libopenMVG_features.a  Linux-x86_64-Debug/libopenMVG_stlplus.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5Gui.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-emu-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-x11-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqgif.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqico.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/xcbglintegrations/libqxcb-egl-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/xcbglintegrations/libqxcb-glx-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/platforms/libqxcb.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglFSDeviceIntegration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5KmsSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglFsKmsSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5XcbQpa.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5GlxSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EventDispatcherSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5ServiceSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5ThemeSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5FontDatabaseSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5FbSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5InputSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5PlatformCompositorSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5VulkanSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5XkbCommonSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5Gui.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-emu-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/egldeviceintegrations/libqeglfs-x11-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqgif.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqico.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/imageformats/libqjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/xcbglintegrations/libqxcb-egl-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/xcbglintegrations/libqxcb-glx-integration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/plugins/platforms/libqxcb.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglFSDeviceIntegration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5KmsSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglFsKmsSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5XcbQpa.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EglSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5GlxSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EventDispatcherSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5ServiceSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5ThemeSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5FontDatabaseSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5FbSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5InputSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5PlatformCompositorSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5VulkanSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5XkbCommonSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5EglFsKmsSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5GlxSupport.a  -lxcb-glx  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5XcbQpa.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5EglFSDeviceIntegration.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5EventDispatcherSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5FbSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5EglSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5InputSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5PlatformCompositorSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5KmsSupport.a  -ldrm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5ServiceSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5ThemeSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5FontDatabaseSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5EdidSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5XkbCommonSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5VulkanSupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5EdidSupport.a  -lX11-xcb  -lxcb-icccm  -lxcb-image  -lxcb-shm  -lxcb-util  -lxcb-keysyms  -lxcb-randr  -lxcb-render-util  -lxcb-render  -lxcb-shape  -lxcb-sync  -lxcb-xfixes  -lxcb-xinerama  -lxcb-xkb  -lxcb-xinput  -lxcb  -lSM  -lICE  -lxkbcommon-x11  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libEGL.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libGLESv2.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libANGLE.a  -lXext  -lX11  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5DBus.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5DBus.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libfontconfig.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libexpat.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libuuid.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5DeviceDiscoverySupport.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5DeviceDiscoverySupport.a  -ludev  -lxkbcommon  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt5Core.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5Gui.a  -lGL  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libharfbuzz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libfreetyped.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlidec-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbrotlicommon-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libQt5Core.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libdouble-conversion.a  -ldl  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libpcre2-16.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libzstdd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbz2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicui18n.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicutu.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicuuc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicuio.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicudata.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libbz2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicui18n.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicutu.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicuuc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicuio.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libicudata.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libzstdd.a  -pthread  Linux-x86_64-Debug/libopenMVG_numeric.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtiffd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/liblzmad.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtiffd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/liblzmad.a  Linux-x86_64-Debug/libopenMVG_fast.a  -Wl,-rpath-link,/mnt/vcpkg-ci/installed/x64-linux/debug/lib && :

With this PR merged?

So it fails on CI, but not on your local PC?

openMVG_main_AlternativeVO is not to be seen in your log - is the same features enabled as on the CI?

@JackBoosY
Copy link
Contributor

JackBoosY commented Mar 25, 2021

Glib is not a dependency of openmvg or one of its dependency chains, I am curious why it is linked to glib.

Edit: no difference between the configure logs.

@JackBoosY
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PhoebeHui
Copy link
Contributor

The openmvg:x64-linux failed with following failure in CI testing and will be fixed by #16954

c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory
c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory
c++: error: /mnt/vcpkg-ci/installed/x64-linux/debug/lib//libglib-2.0.a: No such file or directory

@JackBoosY JackBoosY added depends:different-pr This PR or Issue depends on a PR which has been filed and removed depends:different-pr This PR or Issue depends on a PR which has been filed labels Apr 2, 2021
@JackBoosY
Copy link
Contributor

Sorry for late, I will handle it this week.

@larshg
Copy link
Contributor Author

larshg commented May 5, 2021

I have rebased it and hopefully updated accordingly with control files to json conversion.

Edit: Just realized that I haven't done it for FLANN itself.

ports/flann/portfile.cmake Show resolved Hide resolved
ports/flann/fix-build-error.patch Outdated Show resolved Hide resolved
@larshg larshg force-pushed the AllowSharedFlann branch 2 times, most recently from 510ab6b to 876502e Compare May 6, 2021 11:20
@larshg
Copy link
Contributor Author

larshg commented May 6, 2021

I have updated the flann cuda project settings, as it missed a define.

@larshg
Copy link
Contributor Author

larshg commented May 6, 2021

I have added the possibility to enable the cuda build.

@larshg larshg force-pushed the AllowSharedFlann branch 2 times, most recently from 7f0a8e5 to 1594c3c Compare May 6, 2021 12:05
@larshg
Copy link
Contributor Author

larshg commented May 6, 2021

When installing now it correctly tells:
In dynamic:

The package flann:x64-windows provides CMake targets:

    find_package(flann CONFIG REQUIRED)
    target_link_libraries(main PRIVATE flann::flann flann::flann_cpp flann::flann_cuda)

In static:

The package flann:x64-windows-static provides CMake targets:

    find_package(flann CONFIG REQUIRED)
    target_link_libraries(main PRIVATE flann::flann_s flann::flann_cpp_s flann::flann_cuda_s)

ports/flann/vcpkg.json Outdated Show resolved Hide resolved
ports/flann/fix-build-error.patch Outdated Show resolved Hide resolved
ports/flann/fix-build-error.patch Show resolved Hide resolved
versions/f-/flann.json Outdated Show resolved Hide resolved
ports/flann/fix-build-error.patch Outdated Show resolved Hide resolved
@JackBoosY JackBoosY added info:reviewed Pull Request changes follow basic guidelines requires:discussion and removed requires:author-response labels May 10, 2021
@strega-nil-ms
Copy link
Contributor

This LGTM! Thanks @larshg :)

@strega-nil-ms strega-nil-ms merged commit 2462a95 into microsoft:master May 26, 2021
@larshg larshg deleted the AllowSharedFlann branch May 27, 2021 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants