vcpkg/ports/pcl/vcpkg.json

176 lines
3.5 KiB
JSON
Raw Normal View History

{
"name": "pcl",
"version": "1.14.0",
"port-version": 3,
"description": "Point Cloud Library (PCL) is open source library for 2D/3D image and point cloud processing.",
"homepage": "https://github.com/PointCloudLibrary/pcl",
"license": "BSD-3-Clause",
"dependencies": [
"boost-asio",
"boost-date-time",
"boost-dynamic-bitset",
"boost-filesystem",
"boost-foreach",
"boost-graph",
"boost-interprocess",
"boost-iostreams",
"boost-multi-array",
"boost-property-map",
"boost-ptr-container",
"boost-random",
"boost-signals2",
"boost-sort",
"boost-system",
"boost-thread",
"boost-uuid",
"eigen3",
"flann",
"libpng",
"qhull",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"features": {
"apps": {
"description": "Build application examples/samples that show how PCL works",
"dependencies": [
{
"name": "pcl",
"default-features": false,
"features": [
"opengl",
"openni2",
"qt",
"vtk"
]
}
]
},
"cuda": {
"description": "CUDA support for PCL",
"supports": "x64",
"dependencies": [
[pcl[cuda]] Fix build failure (#37041) 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>
2024-03-05 17:59:23 +08:00
"cuda",
"vtk"
]
},
"examples": {
"description": "Build PCL examples",
"dependencies": [
2024-02-03 03:40:52 +08:00
"boost-format",
2023-03-20 14:15:34 +08:00
{
"name": "pcl",
"features": [
"visualization"
]
}
]
},
"libusb": {
"description": "Build USB RGBD-Camera drivers",
"dependencies": [
"libusb"
]
},
"opengl": {
"description": "OpenGL support for PCL",
"dependencies": [
"opengl"
]
},
"openni2": {
"description": "OpenNI2 support for PCL",
"dependencies": [
"openni2",
{
"name": "pcl",
"default-features": false,
"features": [
"libusb"
],
"platform": "!windows"
}
]
},
"pcap": {
"description": "PCAP support for PCL",
"dependencies": [
{
"name": "libpcap",
"platform": "!windows"
},
{
"name": "winpcap",
"platform": "windows"
}
]
},
"qt": {
"description": "Qt support for PCL",
"dependencies": [
{
"name": "vtk",
"features": [
"qt"
]
}
]
},
"simulation": {
"description": "Build Point Cloud Library Simulation",
"dependencies": [
"glew",
{
"name": "pcl",
"default-features": false,
"features": [
"opengl"
]
}
]
},
"surface-on-nurbs": {
"description": "Fitting NURBS to point clouds",
"dependencies": [
"zlib"
]
},
"tools": {
"description": "Build PCL utilities",
"supports": "!static",
"dependencies": [
"boost-accumulators"
]
},
"visualization": {
"description": "Build visualization",
"dependencies": [
{
"name": "vtk",
"features": [
"opengl"
]
}
]
},
"vtk": {
"description": "An alias for visualization",
"dependencies": [
{
"name": "pcl",
"default-features": false,
"features": [
"visualization"
]
}
]
}
}
}