<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to vcpkg notes</title><link>https://sourceforge.net/p/aprapipes/wiki/vcpkg%2520notes/</link><description>Recent changes to vcpkg notes</description><atom:link href="https://sourceforge.net/p/aprapipes/wiki/vcpkg%20notes/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 12 May 2026 05:47:50 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/aprapipes/wiki/vcpkg%20notes/feed" rel="self" type="application/rss+xml"/><item><title>vcpkg notes modified by Aslam Hirani</title><link>https://sourceforge.net/p/aprapipes/wiki/vcpkg%2520notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -1,4 +1,5 @@
-#VCPKG Basics
+# VCPKG Basics
+
  The About vcpkg and its sub sections in reference-1 provide a good introduction to understand vcpkg port structure, versions, and triplets.

 # Upgrade vcpkg port to use thirdparty library. [The library exists in vcpkg package directory]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aslam Hirani</dc:creator><pubDate>Tue, 12 May 2026 05:47:50 -0000</pubDate><guid>https://sourceforge.net8d1def1b4370a3c069b36b1ebd8d0457ec125a5e</guid></item><item><title>vcpkg notes modified by Aslam Hirani</title><link>https://sourceforge.net/p/aprapipes/wiki/vcpkg%2520notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -1,5 +1,5 @@
 #VCPKG Basics

- The About vcpkg and its sub sections in reference 2 provide a good introduction to understand vcpkg port structure, versions, and triplets.
+ The About vcpkg and its sub sections in reference-1 provide a good introduction to understand vcpkg port structure, versions, and triplets.

 # Upgrade vcpkg port to use thirdparty library. [The library exists in vcpkg package directory]

 1. Open vcpkg/ports/&amp;lt;package_name&amp;gt;/
&amp;lt;/package_name&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aslam Hirani</dc:creator><pubDate>Tue, 12 May 2026 05:47:50 -0000</pubDate><guid>https://sourceforge.net49bec2e969e9b8ca28caf7868783a07bd3bb208c</guid></item><item><title>vcpkg notes modified by Aslam Hirani</title><link>https://sourceforge.net/p/aprapipes/wiki/vcpkg%2520notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -1,3 +1,6 @@
+#VCPKG Basics

+ The About vcpkg and its sub sections in reference 2 provide a good introduction to understand vcpkg port structure, versions, and triplets.
+
 # Upgrade vcpkg port to use thirdparty library. [The library exists in vcpkg package directory]
 1. Open vcpkg/ports/&amp;lt;package_name&amp;gt;/
    * . update the vcpkg_from_github() function in portfile.cmake file 
@@ -15,12 +18,11 @@
 8. Also delete buildtrees, downloads, packages and installed folders in ApraPipes/vcpkg/ .
 9. If Above point 8 does not work try to delete archives in C:\Users\developer\AppData\Local\vcpkg\

-References: https://devblogs.microsoft.com/cppblog/registries-bring-your-own-libraries-to-vcpkg/

 # Upgrade vcpkg port to use novel thirdparty library. [The library does not exist in vcpkg package directory]
-1. If the library is not a package in vcpkg directory then follow these steps. You need to write the portfile and json file.
+1. If the novel library is not a package in vcpkg directory then follow these steps. You need to write the portfile and json file.

 2. Lookup the general format of portfile in the reference given and write one for the library.Add a vcpkg.json file.
-3. Fork the library repository in ApraLabs and create a branch (forApraPipes) and point the portfile to it. This is to keep main synced with original repo and also facilitates dependency issues.
+3. Fork the novel library repository in ApraLabs and create a branch (forApraPipes) and point the portfile to it. This is to keep main in sync with original repo and also facilitates dependency issues.
 4. Then follow the same steps as for a library in vcpkg directory. (above section)

 # Dependency Notes
@@ -28,9 +30,10 @@

 2. Once both the libraries are added its possible some errors may come up while building the second library eg - dependee library not found.
 3. If the library is built using cmake check the cmakelist to see which line tries to find the dependee library eg - find_package().
 4. In vcpkg, find_package() mostly won't be able to find the library using default paths since the installed library and headers are moved to build/vcpkg_installed folder from vcpkg/vcpkg_installed in vcpkg. If this is the case then you may have to point the right path.
-5. If the depender is dependent on many libraries and requires many changes in cmakelist but you dont want to change the cmakelist then a better way is to use a vcpkg-cmake-wrapper which replaces the find_package() functionality and helps it find the library.  
+5. Sidenote - If the depender is dependent on many libraries and requires many changes in cmakelist but you dont want to change the cmakelist then a better way is to use a vcpkg-cmake-wrapper which replaces the find_package() functionality and helps it find the library.  
 6. You can also add the path to library and header files in the cmakelist with relative path (use vcpkg_installed_dir to find them) and have the modified cmakelist in forAprapipes branch in the fork. This will prevent adding hardcoded paths to library files.
 7. Do not try to point the path to anywhere in vcpkg directory in aprapipes. 

-Reference :
-https://decovar.dev/blog/2022/10/30/cpp-dependencies-with-vcpkg
+References :
+1. https://decovar.dev/blog/2022/10/30/cpp-dependencies-with-vcpkg
+2. https://devblogs.microsoft.com/cppblog/registries-bring-your-own-libraries-to-vcpkg/
&amp;lt;/package_name&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aslam Hirani</dc:creator><pubDate>Tue, 12 May 2026 05:47:50 -0000</pubDate><guid>https://sourceforge.net3b724a73c42139e7784f2fcfff1c616439dc8564</guid></item><item><title>vcpkg notes modified by Aslam Hirani</title><link>https://sourceforge.net/p/aprapipes/wiki/vcpkg%2520notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -33,4 +33,4 @@

 7. Do not try to point the path to anywhere in vcpkg directory in aprapipes. 

 Reference :
-https://decovar.dev/blog/2022/10/30/cpp-dependencies-with-vcpkg/#cmake-wrapper
+https://decovar.dev/blog/2022/10/30/cpp-dependencies-with-vcpkg
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aslam Hirani</dc:creator><pubDate>Tue, 12 May 2026 05:47:50 -0000</pubDate><guid>https://sourceforge.net2591caeb861cd926bdb7a354c7313aeb22417de3</guid></item><item><title>vcpkg notes modified by Aslam Hirani</title><link>https://sourceforge.net/p/aprapipes/wiki/vcpkg%2520notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -18,8 +18,8 @@
 References: https://devblogs.microsoft.com/cppblog/registries-bring-your-own-libraries-to-vcpkg/

 # Upgrade vcpkg port to use novel thirdparty library. [The library does not exist in vcpkg package directory]
-1. If the library is not a package in vcpkg directory then follow these steps. You need to write the portfile and json files for this.
-2. Lookup the general format of portfile in the reference given and write one for the library. Similarly also add a vcpkg.json file.
+1. If the library is not a package in vcpkg directory then follow these steps. You need to write the portfile and json file.
+2. Lookup the general format of portfile in the reference given and write one for the library.Add a vcpkg.json file.

 3. Fork the library repository in ApraLabs and create a branch (forApraPipes) and point the portfile to it. This is to keep main synced with original repo and also facilitates dependency issues.
 4. Then follow the same steps as for a library in vcpkg directory. (above section)

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aslam Hirani</dc:creator><pubDate>Tue, 12 May 2026 05:47:50 -0000</pubDate><guid>https://sourceforge.netb2747a244519b60973b73b3c6f2a6a314c5f3348</guid></item><item><title>vcpkg notes modified by Aslam Hirani</title><link>https://sourceforge.net/p/aprapipes/wiki/vcpkg%2520notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,4 +1,4 @@
-# Upgrade vcpkg port to use thirdparty library.
+# Upgrade vcpkg port to use thirdparty library. [The library exists in vcpkg package directory]

 1. Open vcpkg/ports/&amp;lt;package_name&amp;gt;/
    * . update the vcpkg_from_github() function in portfile.cmake file 
       1. Update the REPO Name with the target repo (ex: Apra-Labs/openh264)
@@ -17,5 +17,20 @@

 References: https://devblogs.microsoft.com/cppblog/registries-bring-your-own-libraries-to-vcpkg/


-      
-&amp;gt; 
+# Upgrade vcpkg port to use novel thirdparty library. [The library does not exist in vcpkg package directory]
+1. If the library is not a package in vcpkg directory then follow these steps. You need to write the portfile and json files for this.
+2. Lookup the general format of portfile in the reference given and write one for the library. Similarly also add a vcpkg.json file.
+3. Fork the library repository in ApraLabs and create a branch (forApraPipes) and point the portfile to it. This is to keep main synced with original repo and also facilitates dependency issues.
+4. Then follow the same steps as for a library in vcpkg directory. (above section)
+
+# Dependency Notes
+1. If the library you're adding has dependency on a different library i.e depender. If the dependee library is not already a vcpkg port then it must be added by following the above steps.
+2. Once both the libraries are added its possible some errors may come up while building the second library eg - dependee library not found.
+3. If the library is built using cmake check the cmakelist to see which line tries to find the dependee library eg - find_package().
+4. In vcpkg, find_package() mostly won't be able to find the library using default paths since the installed library and headers are moved to build/vcpkg_installed folder from vcpkg/vcpkg_installed in vcpkg. If this is the case then you may have to point the right path.
+5. If the depender is dependent on many libraries and requires many changes in cmakelist but you dont want to change the cmakelist then a better way is to use a vcpkg-cmake-wrapper which replaces the find_package() functionality and helps it find the library.  
+6. You can also add the path to library and header files in the cmakelist with relative path (use vcpkg_installed_dir to find them) and have the modified cmakelist in forAprapipes branch in the fork. This will prevent adding hardcoded paths to library files.
+7. Do not try to point the path to anywhere in vcpkg directory in aprapipes. 
+
+Reference :
+https://decovar.dev/blog/2022/10/30/cpp-dependencies-with-vcpkg/#cmake-wrapper
&amp;lt;/package_name&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aslam Hirani</dc:creator><pubDate>Tue, 12 May 2026 05:47:50 -0000</pubDate><guid>https://sourceforge.net3d7d7e6f21685ad678cc4f0a9e9ca4229738a810</guid></item><item><title>vcpkg notes modified by Aslam Hirani</title><link>https://sourceforge.net/p/aprapipes/wiki/vcpkg%2520notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -12,7 +12,7 @@

 5. Update git-tree with above generated hash, version-date and port-version in vcpkg/versions/&amp;lt;initial of="" package_name=""&amp;gt;/package_name.json file
 6. commit and push the code the vcpkg code 
 7. Update Aprapipes/base/vcpkg.json file: Change the builtin-baseline with the latest commit ID of vcpkg, also change the vcpkg submodule point to the latest commit.
-8. Also delete buildtrees, downloads, packages folders in ApraPipes/vcpkg/ .
+8. Also delete buildtrees, downloads, packages and installed folders in ApraPipes/vcpkg/ .
 9. If Above point 8 does not work try to delete archives in C:\Users\developer\AppData\Local\vcpkg\

 References: https://devblogs.microsoft.com/cppblog/registries-bring-your-own-libraries-to-vcpkg/
&amp;lt;/initial&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aslam Hirani</dc:creator><pubDate>Tue, 12 May 2026 05:47:50 -0000</pubDate><guid>https://sourceforge.net464f7bc4052e4ea41873f011129b64594e551c36</guid></item><item><title>vcpkg notes modified by Aslam Hirani</title><link>https://sourceforge.net/p/aprapipes/wiki/vcpkg%2520notes/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -12,6 +12,8 @@

 5. Update git-tree with above generated hash, version-date and port-version in vcpkg/versions/&amp;lt;initial of="" package_name=""&amp;gt;/package_name.json file
 6. commit and push the code the vcpkg code 
 7. Update Aprapipes/base/vcpkg.json file: Change the builtin-baseline with the latest commit ID of vcpkg, also change the vcpkg submodule point to the latest commit.
+8. Also delete buildtrees, downloads, packages folders in ApraPipes/vcpkg/ .
+9. If Above point 8 does not work try to delete archives in C:\Users\developer\AppData\Local\vcpkg\

 References: https://devblogs.microsoft.com/cppblog/registries-bring-your-own-libraries-to-vcpkg/

&amp;lt;/initial&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aslam Hirani</dc:creator><pubDate>Tue, 12 May 2026 05:47:50 -0000</pubDate><guid>https://sourceforge.net8d30ca0e85aedea7fa1720e7ce1c7e72fbeaaafd</guid></item><item><title>vcpkg notes modified by Aslam Hirani</title><link>https://sourceforge.net/p/aprapipes/wiki/vcpkg%2520notes/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="h-upgrade-vcpkg-port-to-use-thirdparty-library"&gt;Upgrade vcpkg port to use thirdparty library.&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;Open vcpkg/ports/&amp;lt;package_name&amp;gt;/&amp;lt;/package_name&amp;gt;&lt;/li&gt;
&lt;li&gt;. update the vcpkg_from_github() function in portfile.cmake file &lt;ol&gt;
&lt;li&gt;Update the REPO Name with the target repo (ex: Apra-Labs/openh264)&lt;/li&gt;
&lt;li&gt;Update REF to the required commit to extract the source code .&lt;/li&gt;
&lt;li&gt;calcaulate sha512 value for the above commit.&lt;/li&gt;
&lt;li&gt;changes the HEAD_REF to the target branch name of given repo.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;. Update the version-date and port version in vcpkg/ports/&amp;lt;package_name&amp;gt;/vcpkg.json file.&amp;lt;/package_name&amp;gt;&lt;/li&gt;
&lt;li&gt;Update the baseline and port version in vcpkg/version/baseline.json file .&lt;/li&gt;
&lt;li&gt;commit the following vcpkg code.(Needs to be done)&lt;/li&gt;
&lt;li&gt;Now generate git-tree hash using the command: git rev-parse HEAD:ports/&amp;lt;package_name&amp;gt;&amp;lt;/package_name&amp;gt;&lt;/li&gt;
&lt;li&gt;Update git-tree with above generated hash, version-date and port-version in vcpkg/versions/&amp;lt;initial of="" package_name=""&amp;gt;/package_name.json file&amp;lt;/initial&amp;gt;&lt;/li&gt;
&lt;li&gt;commit and push the code the vcpkg code &lt;/li&gt;
&lt;li&gt;Update Aprapipes/base/vcpkg.json file: Change the builtin-baseline with the latest commit ID of vcpkg, also change the vcpkg submodule point to the latest commit.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;References: &lt;a href="https://devblogs.microsoft.com/cppblog/registries-bring-your-own-libraries-to-vcpkg/" rel="nofollow"&gt;https://devblogs.microsoft.com/cppblog/registries-bring-your-own-libraries-to-vcpkg/&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;/blockquote&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aslam Hirani</dc:creator><pubDate>Tue, 12 May 2026 05:47:49 -0000</pubDate><guid>https://sourceforge.net76ea00801f5cf0dd1423b18f282ef1136bda5572</guid></item></channel></rss>