Coder Social home page Coder Social logo

Comments (3)

MonicaLiu0311 avatar MonicaLiu0311 commented on September 27, 2024

I cannot reproduce your issue in the latest vcpkg.

Installing 89/89 vtk[core,opengl,qt]:[email protected]#2...
Building vtk[core,opengl,qt]:[email protected]#2...
/mnt/vcpkg/triplets/community/x64-linux-release.cmake: info: loaded community triplet from here. Community triplets are not built in the curated registry and are thus less likely to succeed.
CMake Warning at ports/vtk/portfile.cmake:3 (message):
  You will need to install Xorg dependencies to build vtk:

  apt-get install libxt-dev

Call Stack (most recent call first):
  scripts/ports.cmake:175 (include)


-- Downloading https://github.com/Kitware/VTK/archive/407d4b541111686c40fa53935e7d22c70d5a3f7c.tar.gz -> Kitware-VTK-407d4b541111686c40fa53935e7d22c70d5a3f7c.tar.gz...
-- Extracting source /mnt/vcpkg/downloads/Kitware-VTK-407d4b541111686c40fa53935e7d22c70d5a3f7c.tar.gz
-- Applying patch FindLZMA.patch
-- Applying patch FindLZ4.patch
-- Applying patch libproj.patch
-- Applying patch pegtl.patch
-- Applying patch pythonwrapper.patch
-- Applying patch NoUndefDebug.patch
-- Applying patch fix-using-hdf5.patch
-- Applying patch FindExpat.patch
-- Applying patch cgns.patch
-- Applying patch vtkm.patch
-- Applying patch afxdll.patch
-- Applying patch vtkioss.patch
-- Applying patch jsoncpp.patch
-- Applying patch iotr.patch
-- Applying patch fast-float.patch
-- Applying patch fix-exprtk.patch
-- Applying patch devendor_exodusII.patch
-- Applying patch ot-dep.patch
-- Applying patch remove-prefix-changes.patch
-- Applying patch 10945.diff
-- Applying patch 10972.diff
-- Using source at /mnt/vcpkg/buildtrees/vtk/src/c70d5a3f7c-220683d54d.clean
-- Configuring x64-linux-release
CMake Warning at installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:318 (message):
  The following variables are not used in CMakeLists.txt:

      VTK_MODULE_ENABLE_VTK_vtkm

  Please recheck them and remove the unnecessary options from the
  `vcpkg_cmake_configure` call.

  If these options should still be passed for whatever reason, please use the
  `MAYBE_UNUSED_VARIABLES` argument.
Call Stack (most recent call first):
  ports/vtk/portfile.cmake:225 (vcpkg_cmake_configure)
  scripts/ports.cmake:175 (include)


-- Building x64-linux-release-rel
-- Installing: /mnt/vcpkg/packages/vtk_x64-linux-release/tools/vtk/vtkWrapPythonInit-9.3
-- Installing: /mnt/vcpkg/packages/vtk_x64-linux-release/tools/vtk/vtkWrapPython-9.3
-- Installing: /mnt/vcpkg/packages/vtk_x64-linux-release/tools/vtk/vtkWrapJava-9.3
-- Installing: /mnt/vcpkg/packages/vtk_x64-linux-release/tools/vtk/vtkWrapHierarchy-9.3
-- Installing: /mnt/vcpkg/packages/vtk_x64-linux-release/tools/vtk/vtkParseJava-9.3
-- Installing: /mnt/vcpkg/packages/vtk_x64-linux-release/tools/vtk/vtkProbeOpenGLVersion-9.3
-- Installing: /mnt/vcpkg/packages/vtk_x64-linux-release/share/vtk/copyright
-- Adjusted RPATH of '/mnt/vcpkg/packages/vtk_x64-linux-release/tools/vtk/vtkParseJava-9.3' (From '$ORIGIN/../lib' -> To '$ORIGIN:$ORIGIN/../../lib:$ORIGIN/../lib')
-- Adjusted RPATH of '/mnt/vcpkg/packages/vtk_x64-linux-release/tools/vtk/vtkProbeOpenGLVersion-9.3' (From '$ORIGIN/../lib' -> To '$ORIGIN:$ORIGIN/../../lib:$ORIGIN/../lib')
-- Adjusted RPATH of '/mnt/vcpkg/packages/vtk_x64-linux-release/tools/vtk/vtkWrapHierarchy-9.3' (From '$ORIGIN/../lib' -> To '$ORIGIN:$ORIGIN/../../lib:$ORIGIN/../lib')
-- Adjusted RPATH of '/mnt/vcpkg/packages/vtk_x64-linux-release/tools/vtk/vtkWrapJava-9.3' (From '$ORIGIN/../lib' -> To '$ORIGIN:$ORIGIN/../../lib:$ORIGIN/../lib')
-- Adjusted RPATH of '/mnt/vcpkg/packages/vtk_x64-linux-release/tools/vtk/vtkWrapPython-9.3' (From '$ORIGIN/../lib' -> To '$ORIGIN:$ORIGIN/../../lib:$ORIGIN/../lib')
-- Adjusted RPATH of '/mnt/vcpkg/packages/vtk_x64-linux-release/tools/vtk/vtkWrapPythonInit-9.3' (From '$ORIGIN/../lib' -> To '$ORIGIN:$ORIGIN/../../lib:$ORIGIN/../lib')
-- Performing post-build validation
Failed to store binary cache /home/monica/.cache/vcpkg/archives/03/03c365f4cab079b4014304e829afee48ee57240453f772b307c16354888283a3.zip
No such file or directory
Stored binaries in 0 destinations in 13 s.
Elapsed time to handle vtk:x64-linux-release: 11 min
vtk:x64-linux-release package ABI: 03c365f4cab079b4014304e829afee48ee57240453f772b307c16354888283a3
Total install time: 1.6 h
The package vtk provides CMake targets:

    find_package(VTK REQUIRED)
    include("${VTK_USE_FILE}")
    target_link_libraries(main PRIVATE ${VTK_LIBRARIES})

from vcpkg.

MonicaLiu0311 avatar MonicaLiu0311 commented on September 27, 2024
  "overrides": [
    {
      "name": "hdf5",
      "version": "1.8.23"
    },

When I used the manifest to reproduce, I found that there was no hdf5:1.8.23 in vcpkg. This should be a version you customized?

monica@monica003:/mnt/vcpkg$ ./vcpkg install
error: no version database entry for hdf5 at 1.8.23.
Available versions:
  1.14.2
  1.14.0#1
  1.14.0
  1.12.2#6
  1.12.2#5
  1.12.2#4
  1.12.2#3
  1.12.2#2
  1.12.2#1
  1.12.2
  1.12.1#5
  1.12.1#4
  1.12.1#3
  1.12.1#1
  1.12.1
  1.12.0#4
  1.12.0#3
  1.12.0#2
  1.12.0#1
  1.12.0
  1.10.5-12
  1.10.5-10
  1.10.5-9
  1.10.5-8
  1.10.5-7
  1.10.5-6
  1.10.5-5
  1.10.5-4
  1.10.5-3
  1.10.5-1
  1.10.1-1
  1.10.1
  1.10.0-patch1-2
  1.10.0-patch1-1
  1.10.0-patch1
  1.8.18
See `vcpkg help versioning` or https://learn.microsoft.com/vcpkg/users/versioning for more information.
note: updating vcpkg by rerunning bootstrap-vcpkg may resolve this failure.

from vcpkg.

bansan85 avatar bansan85 commented on September 27, 2024

@MonicaLiu0311 Yes, v1.8.23 is a customized version. v1.8.18 doesn't build anymore when I tried few month ago.

I sent a MR to Kitware about this problem. It should be merge.

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.