{"id":6561,"date":"2017-07-08T20:56:17","date_gmt":"2017-07-08T11:56:17","guid":{"rendered":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=6561"},"modified":"2017-07-08T21:02:54","modified_gmt":"2017-07-08T12:02:54","slug":"vcpkg-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f","status":"publish","type":"post","link":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=6561","title":{"rendered":"vcpkg \u3092\u4f7f\u3063\u3066\u307f\u305f"},"content":{"rendered":"<p><a href=\"https:\/\/github.com\/Microsoft\/vcpkg\">vcpkg<\/a> \u3068\u3044\u3046\u3001 Microsoft \u304c Visual C++ \u5411\u3051\u306b\u4f5c\u3063\u3066\u3044\u308b\uff08\u3064\u307e\u308a\u3001\u57fa\u672c\u7684\u306b\u306f\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30d1\u30c3\u30b1\u30fc\u30b8\u30f3\u30b0\u3059\u308b\u305f\u3081\u306e\uff09\u30d1\u30c3\u30b1\u30fc\u30b8\u30b7\u30b9\u30c6\u30e0\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u79c1\u306f UtVideo \u306e\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u90e8\u5206\u3067 boost \u3068 ffmpeg \u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u624b\u6253\u3061\u3067\u30d3\u30eb\u30c9\u3057\u3066\u3044\u3066\u304b\u306a\u308a\u3081\u3093\u3069\u304f\u3055\u3044\u3057\u3001\u4ed6\u4eba\u304c UtVideo \u3092\u30d3\u30eb\u30c9\u3057\u3088\u3046\u3068\u3057\u305f\u6642\u306b\u8f2a\u3092\u304b\u3051\u3066\u3081\u3093\u3069\u304f\u3055\u3044\u3053\u3068\u306b\u306a\u308b\u3053\u3068\u304c\u60f3\u50cf\u3055\u308c\u308b\u305f\u3081\u3001\u3053\u308c\u304c\u7c21\u5358\u306b\u306a\u308b\u3053\u3068\u3092\u671f\u5f85\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u30d1\u30c3\u30b1\u30fc\u30b8\u30b7\u30b9\u30c6\u30e0\u81ea\u4f53\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002\u7c21\u5358\u3002<\/p>\n<blockquote>\n<pre>\r\ngit clone https:\/\/github.com\/Microsoft\/vcpkg.git\r\ncd vcpkg\r\nbootstrap-vcpkg.bat\r\nvcpkg integrate install     < - Visual C++ \u306b\u7d71\u5408\u3059\u308b\u5834\u5408\r\n<\/pre>\n<\/blockquote>\n<p>Visual C++ \u306b\u7d71\u5408\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6319\u52d5\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u30d1\u30b9\u306b\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30d8\u30c3\u30c0\u30d5\u30a1\u30a4\u30eb\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u8ffd\u52a0\u3055\u308c\u308b\u3002<\/li>\n<li>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30d1\u30b9\u306b\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\uff08\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u30e9\u30a4\u30d6\u30e9\u30ea\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5834\u5408\u306f\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u30e9\u30a4\u30d6\u30e9\u30ea\u3001DLL \u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5834\u5408\u306f\u30a4\u30f3\u30dd\u30fc\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\uff09\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u8ffd\u52a0\u3055\u308c\u308b\u3002\u30c7\u30d0\u30c3\u30b0\u30d3\u30eb\u30c9\u304b\u30ea\u30ea\u30fc\u30b9\u30d3\u30eb\u30c9\u304b\u306f\u81ea\u52d5\u5224\u5b9a\u3055\u308c\u308b\u3002<\/li>\n<li>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u4f9d\u5b58\u95a2\u4fc2\u306b\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u57fa\u672c\u7684\u306b\u5168\u3066\u8ffd\u52a0\u3055\u308c\u308b\uff08\u30b7\u30f3\u30dc\u30eb\u304c\u885d\u7a81\u3059\u308b\u3082\u306e\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u306f\u660e\u793a\u7684\u306b\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\uff09\u3002<\/li>\n<li>DLL \u306b\u30ea\u30f3\u30af\u3059\u308b\u5834\u5408\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u51fa\u529b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30ea\u30f3\u30af\u3057\u305f DLL \u304c\u30b3\u30d4\u30fc\u3055\u308c\u308b\u3002<\/li>\n<\/ol>\n<p>1\u30682\u306f\u666e\u901a\u306e\u52d5\u4f5c\u3060\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u30013\u30684\u304c\u9762\u767d\u3044\u3067\u3059\u30023\u306e\u304a\u304b\u3052\u3067\u3069\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066\u3044\u308b\u304b\u610f\u8b58\u3059\u308b\uff08\u8ffd\u52a0\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u305a\u3089\u305a\u3089\u3068\u6307\u5b9a\u3059\u308b\uff09\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u5834\u5408\u306b\u7279\u306b\u5229\u70b9\u3068\u306a\u308a\u307e\u3059\uff08\u8003\u3048\u65b9\u306b\u3088\u3063\u3066\u306f\u6b20\u70b9\u3067\u3082\u3042\u308b\uff09\u30024\u306e\u304a\u304b\u3052\u3067DLL\u306e\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30d1\u30b9\u3092\u901a\u3059\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306f x64 \u3068 x86 \u3067\u540c\u3058\u540d\u524d\u306e DLL \u304c\u3042\u308b\u5834\u5408\u306b\u30c6\u30b9\u30c8\u5b9f\u884c\u6642\u306b\u30d1\u30b9\u3092\u5207\u308a\u66ff\u3048\u308b\u5fc5\u8981\u304c\u7121\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30d3\u30eb\u30c9\uff06\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002 Windows \u306e\u5834\u5408 Unix like OS \u3068\u9055\u3063\u3066\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u914d\u7f6e\u3059\u308b\u6a19\u6e96\u7684\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u3044\u3046\u3082\u306e\u304c\u306a\u3044\u306e\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u306f vcpkg \u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e0b\u306b\u3042\u308b installed \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<blockquote>\n<pre>\r\nvcpkg install <i>\u30d1\u30c3\u30b1\u30fc\u30b8\u540d<\/i> ...\r\nvcpkg --triplet <i>triplet<\/i> install <i>\u30d1\u30c3\u30b1\u30fc\u30b8\u540d<\/i> ...\r\nvcpkg install <i>\u30d1\u30c3\u30b1\u30fc\u30b8\u540d<\/i>:<i>triplet<\/i> ...\r\n<\/pre>\n<\/blockquote>\n<p>triplet \u3068\u3044\u3046\u306e\u306f\u74b0\u5883\u3092\u8868\u3059\u6587\u5b57\u5217\u3067\u3001\u4eca\u306e vcpkg \u3067\u306f\u4ee5\u4e0b\u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\u3059\u3079\u3066\u540c\u5c45\u3067\u304d\u307e\u3059\u3002\uff08<code>vcpkg\\installed\\x64-windows<\/code> \u307f\u305f\u3044\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306a\u308b\uff09<\/p>\n<ul>\n<li>x86-windows<\/li>\n<li>x86-windows-static<\/li>\n<li>x64-windows<\/li>\n<li>x64-windows-static<\/li>\n<li>x86-uwp<\/li>\n<li>x64-uwp<\/li>\n<li>arm-uwp<\/li>\n<\/ul>\n<p><code>windows<\/code> \u304c\u542b\u307e\u308c\u3066\u3044\u308b\u306e\u304c Windows \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30a2\u30d7\u30ea\u5411\u3051\u3067\u3001 <code>uwp<\/code> \u304c\u542b\u307e\u308c\u3066\u3044\u308b\u306e\u304c\u30e6\u30cb\u30d0\u30fc\u30b5\u30ebWindows\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u30a2\u30d7\u30ea\u3067\u3059\u3002 <code>-static<\/code> \u304c\u542b\u307e\u308c\u308b\u306e\u306f\u30e9\u30a4\u30d6\u30e9\u30ea\u81ea\u8eab\u3082\u30e9\u30f3\u30bf\u30a4\u30e0\u3082\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u3067\u3001\u542b\u307e\u308c\u306a\u3044\u306e\u306f\u30e9\u30a4\u30d6\u30e9\u30ea\u81ea\u8eab\u3082\u30e9\u30f3\u30bf\u30a4\u30e0\u3082DLL\u3067\u3059\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u81ea\u8eab\u304c\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u3067\u30e9\u30f3\u30bf\u30a4\u30e0\u304cDLL\u306a\u306e\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>Visual C++ \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5074\u304b\u3089\u3069\u306e triplet \u3092\u4f7f\u3046\u304b\u306f\u81ea\u52d5\u5224\u5b9a\u3055\u308c\u308b\u305d\u3046\u3067\u3059\u304c\u3001\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u7248\u304c\u4f7f\u308f\u308c\u308b\u304b DLL \u7248\u304c\u4f7f\u308f\u308c\u308b\u304b\u306f\u4eca\u306e\u3068\u3053\u308d\u81ea\u52d5\u5224\u5b9a\u3055\u308c\u306a\u3044\u3089\u3057\u304f\u3001\u5e38\u306b DLL \u7248\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u5bfe\u51e6\u3059\u308b\u306b\u306f .vcxproj \u30d5\u30a1\u30a4\u30eb\u3092\u624b\u66f8\u304d\u3067\u4fee\u6b63\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093<a href=\"https:\/\/github.com\/Microsoft\/vcpkg\/blob\/master\/docs\/users\/integration.md#triplet-selection\">\uff08\u3053\u3053\u306e\u4e00\u756a\u4e0b\uff09<\/a>\u3002<\/p>\n<hr \/>\n<p>\u3055\u3066\u3001\u3068\u308a\u3042\u3048\u305a boost \u3068 ffmpeg \u3092\u4f7f\u3044\u305f\u3044\u306e\u3067\u30d3\u30eb\u30c9\u3057\u307e\u3059\u3002<\/p>\n<blockquote>\n<pre>\r\nvcpkg install boost:x86-windows boost:x86-windows-static boost:x64-windows boost:x64-windows-static ffmpeg:x86-windows ffmpeg:x86-windows-static ffmpeg:x64-windows ffmpeg:x64-windows-static\r\n<\/pre>\n<\/blockquote>\n<p>\u30d3\u30eb\u30c9\u306b3\u6642\u9593\u304b\u304b\u3063\u3066\u307e\u3057\u305f\u3002<\/p>\n<p>UtVideo \u3092\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3057\u3066\u304d\u3066\u3001tests \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u660e\u793a\u7684\u306b\u6307\u5b9a\u3057\u3066\u3044\u305f\u8ffd\u52a0\u306e\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u8ffd\u52a0\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u8ffd\u52a0\u306e\u4f9d\u5b58\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3057\u3066\uff08\u305d\u308c\u305e\u308c\u300c\u89aa\u307e\u305f\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u898f\u5b9a\u5024\u304b\u3089\u7d99\u627f\u300d\u304c\u30c1\u30a7\u30c3\u30af\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\uff09\u3001\u3064\u3044\u3067\u306b DLL \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u5909\u66f4\u3057\u3066\u30d3\u30eb\u30c9\u3057\u3066\u307f\u308b\u3068\u2026\u3042\u3063\u3055\u308a\u30d3\u30eb\u30c9\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u697d\u3060\u3002<\/p>\n<hr \/>\n<p>\u3068\u3053\u308d\u3067 <code>vcpkg integrate install<\/code> \u3067\u3059\u304c\u3001<a href=\"https:\/\/github.com\/Microsoft\/vcpkg\/blob\/master\/docs\/users\/integration.md#triplet-selection\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a> \u306b\u3088\u308b\u3068 Visual C++ 2015\/2017 \u306e\u4e21\u65b9\u306b\u7d71\u5408\u3055\u308c\u308b\u3089\u3057\u304f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066 vcpkg \u3092\u5206\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u3002\u3053\u308c\u4e0d\u4fbf\u3060\u3063\u305f\u308a\u3057\u306a\u3044\u306e\u304b\u306a\u3041\u2026\u554f\u984c\u304c\u3042\u3063\u305f\u3089\u3068\u3063\u304f\u306b\u4fee\u6b63\u3055\u308c\u3066\u308b\u3060\u308d\u3046\u304b\u3089\u554f\u984c\u306a\u3044\u3093\u3060\u308d\u3046\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>vcpkg \u3068\u3044\u3046\u3001 Microsoft \u304c Visual C++ \u5411\u3051\u306b\u4f5c\u3063\u3066\u3044\u308b\uff08\u3064\u307e\u308a\u3001\u57fa\u672c\u7684\u306b\u306f\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30d1\u30c3\u30b1\u30fc\u30b8\u30f3\u30b0\u3059\u308b\u305f\u3081\u306e\uff09\u30d1\u30c3\u30b1\u30fc\u30b8\u30b7\u30b9\u30c6\u30e0\u304c\u3042\u308a\u307e\u3059\u3002 \u79c1\u306f UtVideo \u306e\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u90e8\u5206\u3067  [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-6561","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/6561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6561"}],"version-history":[{"count":7,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/6561\/revisions"}],"predecessor-version":[{"id":6568,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/6561\/revisions\/6568"}],"wp:attachment":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6561"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}