# New VCPKG Usage Incompatible with Some Builds

**URL:** <https://openziti.discourse.group/t/new-vcpkg-usage-incompatible-with-some-builds/1291>\
**Category:** Building/Development\
**Created:** [May 31, 2023, 3:11pm UTC](https://openziti.discourse.group/t/new-vcpkg-usage-incompatible-with-some-builds/1291 "2023-05-31T15:11:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NicFragale](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/nicfragale/32/42_2.png) [@NicFragale](https://openziti.discourse.group/u/NicFragale)\
**Post date:** [May 31, 2023, 3:11pm UTC](https://openziti.discourse.group/t/new-vcpkg-usage-incompatible-with-some-builds/1291/1 "2023-05-31T15:11:44Z")

</div>

I have been building OpenZITI (Tunnel C-SDK) for OpenWRT for quite some time. The recent updates to the building process seems to have changed to use Microsoft's VCPKG manager. I have scoured without success on how to migrate the process I utilized for building on platforms such as MIPS/IPQ. It seems that Microsoft has not implemented (yet) the ability to cross build from my Ubuntu/x86 for these. There is no preset that can be used or created for it. I was able to deconstruct the cmake process and achieve most steps (llhttp, mbedtls) without VCPKG, but I was halted on usage of LibSodium as there are now direct references in the build's cmake files to use an alias "unofficial-libsodium.cmake". I am now stuck without a path to update OpenZITI for OpenWRT. Is there an alternative path for building on systems that VCPKG itself doesn't support?

> [@Ziti-tunnel-sdk-c cmake build process doesn't pull in tertiary dependencies](https://openziti.discourse.group/t/ziti-tunnel-sdk-c-cmake-build-process-doesnt-pull-in-tertiary-dependencies/1239):
>
> Previously (February 2023), the ziti-tunnel-sdk-c build would automatically fetch and compile dependencies. Attempting a cross-compile build today (May 5th), the process fails, reporting: using Unix Makefiles cross-compiling FALSE Project: tlsuv@v0.23.1 CMake Error at build-amd64/\_deps/tlsuv-src/CMakeLists.txt:75 (find\_package): Could not find a package configuration file provided by “llhttp” with any of the following names: llhttpConfig.cmake llhttp-config.cmake Add the installation pr…
