Coder Social home page Coder Social logo

Comments (10)

Neumann-A avatar Neumann-A commented on June 20, 2024 1

vcpkg remove boost-uninstall --recurse would be enough for the triplets you want to upgrade

from vcpkg.

SKNo avatar SKNo commented on June 20, 2024

Also vcpkg upgrade/install boost:x64-windows, only upgrades/installs a small subset of boost libraries and
sub-libraries from boost-accumulators to boost-yap are not automatically upgraded / installed.
Should I upgrade/install one sub-library at time? Just try to figure it out.
Thank you

from vcpkg.

Neumann-A avatar Neumann-A commented on June 20, 2024

same issue as #38487

Please do not mix installed trees of different commits of vcpkg.

from vcpkg.

SKNo avatar SKNo commented on June 20, 2024

I did not mix installed trees of different commits
I use both shared and static libraries in my projects, I deleted buildtrees and tried to rebuild shared and static from scratch as suggeted.
vcpkg install boost:x64-windows worked but didn't install most of boost libraries,
vcpkg install boost:x64-windows-static failed as mentioned above
Thank you

from vcpkg.

Neumann-A avatar Neumann-A commented on June 20, 2024

The problem is that this works fine:

Installing 55/55 boost-cobalt:[email protected]#1...
Building boost-cobalt:[email protected]#1...
-- Downloading https://github.com/boostorg/cobalt/archive/boost-1.84.0.tar.gz -> boostorg-cobalt-boost-1.84.0.tar.gz...
-- Extracting source E:/vcpkg_cache/downloads/boostorg-cobalt-boost-1.84.0.tar.gz
-- Using source at E:/vcpkg_folders/various/buildtrees/boost-cobalt/src/ost-1.84.0-f1b8232bac.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows-static
-- Building x64-windows-static-dbg
-- Building x64-windows-static-rel
-- Installing: E:/vcpkg_folders/various/packages/boost-cobalt_x64-windows-static/share/boost-cobalt/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 1.1 s.
Elapsed time to handle boost-cobalt:x64-windows-static: 6.7 s
boost-cobalt:x64-windows-static package ABI: 01054a8a6ffa3b8edf490aae2e73d650f2d4bba5dd694b89eecb6998a1a55ed6
Total install time: 1 min
The package boost-cobalt is compatible with built-in CMake targets of FindBoost.cmake:

    find_package(Boost REQUIRED COMPONENTS cobalt)
    target_link_libraries(main PRIVATE Boost::cobalt)

or the generated cmake configs via:

    find_package(boost_cobalt REQUIRED CONFIG)
    target_link_libraries(main PRIVATE Boost::cobalt)

If I locally test it with a clean checkout

from vcpkg.

SKNo avatar SKNo commented on June 20, 2024

Okay, I will delete all boost buildtrees and try again.

from vcpkg.

SKNo avatar SKNo commented on June 20, 2024

vcpkg remove boost-uninstall --recurse would be enough for the triplets you want to upgrade
Not working .. will do with a new clean checkout

from vcpkg.

Neumann-A avatar Neumann-A commented on June 20, 2024

When was the last time you re-bootstrapped vcpkg itself? Normally you should do that after a git pull. IF vcpkg remove boost-uninstall --recurse does not work to remove all of boost for a given triplet you either haven't bootstrapped vcpkg again or your installed tree is messed up.

from vcpkg.

SKNo avatar SKNo commented on June 20, 2024

I do re-bootstrap after each git pull. I guess my buildtree is messed up. I will do a new and clean checkout (will take lot of time to rebuild everything). I will confirm here if everything is Ok (permitting to close or keep issues open)
Thank you

from vcpkg.

SKNo avatar SKNo commented on June 20, 2024

@Neumann-A
I confirm that after a clean and new checkout, all builds worked out correctly (I compile on a laptop, so took a long time)
I have no idea what happend to my buildtrees (I have not done anything out of ordinary), so I leave it to you to keep this issue and the other one (#38487) open or close.
While I am here, I have a question wrt to the new ports, I see most (all?) of requests for new ports are going inactive (including mine #35648 ) What is the new policy for the new ports?
Thank you

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.