home.social

#vcpkg — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #vcpkg, aggregated by home.social.

fetched live
  1. Hey everyone! It's been a little bit since our last post, so we'll detail what's happening here!

    Unfortunately, we don't have a whole lot to report, but we have been readying a new release of #libmad. The last thing we have will be for source packaging via CPack as we will now start providing our own source tarballs.

    Once we get libmad 0.16.5 released and in #vcpkg, we'll get going on #Tenacity 1.3.5, which will feature updated dependencies mainly. That also means we'll update our Flatpak too!

  2. One thing I don't like about CMake is that it stores so much state in the build directory and you have to nuke it all the time to be sure it's not picking up something old/wrong. Mainly an issue while you're trying to get a build going. As vcpkg also stores built stuff in the same directory you'll be staring at loooong builds just to try to get anything to build.

    #cmake #vcpkg #winduhs

  3. Котрий пакетний менеджер для C++ ви виберете, або вже вибрали?
    Якщо обираєте варіант "Інший", то напишіть, будь ласка, котрий.

    #cpp #conan #vcpkg
  4. Building your project and #vcpkg dependencies with your toolchain.

    sdowney.org/posts/building-vcp

    Because someone was wrong on the internet.

  5. #vcpkg
    No matter what any summary says, in order to build dependencies with a project toolchain file, you need a custom "triple" file that defines VCPKG_CHAINLOAD_TOOLCHAIN_FILE.

    In addition, there's a `vcpkg install` invocation between your cmake and vcpkg, so you need to communicate with the triple file via environment variable, e.g. $ENV{PROJECT_VCPKG_TOOLCHAIN}

    No idea what violence this does to vcpkg caching yet.

  6. @andrewnez #vcpkg relies on git. The version database is plain files with git-tree pointers into the history.

  7. Its amazing that in C++ its practically impossible to get a decent client. The minio-cpp requires and the sdk results in 22 GiB binary folder...

    There is a small header only library but it has 0 stars and fails compilation because uint8_t is undefined.

    What fun.

  8. I po raz kolejny, przypadkowy projekt używający CMake psuje zgodność z systemami, na których jego zależności nie zbudowano przy pomocy CMake (tylko używając Mesona). Bo po co używać pkg-configa, jak można używać plików config, generowanych przez CMake?

    github.com/Blosc/c-blosc2/issu

    EDIT: wygląda na to, że to zmiany pod #VcPkg. Zapewne przypadkowe, ale czy warto przepuścić okazję, by winić #Microsoft za zepsucie paczek dla Linuksów?

    github.com/Blosc/c-blosc2/pull

    #Fedora #Gentoo

  9. Once again, a #CMake project is breaking compatibility with systems that aren't building its dependencies via CMake (but are using Meson instead). Because why use pkg-config when you can use generated CMake configs instead?

    github.com/Blosc/c-blosc2/issu

    EDIT: looks like this was done to accommodate #VcPkg. Surely accidental, but why not bash #Microsoft for breaking Linux packages anyway?

    github.com/Blosc/c-blosc2/pull

    #Fedora #Gentoo #packaging

  10. Управление зависимостями на C++ с помощью vcpkg registry и сервера кеширования

    Здравствуйте, дорогие читатели Хабра! Я давно хотел поделиться своими знаниями о работе с реестрами под ключ, так как нигде нет четкой и последовательной информации по этой теме. Сегодня мы разберем, как управлять зависимостями через реестры vcpkg и как кэшировать их на сервере.

    habr.com/ru/articles/916620/

    #c++ #vcpkg #пакетный_менеджер #реестр_пакетов #vcpkg_registry #vcpkg_caching #nuget

  11. #vcpkg is supposed to be able to provide some level of automatic caching when running in a #github workflow. I had this working in the past, but lately it's been reporting that no packages are pulled from cache, which results in a half hour of wasted time spent rebuilding dependencies.

    Opened an issue on the relevant vcpkg documentation page, but now I'm thinking it may be that vcpkg itself is using a recently deprecated GitHub caching API: github.com/microsoft/vcpkg/iss

  12. I wish all vcpkg packages had proper pkgconfig outputs.

    #vcpkg

  13. HowTo: создание двоичного SDK(набора библиотек) для Windows с использованием vcpkg

    В этом HowTo мы рассмотрим подготовку пакетов vcpkg для использования в двоичном виде. В качестве "подопытных кроликов" будут выступать Qt6 , QCustomPlot и я. Spoiler: с QCustomPlot придется немного пострадать, но обычно все проще. TLDR: vcpkg export Далее

    habr.com/ru/articles/894284/

    #vcpkg #cmake #package_manager #qt #visual_studio

  14. I've been using vcpkg a little bit for side projects, and looking into using for work as well.

    We're using Skia and I'm getting pretty poor performance. I'm a bit worried that the vcpkg build uses msvc/cl (on Windows). No shade from me on msvc, but Skia has a bunch of clang-specific optimizations and doesn't run well when built with another compiler.

    vcpkg ports are a bit opaque to me though and I'm not sure how to verify this. Anyone got ideas?

    #vcpkg #cpp #SoftwareEngineering

  15. It took two months: 3 is finally also available through ! 🥳

    github.com/microsoft/vcpkg/pul

  16. Went to search for js runtimes on vcpkg and now I'm instead curious how many % of vcpkg's packages are json parsers.

    #cpp #vcpkg

  17. Heads up: if you are building off our latest main branch and use vcpkg, be sure to reinitialize the submodule because you may encounter an error. To do so, run the following commands from the root of the source tree:

    $ git submodule deinit -f vcpkg
    $ git submodule update --init vcpkg

  18. @GerryT
    I had a quick look: The dependencies have never been packages properly so this is not a quick fix. Is there any tooling for #vcpkg in #flatpak packaging? Maybe someone with experience in #vcpkg can give an estimation of how hard or easy that might be, it didn't look like too many dependencies to me, but I really don't know this ecosystem.

  19. Trying to figure out of we could use vcpkg for all our dependencies.

    One thing I don't quite understand what the best practice for is, is doing small customizations of a port. For example, if I were to use boost from vcpkg I need it to be built with BOOST_DISABLE_EXPLICIT_SYMBOL_VISIBILITY and it doesn't seem like it is by default. How would I easiest make a local adjustment for a thing like that?

    #cpp #vcpkg

  20. Been trying vcpkg for a little bit and while I'm bit confused on the details and some best practices it seems to mostly do the job.

    I wish all packages (sorry, ports) had some more generic metadata output like pkgconfig though for those of us not using cmake. Many do, but not all.

    #vcpkg #cpp

  21. Cons being an alpha-tester: you are always the first 'lucky' guy to catch a fresh error: github.com/microsoft/vcpkg/iss
    Pros: at least this doesn't hit you when you are trying to do the release.