Coder Social home page Coder Social logo

[PCL] install failure about vcpkg HOT 11 CLOSED

Bzz2745 avatar Bzz2745 commented on June 29, 2024
[PCL] install failure

from vcpkg.

Comments (11)

QiuYilin avatar QiuYilin commented on June 29, 2024 1

So, when will vcpkg update pcl now that pcl has updated?

from vcpkg.

QiuYilin avatar QiuYilin commented on June 29, 2024

I also encountered this problem when I turn on cuda option.

from vcpkg.

dg0yt avatar dg0yt commented on June 29, 2024

Would be good to see the config logs.

from vcpkg.

dg0yt avatar dg0yt commented on June 29, 2024

Would be good to see the config logs.

Nevermind. Port vtk simply doesn't provide a vtk.pc file.

from vcpkg.

WangWeiLin-MV avatar WangWeiLin-MV commented on June 29, 2024

@dg0yt The script find_package(VTK) will use the vtk-config.cmake.

In my local build, the feature tools not enabled, since the post check failed due to the DLL that the tools depended on were not cleaned, but this does not affect this result.

Local install passed by the command vcpkg install pcl[apps,core,cuda,opengl,openni2,qt,simulation,visualization,vtk].

@Bzz2745 @QiuYilin Could you help provide the build logs?

Build Env

  • VS 17.9.4
  • Windows 11 23H2
  • CUDA 11.8

from vcpkg.

dg0yt avatar dg0yt commented on June 29, 2024

@dg0yt The script find_package(VTK) will use the vtk-config.cmake.

@WangWeiLin-MV True, but unrelated to the problem. The CMake build is reported as successful:

-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel

The problem is clearly raised in a following portfile step, due to an invalid pc file created by pcl.

- Using msys root at C:/vcpkg/downloads/tools/msys2/fdbea3694fb5c0d4
CMake Error at scripts/cmake/vcpkg_fixup_pkgconfig.cmake:134 (message):
C:/vcpkg/downloads/tools/msys2/fdbea3694fb5c0d4/mingw64/bin/pkg-config.exe
--exists pcl_gpu_kinfu_large_scale failed with error code: 1

  ENV{PKG_CONFIG_PATH}: "C:/vcpkg/packages/pcl_x64-windows/lib/pkgconfig;C:/vcpkg/packages/pcl_x64-windows/share/pkgconfig;C:/vcpkg/installed/x64-windows/lib/pkgconfig;C:/vcpkg/installed/x64-windows/share/pkgconfig"
  output: Package vtk was not found in the pkg-config search path.

Perhaps you should add the directory containing `vtk.pc'
to the PKG_CONFIG_PATH environment variable

Package 'vtk', required by 'pcl_gpu_kinfu_large_scale', not found
Call Stack (most recent call first):
scripts/cmake/vcpkg_fixup_pkgconfig.cmake:196 (z_vcpkg_fixup_pkgconfig_check_files)
ports/pcl/portfile.cmake:104 (vcpkg_fixup_pkgconfig)

My PR removes the pc file. The pc files are incomplete anyways.
Upstream has PointCloudLibrary/pcl#5986 which removes the vtk dependency.

from vcpkg.

AIkikaze avatar AIkikaze commented on June 29, 2024

I'm facing the same problem again. Hope that vcpkg could update the port of pcl.

from vcpkg.

dg0yt avatar dg0yt commented on June 29, 2024

The port bug was fixed last month. If you still see the problem, make a proper new report, with all version information. You did update your vcpkg, didn't you?

from vcpkg.

QiuYilin avatar QiuYilin commented on June 29, 2024

I see, I can use option "--head" .

from vcpkg.

AIkikaze avatar AIkikaze commented on June 29, 2024

The port bug was fixed last month. If you still see the prob. em, make a proper new report, with all version information. You did update your vcpkg, didn't you?

I did, but it didn't work, and I fix this by manually modifying gpu/kinfu_large_scale/CMakeLists.txt as your PR. I will make a proper new report soon.

from vcpkg.

dg0yt avatar dg0yt commented on June 29, 2024

On a second look, it is visible why the fix in the port doesn't work. With a proper report, I would have looked at this already...

from vcpkg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.