Giter Club home page Giter Club logo

Comments (4)

MonicaLiu0311 avatar MonicaLiu0311 commented on June 9, 2024

Sorry I can't repro your issue with MSVC 19.39.33523.

Similar issue: #36103.
Has been fixed: #36143.

Please try again with the latest builtin-baseline:

PS G:\vcpkg> git rev-parse HEAD
ad3bae57455a3c3ce528fcd47d8e8027d0498add

from vcpkg.

SuperAoao avatar SuperAoao commented on June 9, 2024

I have changed my vcpkg version to ad3bae5, deleted .vs and out folders, still encountered this problem. Here is some more information. Could you please help me sort out the issue? Thanks a lot!
VS_cmake_output.txt
CMakeLists.txt
CMakePresets.json
vcpkg.json
vcpkg-configuration.json
vcpkg-manifest-install.log
install-x64-windows-dbg-out.log

from vcpkg.

MonicaLiu0311 avatar MonicaLiu0311 commented on June 9, 2024

The baseline information in vcpkg.json you provided is as follows, it is a version from last year:

PS G:\vcpkg> git log 000d1bda1ffa95a73e0b40334fa4103d6f4d3d48
commit 000d1bda1ffa95a73e0b40334fa4103d6f4d3d48
Author: moritz-h <[email protected]>
Date:   Sat Dec 9 02:10:03 2023 +0100

    [glslang] update to 13.1.1, opt feature [shaderc] update to 2023.7 (#35219)

I didn't reproduce your issue after using the new baseline:

PS G:\vcpkg> ./vcpkg install
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
The following packages will be built and installed:

    osg[core,default-features,fontconfig,freetype,nvtt,openexr,plugins]:[email protected]#23 -- C:\Users\monica\AppData\Local\vcpkg\registries\git-trees\63d5d70476050457412d48f466d6215430c8ba64

...

Installing 72/72 osg[core,default-features,fontconfig,freetype,nvtt,openexr,plugins]:[email protected]#23...
Building osg[core,default-features,fontconfig,freetype,nvtt,openexr,plugins]:[email protected]#23...
C:\Users\monica\AppData\Local\vcpkg\registries\git-trees\63d5d70476050457412d48f466d6215430c8ba64: info: installing overlay port from here
-- Using cached openscenegraph-OpenSceneGraph-OpenSceneGraph-3.6.5.tar.gz.
-- Cleaning sources at G:/vcpkg/buildtrees/osg/src/raph-3.6.5-c3f8c61ada.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source G:/vcpkg/downloads/openscenegraph-OpenSceneGraph-OpenSceneGraph-3.6.5.tar.gz
-- Applying patch link-libraries.patch
-- Applying patch collada.patch
-- Applying patch fix-sdl.patch
-- Applying patch fix-nvtt-squish.patch
-- Applying patch plugin-pdb-install.patch
-- Applying patch osgdb_zip_nozip.patch
-- Applying patch openexr3.patch
-- Applying patch unofficial-export.patch
-- Using source at G:/vcpkg/buildtrees/osg/src/raph-3.6.5-c3f8c61ada.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
CMake Warning at vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:318 (message):
  The following variables are not used in CMakeLists.txt:

      CMAKE_DISABLE_FIND_PACKAGE_Boost
      CMAKE_REQUIRE_FIND_PACKAGE_Boost

  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):
  C:/Users/monica/AppData/Local/vcpkg/registries/git-trees/63d5d70476050457412d48f466d6215430c8ba64/portfile.cmake:92 (vcpkg_cmake_configure)
  scripts/ports.cmake:175 (include)

-- Building x64-windows-dbg
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph-osg.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph-osgAnimation.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph-osgDB.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph-osgFX.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph-osgGA.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph-osgManipulator.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph-osgParticle.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph-osgShadow.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph-osgSim.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph-osgTerrain.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph-osgText.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph-osgUtil.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph-osgViewer.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph-osgVolume.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph-osgWidget.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openscenegraph.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/lib/pkgconfig/openthreads.pc
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.4.10-4-x86_64.pkg.tar.zst.
-- Using msys root at G:/vcpkg/downloads/tools/msys2/d33df895d441a36d
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph-osg.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph-osgAnimation.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph-osgDB.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph-osgFX.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph-osgGA.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph-osgManipulator.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph-osgParticle.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph-osgShadow.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph-osgSim.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph-osgTerrain.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph-osgText.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph-osgUtil.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph-osgViewer.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph-osgVolume.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph-osgWidget.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openscenegraph.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/osg_x64-windows/debug/lib/pkgconfig/openthreads.pc
-- Installing: G:/vcpkg/packages/osg_x64-windows/share/osg/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 44 s.
Elapsed time to handle osg:x64-windows: 33 min
osg:x64-windows package ABI: a90b3cfd971fbf61f2932b9c67a45d52a66f940493ee8aa348db7e336a32e3d7
Total install time: 1.6 h
The package osg can be configured to use different OpenGL profiles via a custom triplet file.
Possible values are GLCORE, GL2, GL3, GLES1, GLES2, GLES3 and GLES2+GLES3.
The default value is GL2. If you want use other profiles, please add the following
code to a custom triplet file.
set(osg_OPENGL_PROFILE GL3)
vcpkg-configuration.json
{
  "default-registry": {
    "kind": "git",
    "baseline": "ad3bae57455a3c3ce528fcd47d8e8027d0498add",
    "repository": "https://github.com/microsoft/vcpkg"
  },
  "registries": [
    {
      "kind": "artifact",
      "location": "https://github.com/microsoft/vcpkg-ce-catalog/archive/refs/heads/main.zip",
      "name": "microsoft"
    }
  ]
}
PS G:\vcpkg> git log ad3bae57455a3c3ce528fcd47d8e8027d0498add
commit ad3bae57455a3c3ce528fcd47d8e8027d0498add (HEAD -> master, origin/master, origin/HEAD)
Author: Kai Pastor <[email protected]>
Date:   Fri Apr 12 16:59:34 2024 +0200

    [freeimage] Don't depend on default features (#38047)

    Fixes #38013:

    > Make lzma an optional dependency. Seems to be pulled in via tiff at
    least.

from vcpkg.

SuperAoao avatar SuperAoao commented on June 9, 2024

I manually changed the 'baseline' from '000d1bda1ffa95a73e0b40334fa4103d6f4d3d48' to 'ad3bae57455a3c3ce528fcd47d8e8027d0498add', and it worked! I simply utilized the 'vcpkg new application' command to generate the vcpkg-configuration.json file and I am unsure why it reverted to an older version of the vcpkg baseline. Nonetheless, I sincerely appreciate your assistance! I have also followed you on GitHub.

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.