Fixes#33527
Add VTK as a dependency to CUDA feature. and use upstream patch to fix
error:
````
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
screenshot_manager.cpp.obj : error LNK2019: unresolved external symbol "void __cdecl pcl::io::saveRgbPNGFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned char const *,int,int)" (?saveRgbPNGFile@io@pcl@@YAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBEHH@Z) referenced in function "public: void __cdecl pcl::kinfuLS::ScreenshotManager::saveImage(class Eigen::Transform<float,3,2,0> const &,struct pcl::gpu::PtrStepSz<struct pcl::gpu::kinfuLS::PixelRGB const >)" (?saveImage@ScreenshotManager@kinfuLS@pcl@@QEAAXAEBV?$Transform@M$02$01$0A@@Eigen@@U?$PtrStepSz@$$CBUPixelRGB@kinfuLS@gpu@pcl@@@gpu@3@@Z)
bin\pcl_gpu_kinfu_large_scaled.dll : fatal error LNK1120: 1 unresolved externals
````
The upstream PR: https://github.com/PointCloudLibrary/pcl/pull/5947
All features are tested successfully in the following triplet:
x86-windows
x64-windows
x64-windows-static
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] ~~SHA512s are updated for each updated download.~~
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [ ] ~~Any patches that are no longer applied are deleted from the
port's directory.~~
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
---------
Co-authored-by: Jon <v-zhli17@microsoft.com>
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] The name of the port matches an existing name for this component
on https://repology.org/ if possible, and/or is strongly associated with
that component on search engines.
- [x] Optional dependencies are resolved in exactly one way. For
example, if the component is built with CMake, all `find_package` calls
are REQUIRED, are satisfied by `vcpkg.json`'s declared dependencies, or
disabled with
[CMAKE_DISABLE_FIND_PACKAGE_Xxx](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html).
- [x] The versioning scheme in `vcpkg.json` matches what upstream says.
- [x] The license declaration in `vcpkg.json` matches what upstream
says.
- [x] The installed as the "copyright" file matches what upstream says.
- [x] The source code of the component installed comes from an
authoritative source.
- [x] The generated "usage text" is accurate. See
[adding-usage](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/examples/adding-usage.md)
for context.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is in the new port's versions file.
- [x] Only one version is added to each modified port's versions file.
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [ ] The "supports" clause reflects platforms that may be fixed by this
new version.
- [ ] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [ ] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
<!-- If your PR fixes issues, please note that here by adding "Fixes
#NNNNNN." for each fixed issue on separate lines. -->
Fixes#36806
Usage passed on `x64-windows`.
<!-- If you are still working on the PR, open it as a Draft:
https://github.blog/2019-02-14-introducing-draft-pull-requests/. -->
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
<!-- If this PR adds a new port, please uncomment and fill out this
checklist:
- [ ] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] The name of the port matches an existing name for this component
on https://repology.org/ if possible, and/or is strongly associated with
that component on search engines.
- [ ] Optional dependencies are resolved in exactly one way. For
example, if the component is built with CMake, all `find_package` calls
are REQUIRED, are satisfied by `vcpkg.json`'s declared dependencies, or
disabled with
[CMAKE_DISABLE_FIND_PACKAGE_Xxx](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html).
- [ ] The versioning scheme in `vcpkg.json` matches what upstream says.
- [ ] The license declaration in `vcpkg.json` matches what upstream
says.
- [ ] The installed as the "copyright" file matches what upstream says.
- [ ] The source code of the component installed comes from an
authoritative source.
- [ ] The generated "usage text" is accurate. See
[adding-usage](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/examples/adding-usage.md)
for context.
- [ ] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [ ] Only one version is in the new port's versions file.
- [ ] Only one version is added to each modified port's versions file.
END OF NEW PORT CHECKLIST (delete this line) -->
---------
Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
We have an internal Microsoft report of dependency tracking tools complaining about requirements.txt in the Python backend of protobuf after a build. It's just as likely that similar alerts will be fired for other unused language backends. However, they're unused, so we can delete them.
* [pulsar-client-cpp] New port
* Remove unnecessary link options
* Address review comments
- Use find_dependency instead of find_package
- Specify BUILD_DYNAMIC_LIB explicitly
* Fix the Windows build and linkage
* Fix dynamic library not built when VCPKG_LIBRARY_LINKAGE is dynamic on Windows
* Fix Linux and OSX failures
* Remove PULSAR_FORCE_DYNAMIC_LIBRARY and upgrade version to 3.4.2
* Reduce the changes to the upstream CMakeLists.txt
* Remove unused version
* Optimize finding and linking dependency and patch the header for static library
* Support multi-config generators
* Fix path for release libraries
When running with VCPKG_FORCE_SYSTEM_BINARIES=ON (linux/arm64) then the Python
build will pick up libtk and attempt to build the tkinter module, linking to the
system library and causing either a build failure or an external link
dependency. Fix this by explicitly disabling it as we do for curses.
* [pcapplusplus] update to 23.09
* vcpkg: run x-add-version --all
* Update ports/pcapplusplus/vcpkg.json
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
* Update ports/pcapplusplus/portfile.cmake
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
* Update ports/pcapplusplus/vcpkg.json
Co-authored-by: Kai Pastor <dg0yt@darc.de>
* Fix version with leading zero
* Update pcapplusplus.json
* pcapplusplus: update with review
* Update pcapplusplus.json
---------
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
Co-authored-by: Kai Pastor <dg0yt@darc.de>
* Add pravila00-enum-string
* Format vcpkg.json
* Add version
* Add version file
* Add missing comma
* Fix version
* Update ports/pravila00-enum-string/portfile.cmake
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
* Update ports/pravila00-enum-string/portfile.cmake
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
* Update ports/pravila00-enum-string/vcpkg.json
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
* Update ports/pravila00-enum-string/portfile.cmake
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
* Rename port to enum-string
* Add version for enum-string
* Fix port name
* Update version
* Update port name
* Add version
---------
Co-authored-by: Pablo Rodriguez Avila <pabloro@microsoft.com>
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
* Remove dependencies to bzip2 and zlib.
They are used only by pcre2grep which we don't build in the port.
* Fix CMake integration.
The patch has been submitted upstream in PCRE2Project/pcre2#260.
* Add a usage file and use `vcpkg_install_copyright`.
* Bring back patching pcre2.h.
* Bump port version.
* Update version database.
* Fix CRLF damage.
* Fix target capitalization.
* Update version database.
---------
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* Add new port mini 0.9.14
* Update CI baseline
* Rename to pulzed-mini
* Remove mini from CI baseline
* Update CI baseline
---------
Co-authored-by: chausner <chausner@users.noreply.github.com>
* [python3] switch to vcpkg-msbuild
* v db
* update 3fd to use vcpkg-msbuild as a sanity check
* Fix windows cross builds
* v db
* arm needs another patch
* v db
* 3fd uwp msbuild_install
* v db
* [python3] Update to 3.11.3
* Force set PythonForBuild on windows
* Set LD_LIBRARY_PATH on unix
* Always use vcpkg_find_acquire_program(PYTHON3) on windows
* Remove LD_LIBRARY_PATH shenanigans
* [vtk] Parse python version from include folder
* Fix static builds on windows
* Pass --with-build-python on unix
* [omniorb] Fix python version in patch
* Resurrect rpath patch
* [python3] fix usage
* [gobject-introspection] don't hardcode python version
* Update vcpkg_find_aquire_program(PYTHON3)
This is also required for gobject-introspection
* [paraview] don't hardcode python version
* [vtk-dicom] don't hardcode python version
* Update python in vcpkgTools.xml
* Fix host arch detection in vcpkg_find_acquire_program(PYTHON3)
* [libpq] Don't hardcode python version
* [shiva] Don't pass python variables
* [vcpkg-get-python-packages] Delete unused file, update hardcoded python version
* [python3] update to 3.11.4
* [omniorb] Use PREPEND in vcpkg_add_to_path
So that python from vcpkg is picked before system python
* libpq quickfix
* re-fix libpq
* fix vcpkg-get-python-packages
* Make windows 7 patch compatible with unix builds
* Copy pyd files to bin
Also fixes copying files that do not belong to current build tree
* Fix static builds
* Speculatively fix osx regression
* Fix omniorb on unix
* [gobject-introspection] fix windows builds
* [vtk] Update vendored copy of mpi4py for python 3.11 support
* [mdl-sdk] Fix python
* [gobject-introspection] fix the fix of a fix...
* Update versions
* Undo changes in gobject-introspection and vcpkg_find_aquire_program(PYTHON3)
---------
Co-authored-by: root <root@DESKTOP-UIPL9V8>
* update cmake
* update to rc2
* use nightly build
* update to rc3 drop freebsd due to dead link and update git while i am at it
* fix missing sha
* fix relative path
* update to 3.27 release
* [paho-mqtt] remove usage of OPENSSL_ROOT_DIR
* [directxtex] control optional directx-headers dep
* v db
* IN LIST -> IN_LIST
* v db
* try fixing azure-storage-cpp
* v db
* update to 3.27.1
* [pango] set correct license id and use vcpkg_install_copyright()
According to the projects source files, it is licensed under
LGPL-2.0-or-later:
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
* Update version database
* Xbox triplets should not support ports with only copyleft licenses
* Reverted ports that build with xbox currently
* Fix conflict and rebase
* Update baseline
* Update baseline
* [poppler] explicitly control dependencies
* Fix feature glib
* version
* rename feature lcms2 to cms
* not all find_package calls are always reached
* copy pdbs
* format
* version
* [podofo] Change to github and update version to 0.10.0
* update version
* fix static export
* v db
* fix export name and add usage
* v db
* disable build libxml2 features
* format
* v db
* update asmjit, fbgemm, polyhook2, start asmtk
* fix error LNK2019 and update version
* update version
* version
* NEW SHA
* revert fbgemm
* format
* v db
* new function
* v db
* update fbgemm version to 0.4.1 to fix asmjit
* v db
---------
Co-authored-by: FrankXie <v-frankxie@microsoft.com>
* [portmidi] Search for Threads in the CMake config.
Without this, consuming the library in CMake would result in the
following error:
The link interface of target "PortMidi::portmidi" contains:
Threads::Threads
but the target was not found.
* [portmidi] Cleanup portfile.
- Copy pdbs
- Use vcpkg_install_copyright
- Use ${VERSION}
* [portmidi] Install a usage file.
* [portmidi] Bump port-version.
* [portmidi] Update baseline.
* [protobuf-v] fix build error for windows
* [protobuf-v] fix build error for windows
* fix build error
* update version
* delete protoc-c
* update version
* update version
* update version
* update version
* update version
* delete protoc-c
* update version
* [many ports]switch to vcpkg-cmake / vckg-cmake-config part 4
* version
* typo
* version
* typo
* version
* Remove PREFER_NINJA
* version
* deprecated vcpkg_extract_source_archive_ex
* version
* fix argument
* version
* More rename
* version
---------
Co-authored-by: jyu49 <yu_jack@apple.com>
* add optional poppler-qt interface
* update version database
* use vcpkg_check_features
* update version
* increase version
* Update version database
* add unofficial cmake for poppler/qt6
* update version database
* add missing reference
* update version db
* make qt dependency optional and check for qt
* update version db
* [ptc-print] Add the current usage
* version
* update usage and use usage
* version
* Use the officially exported usage
* update version
* miss the space
* version
* Switch stuff to Qt6
* give opencv4 the correct deps
* add Qt5Compat to find_dependency
* refine vtk deps and promote targets to global
* fix dep
* ci is probably faster than my desktop pc building.
* remove invalid patch part
* add qt6 patch
* second patch
* make openimageio ignore qt5
* [skip actions] qt6 part 3
* vtk qt6 patch
* try openimageio again
* move gl include
* fix patch
* does it work now?
* remove qualified name
* more qt6 fixes
* more patches
* update and fix rtabmap
* gles feature in qtbase needs to be disabled for vtk since vtk assumes desktop opengl
* remove patch add error if qtbase was build with gles2
* disable also second patch
* fix theia
* paraview consolidate patches
* fix case issue
* fix missing ,
* add more qt6 changes
* remove unnecessary patches
* bump port version
* remove comments from vtk
* add platform features for tools.
* fix format
* bump ports
* another one to bump
* v db
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>