{"id":453314,"date":"2025-03-26T03:00:12","date_gmt":"2025-03-26T03:00:12","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=453314"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=453314","title":{"rendered":"<span>HowTo: \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0433\u043e SDK(\u043d\u0430\u0431\u043e\u0440\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a) \u0434\u043b\u044f Windows \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c vcpkg<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>HowTo: \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0433\u043e SDK(\u043d\u0430\u0431\u043e\u0440\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a) \u0434\u043b\u044f Windows \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c vcpkg<\/h2>\n<p>\u0412 \u044d\u0442\u043e\u043c HowTo \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0443 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 <code>vcpkg <\/code>\u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u043c \u0432\u0438\u0434\u0435.<\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 &#171;\u043f\u043e\u0434\u043e\u043f\u044b\u0442\u043d\u044b\u0445 \u043a\u0440\u043e\u043b\u0438\u043a\u043e\u0432&#187; \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u0442\u044c <code>Qt6<\/code>, <code>QCustomPlot<\/code>\u0438 \u044f.<\/p>\n<p>Spoiler: \u0441 <code>QCustomPlot <\/code>\u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u0442\u044c, \u043d\u043e \u043e\u0431\u044b\u0447\u043d\u043e \u0432\u0441\u0435 \u043f\u0440\u043e\u0449\u0435.<\/p>\n<p>TLDR: <a href=\"https:\/\/learn.microsoft.com\/en-us\/vcpkg\/commands\/export\" rel=\"noopener noreferrer nofollow\">vcpkg export<\/a><\/p>\n<h3>\u041f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f<\/h3>\n<p>\u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u0430\u0431\u043e\u0440\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/git-scm.com\/downloads\/win\" rel=\"noopener noreferrer nofollow\">Git For Windows<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/cmake.org\/download\/\" rel=\"noopener noreferrer nofollow\">CMake<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/visualstudio.microsoft.com\/\" rel=\"noopener noreferrer nofollow\">Visual Studio<\/a> \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043d\u0430 C++<\/p>\n<\/li>\n<\/ul>\n<p>\u0412\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0432 <code>Git Bash<\/code>(\u043c\u043e\u0436\u043d\u043e \u0438 \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435: <code>cmd<\/code>, <code>powershell<\/code>, etc)<\/p>\n<p>CMake \u0438 Git \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u043b\u0443\u0447\u0448\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0441 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u043c\u0438 \u0438\u043c\u0435\u043d\u0430\u043c\u0438 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 <code>PATH<\/code><\/p>\n<p>\u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 <code>\/d\/tools\/{cmake,git,vcpkg}<\/code><\/p>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e<\/p>\n<pre><code class=\"bash\">cd \/d\/tools<\/code><\/pre>\n<h3>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 vcpkg<\/h3>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0441 &#171;\u0440\u0435\u0446\u0435\u043f\u0442\u0430\u043c\u0438&#187; \u043f\u0430\u043a\u0435\u0442\u043e\u0432<\/p>\n<pre><code class=\"bash\">git clone https:\/\/github.com\/microsoft\/vcpkg.git cd vcpkg<\/code><\/pre>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0440\u0435\u043b\u0438\u0437\u043d\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439<\/p>\n<pre><code class=\"bash\">git show-ref  21816e0df975ab3ba13ab75263c4deeb080ef681 refs\/heads\/master 21816e0df975ab3ba13ab75263c4deeb080ef681 refs\/remotes\/origin\/HEAD 21816e0df975ab3ba13ab75263c4deeb080ef681 refs\/remotes\/origin\/master e2049cb9754006b6a2abed781d34030e16702fad refs\/tags\/2019.06 455223d009fc6fef0d9293e511d64e9e372abdb0 refs\/tags\/2019.07  ...  b322364f06308bdd24823f9d8f03fe0cc86fd46f refs\/tags\/2024.12.16 6f29f12e82a8293156836ad81cc9bf5af41fe836 refs\/tags\/2025.01.13 d5ec528843d29e3a52d745a64b469f810b2cedbf refs\/tags\/2025.02.14 b02e341c927f16d991edbd915d8ea43eac52096c refs\/tags\/2025.03.19<\/code><\/pre>\n<p>\u0423\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u0432 \u043d\u0435\u043c \u0445\u0435\u0448\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f <a href=\"https:\/\/learn.microsoft.com\/en-us\/vcpkg\/users\/versioning\" rel=\"noopener noreferrer nofollow\">\u0432\u0435\u0440\u0441\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/a>.<br \/>\u0421\u0435\u0439\u0447\u0430\u0441 \u044d\u0442\u043e \u043d\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c \u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0440\u0435\u043b\u0438\u0437:<\/p>\n<pre><code class=\"bash\">git checkout 2025.03.19 Note: switching to '2025.03.19'.  You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.  If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:    git switch -c   Or undo this operation with:    git switch -  Turn off this advice by setting config variable advice.detachedHead to false  HEAD is now at b02e341c92 [imgui] update to 1.91.9 (#44425) <\/code><\/pre>\n<p>\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u043c \u0441\u0430\u043c <code>vcpkg<\/code><\/p>\n<pre><code class=\"bash\">.\/bootstrap-vcpkg.bat -disableMetrics<\/code><\/pre>\n<p><code>\u041a\u043b\u044e\u0447 -disableMetrics<\/code> \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u0438.<br \/> \u0415\u0441\u043b\u0438 \u0412\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u044e \u0432 Microsoft &#8212; \u0443\u0434\u0430\u043b\u0438\u0442\u0435 \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u044b.<\/p>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f<\/h3>\n<p>\u0414\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c <a href=\"https:\/\/learn.microsoft.com\/en-us\/vcpkg\/concepts\/triplets\" rel=\"noopener noreferrer nofollow\">&#171;\u0442\u0440\u0438\u043f\u043b\u0435\u0442\u044b&#187;<\/a> \u0434\u043b\u044f \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u0438 \u0445\u043e\u0441\u0442\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<br \/>\u0418\u043d\u0430\u0447\u0435 \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 &#171;\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e&#187;.<br \/>\u0414\u043b\u044f Windows \u044d\u0442\u043e \u0441\u0431\u043e\u0440\u043a\u0430 32\u0445\u0431\u0438\u0442\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0438 \u0443\u0442\u0438\u043b\u0438\u0442.<\/p>\n<p>\u0411\u0443\u0434\u0435\u043c \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0434\u043b\u044f \u0438 \u043d\u0430 Windows x64 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c <code>x64-windows<\/code><\/p>\n<pre><code class=\"bash\">export VCPKG_DEFAULT_TRIPLET=x64-windows export VCPKG_DEFAULT_HOST_TRIPLET=x64-windows export VCPKG_ROOT=d:\/tools\/vcpkg # \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438\u0445 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/p>\n<h3>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043d\u0430\u0431\u043e\u0440\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<\/h3>\n<p>\u0418\u0434\u0435\u043c \u043d\u0430 <a href=\"https:\/\/vcpkg.io\/en\/packages\" rel=\"noopener noreferrer nofollow\">https:\/\/vcpkg.io\/en\/packages<\/a> \u0438 \u0438\u0449\u0435\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u043e\u0432<br \/>\u0414\u043b\u044f <code>QCustomPlot <\/code>\u0431\u0435\u0437 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e\u0441\u0442\u0435\u0439 &#8212; <a href=\"https:\/\/vcpkg.io\/en\/package\/qcustomplot\" rel=\"noopener noreferrer nofollow\">qcustomplot<\/a><\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u0442\u0430\u043a \u0436\u0435 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u043c \u043f\u043e\u0438\u0441\u043a\u043e\u043c:<\/p>\n<pre><code class=\"bash\">.\/vcpkg search qcustomplot qcustomplot              2.1.1#1          QCustomPlot is a Qt C++ widget for plotting and data visualization. The result may be outdated. Run `git pull` to get the latest results. If your port is not listed, please open an issue at and\/or consider making a pull request.  -  https:\/\/github.com\/Microsoft\/vcpkg\/issues <\/code><\/pre>\n<p>\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430:<\/p>\n<pre><code class=\"bash\">.\/vcpkg install qcustomplot<\/code><\/pre>\n<p><code>vcpkg<\/code> \u0441\u043a\u0430\u0447\u0430\u0435\u0442 \u0438 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442 \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438.<br \/> \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043d\u044f\u0442\u044c \u043f\u0440\u0438\u043b\u0438\u0447\u043d\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 &#8212; \u043c\u043e\u0436\u043d\u043e \u0441\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e\u043f\u0438\u0442\u044c \u043a\u043e\u0444\u0435.<\/p>\n<p>\u0423 \u043c\u0435\u043d\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u043d\u044f\u043b\u0430 \u043f\u043e\u043b\u0447\u0430\u0441\u0430.<\/p>\n<pre><code>Starting submission of qcustomplot:x64-windows@2.1.1#1 to 1 binary cache(s) in the background Elapsed time to handle qcustomplot:x64-windows: 30 s qcustomplot:x64-windows package ABI: 51d7df0801247592f000a45e1136824367618965ada4458385f5fd3a0a036152 Total install time: 29 min Completed submission of qtbase[brotli,concurrent,core,dbus,dnslookup,doubleconversion,freetype,gui,harfbuzz,icu,jpeg,network,opengl,openssl,pcre2,png,sql,sql-ps ql,sql-sqlite,testlib,thread,widgets,zstd]:x64-windows@6.8.2#1 to 1 binary cache(s) in 27 s Waiting for 2 remaining binary cache submissions... Completed submission of vcpkg-qmake:x64-windows@2023-03-22#3 to 1 binary cache(s) in 11 s (1\/2) Completed submission of qcustomplot:x64-windows@2.1.1#1 to 1 binary cache(s) in 13 s (2\/2)  real    29m1.567s user    0m0.015s sys     0m0.000s <\/code><\/pre>\n<h3>\u0421\u0431\u043e\u0440\u043a\u0430 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430<\/h3>\n<p>\u0422\u0443\u0442 \u0435\u0441\u0442\u044c <a href=\"https:\/\/learn.microsoft.com\/en-us\/vcpkg\/commands\/export\" rel=\"noopener noreferrer nofollow\">\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432<\/a><\/p>\n<ul>\n<li>\n<p>\u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e<\/p>\n<\/li>\n<li>\n<p>\u0443\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0432 \u0430\u0440\u0445\u0438\u0432<\/p>\n<\/li>\n<li>\n<p>\u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u044b \u0434\u043b\u044f NuGet(\u0443\u0434\u043e\u0431\u043d\u043e \u0434\u043b\u044f VS. \u041d\u0430\u0432\u0435\u0440\u043d\u043e)<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0432\u0441\u0435 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e <code>\/d\/tools\/bin-pkgs<\/code>:<\/p>\n<pre><code class=\"bash\">.\/vcpkg export --raw --output=..\/bin-pkgs --x-all-installed<\/code><\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u043c \u041f\u041a.<\/p>\n<h3>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u0432 CMake<\/h3>\n<p>\u041f\u043e\u0434\u043e\u0431\u0440\u0430\u043b\u0438\u0441\u044c \u043a \u0442\u043e\u043c\u0443, \u0440\u0430\u0434\u0438 \u0447\u0435\u0433\u043e \u0432\u0441\u0451 \u044d\u0442\u043e \u0431\u044b\u043b\u043e.<\/p>\n<h4>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442<\/h4>\n<pre><code class=\"bash\">mkdir ..\/pkg-test cd ..\/pkg-test touch main.cpp touch CMakeLists.txt<\/code><\/pre>\n<p>\u0412 \u043b\u044e\u0431\u043e\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435 \u043d\u0430\u0431\u0440\u043e\u0441\u0430\u0435\u043c \u043a\u043e\u0434<\/p>\n<pre><code class=\"cpp\">\/\/\/@file: main.cpp #include &lt;QApplication&gt; #include &lt;qcustomplot.h&gt;  int main(int argc, char** argv) { QApplication app{argc, argv}; QCustomPlot plot;  plot.show();  return app.exec(); } <\/code><\/pre>\n<pre><code class=\"cmake\"># @file: CMakeLists.txt  cmake_minimum_required(VERSION 3.20) project(pkg-test)  set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON)   set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON)  find_package(Qt6 COMPONENTS Core Widgets REQUIRED) find_package(QCustomPlot REQUIRED)   add_executable(pkg_test WIN32)  target_sources(pkg_test PRIVATE main.cpp )  target_link_libraries(pkg_test     PRIVATE         Qt::Core Qt::Widgets         qcustomplot )<\/code><\/pre>\n<h4>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f<\/h4>\n<p>\u0414\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e <a href=\"https:\/\/cmake.org\/cmake\/help\/latest\/variable\/CMAKE_TOOLCHAIN_FILE.html\" rel=\"noopener noreferrer nofollow\"><code>CMAKE_TOOLCHAIN_FILE<\/code><\/a><\/p>\n<pre><code class=\"bash\">cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=..\/bin-pkgs\/scripts\/buildsystems\/vcpkg.cmake  -- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.19045. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE CMake Error at D:\/tools\/bin-pkgs\/scripts\/buildsystems\/vcpkg.cmake:893 (_find_package):   By not providing \"FindQCustomPlot.cmake\" in CMAKE_MODULE_PATH this project   has asked CMake to find a package configuration file provided by   \"QCustomPlot\", but CMake did not find one.    Could not find a package configuration file provided by \"QCustomPlot\" with   any of the following names:      QCustomPlotConfig.cmake     qcustomplot-config.cmake    Add the installation prefix of \"QCustomPlot\" to CMAKE_PREFIX_PATH or set   \"QCustomPlot_DIR\" to a directory containing one of the above files.  If   \"QCustomPlot\" provides a separate development package or SDK, be sure it   has been installed. Call Stack (most recent call first):   CMakeLists.txt:15 (find_package)   -- Configuring incomplete, errors occurred!  <\/code><\/pre>\n<p>\u0425\u043c. \u041e\u0448\u0438\u0431\u043a\u0430 &#8212; <code>QCustomPlot <\/code>\u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d.<\/p>\n<p>\u041e\u0431\u044b\u0447\u043d\u043e \u0432\u0441\u0451 \u043f\u0440\u043e\u0449\u0435.<\/p>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043d\u0435 \u0432\u0441\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u0434\u043b\u044f CMake.<br \/>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0438\u0441\u0430\u0442\u044c \u0438\u0445 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e.<br \/>\u041b\u0438\u0431\u043e \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u043e\u0441\u0442\u044b\u043b\u0438. \u0427\u0442\u043e \u0438 \u0441\u0434\u0435\u043b\u0430\u0435\u043c.<\/p>\n<p>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u0444\u0430\u0439\u043b \u043f\u0440\u043e\u0435\u043a\u0442\u0430:<\/p>\n<pre><code class=\"diff\">- find_package(QCustomPlot REQUIRED) + #find_package(QCustomPlot REQUIRED)<\/code><\/pre>\n<p>\u0418 \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u043c<\/p>\n<pre><code class=\"bash\">cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=..\/bin-pkgs\/scripts\/buildsystems\/vcpkg.cmake -- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.19045. -- Configuring done (0.2s) -- Generating done (0.3s) -- Build files have been written to: D:\/tools\/pkg-test\/build <\/code><\/pre>\n<p>\u0423\u0441\u043f\u0435\u0448\u043d\u043e.<\/p>\n<p>\u0412 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 <code>build<\/code> \u0441\u043e\u0437\u0434\u0430\u043b\u0438\u0441\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0438 \u043f\u0440\u043e\u0435\u043a\u0442 \u0434\u043b\u044f Visual Studio:<\/p>\n<pre><code class=\"bash\">ls -l build\/ total 324 -rw-r--r-- 1 maxim 197121 73424 Mar 25 17:00 ALL_BUILD.vcxproj -rw-r--r-- 1 maxim 197121   272 Mar 25 16:34 ALL_BUILD.vcxproj.filters -rw-r--r-- 1 maxim 197121   168 Mar 25 17:30 ALL_BUILD.vcxproj.user -rw-r--r-- 1 maxim 197121 54604 Mar 25 16:34 CMakeCache.txt drwxr-xr-x 1 maxim 197121     0 Mar 25 17:34 CMakeFiles\/ drwxr-xr-x 1 maxim 197121     0 Mar 25 17:34 Debug\/ -rw-r--r-- 1 maxim 197121 73544 Mar 25 17:00 ZERO_CHECK.vcxproj -rw-r--r-- 1 maxim 197121   515 Mar 25 16:34 ZERO_CHECK.vcxproj.filters -rw-r--r-- 1 maxim 197121  1729 Mar 25 16:34 cmake_install.cmake -rw-r--r-- 1 maxim 197121  3116 Mar 25 16:34 pkg-test.sln drwxr-xr-x 1 maxim 197121     0 Mar 25 16:37 pkg_test.dir\/ -rw-r--r-- 1 maxim 197121 99062 Mar 25 17:20 pkg_test.vcxproj -rw-r--r-- 1 maxim 197121  1163 Mar 25 16:34 pkg_test.vcxproj.filters -rw-r--r-- 1 maxim 197121   168 Mar 25 17:30 pkg_test.vcxproj.user drwxr-xr-x 1 maxim 197121     0 Mar 25 16:37 pkg_test_autogen\/ drwxr-xr-x 1 maxim 197121     0 Mar 25 16:37 x64\/ <\/code><\/pre>\n<h4>\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f<\/h4>\n<p>\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0434\u043b\u044f CMake:<\/p>\n<pre><code class=\"bash\">cmake --build build \u0412\u0435\u0440\u0441\u0438\u044f MSBuild 17.13.19+0d9f5a35a \u0434\u043b\u044f .NET Framework    1&gt;Checking Build System   Automatic MOC and UIC for target pkg_test   Building Custom Rule D:\/tools\/pkg-test\/CMakeLists.txt   mocs_compilation_Debug.cpp   main.cpp   Generating Code... D:\\tools\\pkg-test\\main.cpp(4,10): error C1083: Cannot open include file: 'qcustomplot.h': No such file or directory [D:\\tools\\pkg-test\\build\\pkg_test.vcxproj] <\/code><\/pre>\n<p>\u0418 \u043d\u0430\u0442\u044b\u043a\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u0443\u044e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0441 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439: \u043f\u0443\u0442\u044c \u043a <code>include<\/code> \u043d\u0435 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d.<\/p>\n<p>\u0427\u0442\u043e \u0436. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c.<br \/>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043f\u043e \u043f\u0443\u0442\u0438 <code>&lt;pkg_dir&gt;\/installed\/&lt;triplet&gt;\/include<\/code><\/p>\n<p>\u041d\u0443\u0436\u043d\u043e \u043a\u0430\u043a \u0442\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0432 \u043a\u0430\u043a\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043f\u0430\u043a\u0435\u0442\u044b.<br \/>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e <a href=\"https:\/\/learn.microsoft.com\/en-us\/vcpkg\/users\/buildsystems\/cmake-integration#vcpkg_installed_dir\" rel=\"noopener noreferrer nofollow\">VCPKG_INSTALLED_DIR<\/a>:<\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0443\u0442\u044c \u0434\u043e \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432:<\/p>\n<pre><code class=\"bash\">include_directories(\"${VCPKG_INSTALLED_DIR}\/${VCPKG_TARGET_TRIPLET}\/include\")<\/code><\/pre>\n<p>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u043c\/\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c<\/p>\n<pre><code class=\"bash\">cmake --build build \u0412\u0435\u0440\u0441\u0438\u044f MSBuild 17.13.19+0d9f5a35a \u0434\u043b\u044f .NET Framework    Automatic MOC and UIC for target pkg_test   mocs_compilation_Debug.cpp   main.cpp   Generating Code... LINK : fatal error LNK1104: cannot open file 'qcustomplot.lib' [D:\\tools\\pkg-test\\build\\pkg_test.vcxproj] <\/code><\/pre>\n<p>\u0414\u0430 \u0447\u0442\u043e \u0436 \u0442\u0430\u043a\u043e\u0435.<br \/>\u041d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0432\u0435\u0441\u0442\u0438 issue \u043d\u0430 <code>QCustomPlot<\/code> \u0438 \u043f\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 pull request \u0441 \u043f\u0430\u0442\u0447\u0435\u043c.<br \/>\u0410 \u043f\u043e\u043a\u0430 \u0437\u0430\u0445\u0430\u0440\u0434\u043a\u043e\u0434\u0438\u043c:<\/p>\n<pre><code class=\"bash\">include_directories(\"${VCPKG_INSTALLED_DIR}\/${VCPKG_TARGET_TRIPLET}\/lib\")<\/code><\/pre>\n<p>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u043c\/\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c&#8230;<\/p>\n<pre><code class=\"bash\">$ cmake --build build \u0412\u0435\u0440\u0441\u0438\u044f MSBuild 17.13.19+0d9f5a35a \u0434\u043b\u044f .NET Framework    Automatic MOC and UIC for target pkg_test   pkg_test.vcxproj -&gt;; D:\\tools\\pkg-test\\build\\Debug\\pkg_test.exe   Building Custom Rule D:\/tools\/pkg-test\/CMakeLists.txt <\/code><\/pre>\n<p>\u0423\u0441\u043f\u0435\u0445.<\/p>\n<h4>\u041a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430:<\/h4>\n<pre><code class=\"cmake\"># @file: CMakeLists.txt  cmake_minimum_required(VERSION 3.20) project(pkg-test)  set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON)  set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON)  # FIXME: dirty fix for QCustomPlot include_directories(\"${VCPKG_INSTALLED_DIR}\/${VCPKG_TARGET_TRIPLET}\/include\") link_directories(\"${VCPKG_INSTALLED_DIR}\/${VCPKG_TARGET_TRIPLET}\/lib\")  find_package(Qt6 COMPONENTS Core Widgets REQUIRED)  add_executable(pkg_test WIN32)  target_sources(pkg_test PRIVATE main.cpp )  target_link_libraries(pkg_test     PRIVATE         Qt::Core Qt::Widgets         qcustomplot2 ) <\/code><\/pre>\n<h3>\u0427\u0442\u043e \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c &#171;\u0437\u0430 \u043a\u0430\u0434\u0440\u043e\u043c&#187;<\/h3>\n<p>\u041d\u0435 \u0440\u0435\u0448\u0435\u043d \u0432\u043e\u043f\u0440\u043e\u0441 \u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0435\/\u043e\u0442\u043b\u0430\u0434\u043a\u0435.<br \/>\u041d\u043e \u044d\u0442\u043e \u0432\u0438\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u0430\u043a\u0435\u0442\u0430 <code>QCustomPlot<\/code> &#8212; \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0432\u043e\u0437\u043d\u0438 \u043c\u0435\u043d\u044c\u0448\u0435.<\/p>\n<h3>&#171;\u0424\u043e\u0442\u043e \u043d\u0430 \u043f\u0430\u043c\u044f\u0442\u044c&#187;<\/h3>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/98b\/5ca\/62a\/98b5ca62aea54f8db61defdf15a2b71f.png\" width=\"1847\" height=\"1080\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/98b\/5ca\/62a\/98b5ca62aea54f8db61defdf15a2b71f.png\"\/><\/figure>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/894284\/\"> https:\/\/habr.com\/ru\/articles\/894284\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>HowTo: \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0433\u043e SDK(\u043d\u0430\u0431\u043e\u0440\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a) \u0434\u043b\u044f Windows \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c vcpkg<\/h2>\n<p>\u0412 \u044d\u0442\u043e\u043c HowTo \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0443 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 <code>vcpkg <\/code>\u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u043c \u0432\u0438\u0434\u0435.<\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 &#171;\u043f\u043e\u0434\u043e\u043f\u044b\u0442\u043d\u044b\u0445 \u043a\u0440\u043e\u043b\u0438\u043a\u043e\u0432&#187; \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u0442\u044c <code>Qt6<\/code>, <code>QCustomPlot<\/code>\u0438 \u044f.<\/p>\n<p>Spoiler: \u0441 <code>QCustomPlot <\/code>\u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u0442\u044c, \u043d\u043e \u043e\u0431\u044b\u0447\u043d\u043e \u0432\u0441\u0435 \u043f\u0440\u043e\u0449\u0435.<\/p>\n<p>TLDR: <a href=\"https:\/\/learn.microsoft.com\/en-us\/vcpkg\/commands\/export\" rel=\"noopener noreferrer nofollow\">vcpkg export<\/a><\/p>\n<h3>\u041f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f<\/h3>\n<p>\u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u0430\u0431\u043e\u0440\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/git-scm.com\/downloads\/win\" rel=\"noopener noreferrer nofollow\">Git For Windows<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/cmake.org\/download\/\" rel=\"noopener noreferrer nofollow\">CMake<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/visualstudio.microsoft.com\/\" rel=\"noopener noreferrer nofollow\">Visual Studio<\/a> \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043d\u0430 C++<\/p>\n<\/li>\n<\/ul>\n<p>\u0412\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0432 <code>Git Bash<\/code>(\u043c\u043e\u0436\u043d\u043e \u0438 \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435: <code>cmd<\/code>, <code>powershell<\/code>, etc)<\/p>\n<p>CMake \u0438 Git \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u043b\u0443\u0447\u0448\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0441 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u043c\u0438 \u0438\u043c\u0435\u043d\u0430\u043c\u0438 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 <code>PATH<\/code><\/p>\n<p>\u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 <code>\/d\/tools\/{cmake,git,vcpkg}<\/code><\/p>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e<\/p>\n<pre><code class=\"bash\">cd \/d\/tools<\/code><\/pre>\n<h3>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 vcpkg<\/h3>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0441 &#171;\u0440\u0435\u0446\u0435\u043f\u0442\u0430\u043c\u0438&#187; \u043f\u0430\u043a\u0435\u0442\u043e\u0432<\/p>\n<pre><code class=\"bash\">git clone https:\/\/github.com\/microsoft\/vcpkg.git cd vcpkg<\/code><\/pre>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0440\u0435\u043b\u0438\u0437\u043d\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439<\/p>\n<pre><code class=\"bash\">git show-ref  21816e0df975ab3ba13ab75263c4deeb080ef681 refs\/heads\/master 21816e0df975ab3ba13ab75263c4deeb080ef681 refs\/remotes\/origin\/HEAD 21816e0df975ab3ba13ab75263c4deeb080ef681 refs\/remotes\/origin\/master e2049cb9754006b6a2abed781d34030e16702fad refs\/tags\/2019.06 455223d009fc6fef0d9293e511d64e9e372abdb0 refs\/tags\/2019.07  ...  b322364f06308bdd24823f9d8f03fe0cc86fd46f refs\/tags\/2024.12.16 6f29f12e82a8293156836ad81cc9bf5af41fe836 refs\/tags\/2025.01.13 d5ec528843d29e3a52d745a64b469f810b2cedbf refs\/tags\/2025.02.14 b02e341c927f16d991edbd915d8ea43eac52096c refs\/tags\/2025.03.19<\/code><\/pre>\n<p>\u0423\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u0432 \u043d\u0435\u043c \u0445\u0435\u0448\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f <a href=\"https:\/\/learn.microsoft.com\/en-us\/vcpkg\/users\/versioning\" rel=\"noopener noreferrer nofollow\">\u0432\u0435\u0440\u0441\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/a>.<br \/>\u0421\u0435\u0439\u0447\u0430\u0441 \u044d\u0442\u043e \u043d\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c \u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0440\u0435\u043b\u0438\u0437:<\/p>\n<pre><code class=\"bash\">git checkout 2025.03.19 Note: switching to '2025.03.19'.  You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.  If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:    git switch -c   Or undo this operation with:    git switch -  Turn off this advice by setting config variable advice.detachedHead to false  HEAD is now at b02e341c92 [imgui] update to 1.91.9 (#44425) <\/code><\/pre>\n<p>\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u043c \u0441\u0430\u043c <code>vcpkg<\/code><\/p>\n<pre><code class=\"bash\">.\/bootstrap-vcpkg.bat -disableMetrics<\/code><\/pre>\n<p><code>\u041a\u043b\u044e\u0447 -disableMetrics<\/code> \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u0438.<br \/> \u0415\u0441\u043b\u0438 \u0412\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u044e \u0432 Microsoft &#8212; \u0443\u0434\u0430\u043b\u0438\u0442\u0435 \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u044b.<\/p>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f<\/h3>\n<p>\u0414\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c <a href=\"https:\/\/learn.microsoft.com\/en-us\/vcpkg\/concepts\/triplets\" rel=\"noopener noreferrer nofollow\">&#171;\u0442\u0440\u0438\u043f\u043b\u0435\u0442\u044b&#187;<\/a> \u0434\u043b\u044f \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u0438 \u0445\u043e\u0441\u0442\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<br \/>\u0418\u043d\u0430\u0447\u0435 \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 &#171;\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e&#187;.<br \/>\u0414\u043b\u044f Windows \u044d\u0442\u043e \u0441\u0431\u043e\u0440\u043a\u0430 32\u0445\u0431\u0438\u0442\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0438 \u0443\u0442\u0438\u043b\u0438\u0442.<\/p>\n<p>\u0411\u0443\u0434\u0435\u043c \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0434\u043b\u044f \u0438 \u043d\u0430 Windows x64 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c <code>x64-windows<\/code><\/p>\n<pre><code class=\"bash\">export VCPKG_DEFAULT_TRIPLET=x64-windows export VCPKG_DEFAULT_HOST_TRIPLET=x64-windows export VCPKG_ROOT=d:\/tools\/vcpkg # \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438\u0445 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/p>\n<h3>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043d\u0430\u0431\u043e\u0440\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<\/h3>\n<p>\u0418\u0434\u0435\u043c \u043d\u0430 <a href=\"https:\/\/vcpkg.io\/en\/packages\" rel=\"noopener noreferrer nofollow\">https:\/\/vcpkg.io\/en\/packages<\/a> \u0438 \u0438\u0449\u0435\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u043e\u0432<br \/>\u0414\u043b\u044f <code>QCustomPlot <\/code>\u0431\u0435\u0437 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e\u0441\u0442\u0435\u0439 &#8212; <a href=\"https:\/\/vcpkg.io\/en\/package\/qcustomplot\" rel=\"noopener noreferrer nofollow\">qcustomplot<\/a><\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u0442\u0430\u043a \u0436\u0435 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u043c \u043f\u043e\u0438\u0441\u043a\u043e\u043c:<\/p>\n<pre><code class=\"bash\">.\/vcpkg search qcustomplot qcustomplot              2.1.1#1          QCustomPlot is a Qt C++ widget for plotting and data visualization. The result may be outdated. Run `git pull` to get the latest results. If your port is not listed, please open an issue at and\/or consider making a pull request.  -  https:\/\/github.com\/Microsoft\/vcpkg\/issues <\/code><\/pre>\n<p>\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430:<\/p>\n<pre><code class=\"bash\">.\/vcpkg install qcustomplot<\/code><\/pre>\n<p><code>vcpkg<\/code> \u0441\u043a\u0430\u0447\u0430\u0435\u0442 \u0438 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442 \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438.<br \/> \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043d\u044f\u0442\u044c \u043f\u0440\u0438\u043b\u0438\u0447\u043d\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 &#8212; \u043c\u043e\u0436\u043d\u043e \u0441\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e\u043f\u0438\u0442\u044c \u043a\u043e\u0444\u0435.<\/p>\n<p>\u0423 \u043c\u0435\u043d\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u043d\u044f\u043b\u0430 \u043f\u043e\u043b\u0447\u0430\u0441\u0430.<\/p>\n<pre><code>Starting submission of qcustomplot:x64-windows@2.1.1#1 to 1 binary cache(s) in the background Elapsed time to handle qcustomplot:x64-windows: 30 s qcustomplot:x64-windows package ABI: 51d7df0801247592f000a45e1136824367618965ada4458385f5fd3a0a036152 Total install time: 29 min Completed submission of qtbase[brotli,concurrent,core,dbus,dnslookup,doubleconversion,freetype,gui,harfbuzz,icu,jpeg,network,opengl,openssl,pcre2,png,sql,sql-ps ql,sql-sqlite,testlib,thread,widgets,zstd]:x64-windows@6.8.2#1 to 1 binary cache(s) in 27 s Waiting for 2 remaining binary cache submissions... Completed submission of vcpkg-qmake:x64-windows@2023-03-22#3 to 1 binary cache(s) in 11 s (1\/2) Completed submission of qcustomplot:x64-windows@2.1.1#1 to 1 binary cache(s) in 13 s (2\/2)  real    29m1.567s user    0m0.015s sys     0m0.000s <\/code><\/pre>\n<h3>\u0421\u0431\u043e\u0440\u043a\u0430 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430<\/h3>\n<p>\u0422\u0443\u0442 \u0435\u0441\u0442\u044c <a href=\"https:\/\/learn.microsoft.com\/en-us\/vcpkg\/commands\/export\" rel=\"noopener noreferrer nofollow\">\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432<\/a><\/p>\n<ul>\n<li>\n<p>\u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e<\/p>\n<\/li>\n<li>\n<p>\u0443\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0432 \u0430\u0440\u0445\u0438\u0432<\/p>\n<\/li>\n<li>\n<p>\u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u044b \u0434\u043b\u044f NuGet(\u0443\u0434\u043e\u0431\u043d\u043e \u0434\u043b\u044f VS. \u041d\u0430\u0432\u0435\u0440\u043d\u043e)<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0432\u0441\u0435 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e <code>\/d\/tools\/bin-pkgs<\/code>:<\/p>\n<pre><code class=\"bash\">.\/vcpkg export --raw --output=..\/bin-pkgs --x-all-installed<\/code><\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u043c \u041f\u041a.<\/p>\n<h3>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u0432 CMake<\/h3>\n<p>\u041f\u043e\u0434\u043e\u0431\u0440\u0430\u043b\u0438\u0441\u044c \u043a \u0442\u043e\u043c\u0443, \u0440\u0430\u0434\u0438 \u0447\u0435\u0433\u043e \u0432\u0441\u0451 \u044d\u0442\u043e \u0431\u044b\u043b\u043e.<\/p>\n<h4>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442<\/h4>\n<pre><code class=\"bash\">mkdir ..\/pkg-test cd ..\/pkg-test touch main.cpp touch CMakeLists.txt<\/code><\/pre>\n<p>\u0412 \u043b\u044e\u0431\u043e\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435 \u043d\u0430\u0431\u0440\u043e\u0441\u0430\u0435\u043c \u043a\u043e\u0434<\/p>\n<pre><code class=\"cpp\">\/\/\/@file: main.cpp #include &lt;QApplication&gt; #include &lt;qcustomplot.h&gt;  int main(int argc, char** argv) { QApplication app{argc, argv}; QCustomPlot plot;  plot.show();  return app.exec(); } <\/code><\/pre>\n<pre><code class=\"cmake\"># @file: CMakeLists.txt  cmake_minimum_required(VERSION 3.20) project(pkg-test)  set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON)   set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON)  find_package(Qt6 COMPONENTS Core Widgets REQUIRED) find_package(QCustomPlot REQUIRED)   add_executable(pkg_test WIN32)  target_sources(pkg_test PRIVATE main.cpp )  target_link_libraries(pkg_test     PRIVATE         Qt::Core Qt::Widgets         qcustomplot )<\/code><\/pre>\n<h4>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f<\/h4>\n<p>\u0414\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e <a href=\"https:\/\/cmake.org\/cmake\/help\/latest\/variable\/CMAKE_TOOLCHAIN_FILE.html\" rel=\"noopener noreferrer nofollow\"><code>CMAKE_TOOLCHAIN_FILE<\/code><\/a><\/p>\n<pre><code class=\"bash\">cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=..\/bin-pkgs\/scripts\/buildsystems\/vcpkg.cmake  -- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.19045. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE CMake Error at D:\/tools\/bin-pkgs\/scripts\/buildsystems\/vcpkg.cmake:893 (_find_package):   By not providing \"FindQCustomPlot.cmake\" in CMAKE_MODULE_PATH this project   has asked CMake to find a package configuration file provided by   \"QCustomPlot\", but CMake did not find one.    Could not find a package configuration file provided by \"QCustomPlot\" with   any of the following names:      QCustomPlotConfig.cmake     qcustomplot-config.cmake    Add the installation prefix of \"QCustomPlot\" to CMAKE_PREFIX_PATH or set   \"QCustomPlot_DIR\" to a directory containing one of the above files.  If   \"QCustomPlot\" provides a separate development package or SDK, be sure it   has been installed. Call Stack (most recent call first):   CMakeLists.txt:15 (find_package)   -- Configuring incomplete, errors occurred!  <\/code><\/pre>\n<p>\u0425\u043c. \u041e\u0448\u0438\u0431\u043a\u0430 &#8212; <code>QCustomPlot <\/code>\u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d.<\/p>\n<p>\u041e\u0431\u044b\u0447\u043d\u043e \u0432\u0441\u0451 \u043f\u0440\u043e\u0449\u0435.<\/p>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043d\u0435 \u0432\u0441\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u0434\u043b\u044f CMake.<br \/>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0438\u0441\u0430\u0442\u044c \u0438\u0445 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e.<br \/>\u041b\u0438\u0431\u043e \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u043e\u0441\u0442\u044b\u043b\u0438. \u0427\u0442\u043e \u0438 \u0441\u0434\u0435\u043b\u0430\u0435\u043c.<\/p>\n<p>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u0444\u0430\u0439\u043b \u043f\u0440\u043e\u0435\u043a\u0442\u0430:<\/p>\n<pre><code class=\"diff\">- find_package(QCustomPlot REQUIRED) + #find_package(QCustomPlot REQUIRED)<\/code><\/pre>\n<p>\u0418 \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u043c<\/p>\n<pre><code class=\"bash\">cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=..\/bin-pkgs\/scripts\/buildsystems\/vcpkg.cmake -- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.19045. -- Configuring done (0.2s) -- Generating done (0.3s) -- Build files have been written to: D:\/tools\/pkg-test\/build <\/code><\/pre>\n<p>\u0423\u0441\u043f\u0435\u0448\u043d\u043e.<\/p>\n<p>\u0412 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 <code>build<\/code> \u0441\u043e\u0437\u0434\u0430\u043b\u0438\u0441\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0438 \u043f\u0440\u043e\u0435\u043a\u0442 \u0434\u043b\u044f Visual Studio:<\/p>\n<pre><code class=\"bash\">ls -l build\/ total 324 -rw-r--r-- 1 maxim 197121 73424 Mar 25 17:00 ALL_BUILD.vcxproj -rw-r--r-- 1 maxim 197121   272 Mar 25 16:34 ALL_BUILD.vcxproj.filters -rw-r--r-- 1 maxim 197121   168 Mar 25 17:30 ALL_BUILD.vcxproj.user -rw-r--r-- 1 maxim 197121 54604 Mar 25 16:34 CMakeCache.txt drwxr-xr-x 1 maxim 197121     0 Mar 25 17:34 CMakeFiles\/ drwxr-xr-x 1 maxim 197121     0 Mar 25 17:34 Debug\/ -rw-r--r-- 1 maxim 197121 73544 Mar 25 17:00 ZERO_CHECK.vcxproj -rw-r--r-- 1 maxim 197121   515 Mar 25 16:34 ZERO_CHECK.vcxproj.filters -rw-r--r-- 1 maxim 197121  1729 Mar 25 16:34 cmake_install.cmake -rw-r--r-- 1 maxim 197121  3116 Mar 25 16:34 pkg-test.sln drwxr-xr-x 1 maxim 197121     0 Mar 25 16:37 pkg_test.dir\/ -rw-r--r-- 1 maxim 197121 99062 Mar 25 17:20 pkg_test.vcxproj -rw-r--r-- 1 maxim 197121  1163 Mar 25 16:34 pkg_test.vcxproj.filters -rw-r--r-- 1 maxim 197121   168 Mar 25 17:30 pkg_test.vcxproj.user drwxr-xr-x 1 maxim 197121     0 Mar 25 16:37 pkg_test_autogen\/ drwxr-xr-x 1 maxim 197121     0 Mar 25 16:37 x64\/ <\/code><\/pre>\n<h4>\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f<\/h4>\n<p>\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0434\u043b\u044f CMake:<\/p>\n<pre><code class=\"bash\">cmake --build build \u0412\u0435\u0440\u0441\u0438\u044f MSBuild 17.13.19+0d9f5a35a \u0434\u043b\u044f .NET Framework    1&gt;Checking Build System   Automatic MOC and UIC for target pkg_test   Building Custom Rule D:\/tools\/pkg-test\/CMakeLists.txt   mocs_compilation_Debug.cpp   main.cpp   Generating Code... D:\\tools\\pkg-test\\main.cpp(4,10): error C1083: Cannot open include file: 'qcustomplot.h': No such file or directory [D:\\tools\\pkg-test\\build\\pkg_test.vcxproj] <\/code><\/pre>\n<p>\u0418 \u043d\u0430\u0442\u044b\u043a\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u0443\u044e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0441 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439: \u043f\u0443\u0442\u044c \u043a <code>include<\/code> \u043d\u0435 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d.<\/p>\n<p>\u0427\u0442\u043e \u0436. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c.<br \/>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043f\u043e \u043f\u0443\u0442\u0438 <code>&lt;pkg_dir&gt;\/installed\/&lt;triplet&gt;\/include<\/code><\/p>\n<p>\u041d\u0443\u0436\u043d\u043e \u043a\u0430\u043a \u0442\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0432 \u043a\u0430\u043a\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043f\u0430\u043a\u0435\u0442\u044b.<br \/>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e <a href=\"https:\/\/learn.microsoft.com\/en-us\/vcpkg\/users\/buildsystems\/cmake-integration#vcpkg_installed_dir\" rel=\"noopener noreferrer nofollow\">VCPKG_INSTALLED_DIR<\/a>:<\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0443\u0442\u044c \u0434\u043e \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432:<\/p>\n<pre><code class=\"bash\">include_directories(\"${VCPKG_INSTALLED_DIR}\/${VCPKG_TARGET_TRIPLET}\/include\")<\/code><\/pre>\n<p>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u043c\/\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c<\/p>\n<pre><code class=\"bash\">cmake --build build \u0412\u0435\u0440\u0441\u0438\u044f MSBuild 17.13.19+0d9f5a35a \u0434\u043b\u044f .NET Framework    Automatic MOC and UIC for target pkg_test   mocs_compilation_Debug.cpp   main.cpp   Generating <\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-453314","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/453314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=453314"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/453314\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=453314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=453314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=453314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}