{"id":748,"date":"2020-05-14T11:20:39","date_gmt":"2020-05-14T02:20:39","guid":{"rendered":"http:\/\/it-style.jp\/?p=748"},"modified":"2020-05-14T11:26:39","modified_gmt":"2020-05-14T02:26:39","slug":"opencv%e3%81%a8visualstudio2019-c","status":"publish","type":"post","link":"https:\/\/it-style.jp\/?p=748","title":{"rendered":"OpenCV\u3068VisualStudio2019 C++"},"content":{"rendered":"<p>\u3044\u307e\u3067\u3082MFC\u304b\u3089\u629c\u3051\u3089\u308c\u306a\u3044&#x2122;\u3080\u3089\u3088 \u3067\u3059\u3002<\/p>\n<p>VisualStudio2019\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3057\u3070\u3089\u304f\u7d4c\u3061\u307e\u3059\u304c\u3001OpenCV\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u306e\u30de\u30c3\u30c1\u30f3\u30b0\u306e\u8a18\u4e8b\u304c\u3042\u307e\u308a\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u73fe\u72b6\u306e\u6700\u65b0\u306f OpenCV 4.3.0\u00a0 \u00a0 as of May.2020<\/p>\n<p>\u3053\u308c\u3092\u5c55\u958b\u3059\u308b\u3068\u3001<\/p>\n<p id=\"XuszStj\"><img loading=\"lazy\" decoding=\"async\" width=\"186\" height=\"315\" class=\"alignnone size-full wp-image-749 \" src=\"https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca34f88209.png\" alt=\"\" srcset=\"https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca34f88209.png 186w, https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca34f88209-177x300.png 177w\" sizes=\"auto, (max-width: 186px) 100vw, 186px\" \/><\/p>\n<p>VC14\u3068VC15\u304c\u898b\u3048\u307e\u3059\u3002 X64\u306e\u5834\u5408\u3067\u3059\u3002<\/p>\n<p>\u3055\u3066VC15\u304cVisualStudio2017\u3067\u4f7f\u3048\u308b\u3053\u3068\u306b\u306a\u3063\u3066\u307e\u3059\u304c\u3001\u3055\u30662019\u306f\uff1f\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u30dd\u30a4\u30f3\u30c8\u3060\u3051\u304a\u3055\u3089\u3044\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>OvenCV\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h3>\n<p>&nbsp;<\/p>\n<p>\u3053\u308c\u306f\u3001https:\/\/opencv.org\/releases\/<\/p>\n<p id=\"HmXzpWI\"><img loading=\"lazy\" decoding=\"async\" width=\"1120\" height=\"701\" class=\"alignnone size-full wp-image-752 \" src=\"https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca4c42f8da.png\" alt=\"\" srcset=\"https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca4c42f8da.png 1120w, https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca4c42f8da-300x188.png 300w, https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca4c42f8da-768x481.png 768w, https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca4c42f8da-1024x641.png 1024w\" sizes=\"auto, (max-width: 1120px) 100vw, 1120px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u3053\u3053\u304b\u3089\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u305d\u306e\u3082\u306e\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u306b\u5f93\u3044\u307e\u3059\u304c\u3001OpenCV\u3068\u304b\u3044\u308d\u3044\u308d\u5927\u7269\u306f\u3042\u307e\u308a\u5965\u306b\u5165\u308c\u308b\u3068\u5206\u308a\u306b\u304f\u3044\u306e\u3067\u3001\u79c1\u306f\u53ef\u80fd\u306a\u3089\u30eb\u30fc\u30c8\u306b\u51fa\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>D:\\opencv<\/p>\n<p>e.g. Anaconda\u3001Python\u3001minGW\u3001\u3002\u3002\u3002\u30a7\u30c1\u30a7\u30c8\u30e9\u30a7\u30c1\u30a7\u30c8\u30e9<\/p>\n<p>&nbsp;<\/p>\n<h3>Visual Studio\u306e\u8a2d\u5b9a<\/h3>\n<p>\u5e38\u306b\u89e6\u3063\u3066\u3044\u308b\u65b9\u306f\u9593\u9055\u3048\u307e\u305b\u3093\u304c\u3001\u305f\u307e\u306b\u89e6\u308b\u3068\u3044\u3064\u3082\u6700\u521d\u306b\u30cf\u30de\u308a\u307e\u3059\u3002<\/p>\n<p>\u69cb\u6210\u306f\u3001 Debug \u3068 Release \u304c\u3042\u308b\u306e\u3067\u3001\u3053\u3053\u3067\u306f Debug \u69cb\u6210\u306e\u56f3\u3092\u4f8b\u3068\u3057\u3066\u307e\u3059\u3002\u307e\u305f\u3001 \u305d\u3082\u305d\u3082 X64 \u69cb\u6210 \u3067\u3059\u3002<\/p>\n<p id=\"GlBwNuR\"><img loading=\"lazy\" decoding=\"async\" width=\"817\" height=\"64\" class=\"alignnone size-full wp-image-759 \" src=\"https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca94ccf910.png\" alt=\"\" srcset=\"https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca94ccf910.png 817w, https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca94ccf910-300x24.png 300w, https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca94ccf910-768x60.png 768w\" sizes=\"auto, (max-width: 817px) 100vw, 817px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u30d1\u30b9\u306e\u8a2d\u5b9a\u3067\u3059\u3002<\/p>\n<p>GoTo\uff1a\u00a0 \u00a0\u30d7\u30ed\u30b8\u30a7\u30af\u30c8&gt;\u30d7\u30ed\u30d1\u30c6\u30a3<\/p>\n<p id=\"goWmXVX\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"551\" class=\"alignnone size-full wp-image-757 \" src=\"https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca7f59afb4.png\" alt=\"\" srcset=\"https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca7f59afb4.png 800w, https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca7f59afb4-300x207.png 300w, https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca7f59afb4-768x529.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>\u3053\u3053\u306e<\/p>\n<p>\u69cb\u6210\u30d7\u30ed\u30d1\u30c6\u30a3\uff1eVC++\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff1a \u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3001 \u30e9\u30a4\u30d6\u30e9\u30ea\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/p>\n<p>\u305d\u3053\u3078\u305d\u308c\u305e\u308c\u8d64\u7dda\u306e\u30d5\u30a9\u30eb\u30c0\u540d\u3092\u8ffd\u52a0<\/p>\n<p>&nbsp;<\/p>\n<p>\u305d\u3057\u3066<\/p>\n<p id=\"WBqIqkN\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"551\" class=\"alignnone size-full wp-image-758 \" src=\"https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca842026ea.png\" alt=\"\" srcset=\"https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca842026ea.png 800w, https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca842026ea-300x207.png 300w, https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebca842026ea-768x529.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>\u69cb\u6210\u30d7\u30ed\u30d1\u30c6\u30a3\uff1e\u30ea\u30f3\u30ab\u30fc\uff1e\u5165\u529b\uff1a<\/p>\n<p>\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30d0\u30c3\u30b0\u3067\u306f\u00a0 opencv_world430d.lib\u00a0 \u3068 \u2019\uff44\u2019 \u306e\u4ed8\u3044\u305f\u65b9\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>Windows \u30b7\u30b9\u30c6\u30e0Path\u306e\u8a2d\u5b9a<\/h3>\n<p>&nbsp;<\/p>\n<p id=\"KoQqGBd\"><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"425\" class=\"alignnone size-full wp-image-761 \" src=\"https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebcaa2186566.png\" alt=\"\" srcset=\"https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebcaa2186566.png 677w, https:\/\/it-style.jp\/wp-content\/uploads\/2020\/05\/img_5ebcaa2186566-300x188.png 300w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/p>\n<p>PATH\u306b\u00a0 \u00a0 \u00a0\\opencv\\build\\x64\\vc15\\bin<\/p>\n<p>\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u3067\u3001Visual Studio 2019 C++\u74b0\u5883\u304b\u3089OpenCV\u306f\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<p>\u3053\u3046\u3044\u3046\u91cd\u3044\u7cfb\u540c\u58eb\u3092\u7d44\u307f\u5408\u308f\u305b\u305f\u74b0\u5883\u3092\u89e6\u3063\u3066\u3044\u308b\u3068\u3044\u3064\u3082\u6700\u65b0\u306ePC\u304c\u6b32\u3057\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3067\u3082\u81ea\u5206\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u60aa\u3055\u3092\u5148\u306b\u89e3\u6c7a\u3057\u306a\u3044\u3068\u5b9d\u306e\u6301\u3061\u8150\u308c\u306b\u30fb\u30fb\u30fb\u3068\u53cd\u7701\u3057\u3066\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3044\u307e\u3067\u3082MFC\u304b\u3089\u629c\u3051\u3089\u308c\u306a\u3044&#x2122;\u3080\u3089\u3088 \u3067\u3059\u3002 VisualStudio2019\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3057\u3070\u3089\u304f\u7d4c\u3061\u307e\u3059\u304c\u3001OpenCV\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u306e\u30de\u30c3\u30c1\u30f3\u30b0\u306e\u8a18\u4e8b\u304c\u3042\u307e\u308a\u3042\u308a\u307e\u305b\u3093\u3002 \u73fe\u72b6\u306e\u6700\u65b0\u306f OpenC [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":752,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"vkexunit_cta_each_option":"0","footnotes":""},"categories":[12],"tags":[],"class_list":["post-748","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-desktopapp"],"_links":{"self":[{"href":"https:\/\/it-style.jp\/index.php?rest_route=\/wp\/v2\/posts\/748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it-style.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it-style.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it-style.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/it-style.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=748"}],"version-history":[{"count":6,"href":"https:\/\/it-style.jp\/index.php?rest_route=\/wp\/v2\/posts\/748\/revisions"}],"predecessor-version":[{"id":763,"href":"https:\/\/it-style.jp\/index.php?rest_route=\/wp\/v2\/posts\/748\/revisions\/763"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/it-style.jp\/index.php?rest_route=\/wp\/v2\/media\/752"}],"wp:attachment":[{"href":"https:\/\/it-style.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it-style.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it-style.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}