{"id":42351,"date":"2019-02-22T10:23:07","date_gmt":"2019-02-22T01:23:07","guid":{"rendered":"http:\/\/kako.com\/blog\/?p=42351"},"modified":"2019-02-23T09:07:50","modified_gmt":"2019-02-23T00:07:50","slug":"visual-studio-2017%e3%81%a7libcurl%e3%82%92%e4%bd%bf%e3%81%8a%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e3%80%81libcurl%e3%81%ae%e3%82%bd%e3%83%bc%e3%82%b9%e3%81%8b%e3%82%89%e3%83%93%e3%83%ab%e3%83%89","status":"publish","type":"post","link":"http:\/\/kako.com\/blog\/?p=42351","title":{"rendered":"Visual Studio 2017\u3067libcurl\u3092\u4f7f\u304a\u3046\u3068\u3057\u3066\u3001libcurl\u306e\u30bd\u30fc\u30b9\u304b\u3089\u30d3\u30eb\u30c9\u3057\u3066\u52d5\u304b\u3057\u305f"},"content":{"rendered":"<p>Visual Studio 2017\u3067libcurl\u3092\u4f7f\u304a\u3046\u3068\u3057\u3066\u3001libcurl\u306e\u30bd\u30fc\u30b9\u304b\u3089\u30d3\u30eb\u30c9\u3057\u3066\u52d5\u304b\u3057\u305f\u3002<\/p>\n<p><a href=\"http:\/\/kako.com\/blog\/?p=42347\">Google Maps\u306eGeolocation API\u3092\u53e9\u304f\u305f\u3081\u306b<\/a>\u3001curl\u30b3\u30de\u30f3\u30c9\u304b\u3089\u52d5\u304b\u3059\u4ee3\u308f\u308a\u306b\u3001libcurl\u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066\u81ea\u5206\u3067\u66f8\u3044\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e2d\u304b\u3089API\u3092\u4f7f\u3046\u3068\u3044\u3046\u306e\u3092\u3084\u308a\u305f\u3044\u3002<br \/>\n\u3068\u3044\u3046\u304b\u3001<a href=\"http:\/\/www.kako.com\/neta\/2012-015\/2012-015.html\">\u524d\u306b\u65e2\u306b\u3084\u3063\u3066\u305f<\/a>\u3002<\/p>\n<p>\u3057\u304b\u3057Visual Studio 2017\u3060\u3068\u53e4\u3044libcurl\u3092\u30ea\u30f3\u30af\u3067\u304d\u306a\u304f\u3066\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002\u6700\u65b0\u306elibcurl\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308b\u3088\u3046\u3060\u3002<br \/>\n<!--more--><\/p>\n<p>\u516c\u5f0f\u3067\u914d\u5e03\u3055\u308c\u3066\u308bWindows\u7248\u30d0\u30a4\u30ca\u30ea\u306fMingw\u7528\u3067\u3001\u62e1\u5f35\u5b50\u304c.a\u306b\u306a\u3063\u3066\u3044\u308b\u3002<br \/>\n\u5f37\u5f15\u306b.lib\u306b\u30ea\u30cd\u30fc\u30e0\u3059\u308c\u3070\u30ea\u30f3\u30af\u3067\u304d\u308b\u306f\u305a\u3060\u3063\u305f\u304c\u3001\u3084\u3063\u3066\u307f\u308b\u3068\u30ea\u30f3\u30af\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3002<\/p>\n<p>\u7d50\u5c40\u305d\u306e\u914d\u5e03\u3055\u308c\u3066\u3044\u308bWindows\u7248\u30d0\u30a4\u30ca\u30ea\u306f\u3046\u307e\u304f\u30ea\u30f3\u30af\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089Visual Studio 2017\u3067\u30d3\u30eb\u30c9\u3057\u3066\u307f\u305f\u3002<br \/>\n\u3057\u304b\u3057\u3001\u3069\u3046\u3082\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u3002\u30d5\u30a9\u30eb\u30c0\u5185\u306eVC15\u30d5\u30a9\u30eb\u30c0\u306esln\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u30d3\u30eb\u30c9\u3059\u308b\u3060\u3051\u304b\u3068\u601d\u3063\u305f\u3089\u9055\u3046\u3088\u3046\u3060\u3002<\/p>\n<p>\u30cd\u30c3\u30c8\u3067\u691c\u7d22\u3057\u3066\u30d3\u30eb\u30c9\u3067\u304d\u308b\u65b9\u6cd5\u304c\u3042\u308b\u306e\u304c\u898b\u3064\u304b\u3063\u305f\u3002<br \/>\n\u2192 <a href=\"https:\/\/medium.com\/@chuy.max\/compile-libcurl-on-windows-with-visual-studio-2017-x64-and-ssl-winssl-cff41ac7971d\">Compile libcurl on Windows with Visual Studio 2017 and SSL (WinSSL)<\/a><\/p>\n<p>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u30d5\u30a9\u30eb\u30c0\u30c4\u30ea\u30fc\u5185\u306e\u30b3\u30f3\u30d5\u30a3\u30ae\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u7528\u306ebat\u30d5\u30a1\u30a4\u30eb(buildconf.bat)\u3092\u5b9f\u884c\u3057\u3066\u304b\u3089winbuild\u30d5\u30a9\u30eb\u30c0\u3067Makefile\u3092nmake\u3067\u6307\u5b9a\u3057\u3066\u52d5\u304b\u305b\u3070\u30d3\u30eb\u30c9\u3067\u304d\u308b\u3089\u3057\u3044\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\ngit clone https:\/\/github.com\/curl\/curl.git\r\n<\/pre>\n<p>\u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u53d6\u5f97\u3057\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nbuildconf.bat\r\ncd winbuild\r\nnmake \/f Makefile.vc mode=dll MACHINE=x64\r\n<\/pre>\n<p>\u3068\u3059\u308c\u3070\u3088\u3044\u3089\u3057\u3044\u3002<\/p>\n<p>\u3057\u304b\u3057zip\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30bd\u30fc\u30b9\u3060\u3068\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u3002Git for Windows\u3067\u53d6\u3063\u305f\u30bd\u30fc\u30b9\u304c\u5fc5\u8981\u3060\u3063\u305f\u3002(\u4e00\u7dd2\u3060\u3068\u601d\u3046\u306e\u3060\u3051\u3069\u3001\u306a\u305c?)<\/p>\n<p>git\u3067\u53d6\u3063\u3066\u304d\u305f\u30bd\u30fc\u30b9\u306fnmake\u3067\u3046\u307e\u304f\u30d3\u30eb\u30c9\u3067\u304d\u305f\u3002<br \/>\n\u4e0a\u8a18\u306e\u4f8b\u3060\u3068dll\u7248\u3092\u30d3\u30eb\u30c9\u3057\u3066\u3044\u308b\u306e\u3060\u304c\u3001\u81ea\u5206\u306fstatic\u7248\u3092\u30d3\u30eb\u30c9\u3057\u305f\u3002<br \/>\n64bit\u7248\u306832bit\u7248\u3068\u3092\u30d3\u30eb\u30c9\u3057\u305f\u304c\u3001\u81ea\u5206\u306f32bit\u7248\u3092\u4f7f\u3046\u3002(\u4e00\u7dd2\u306b\u4f7f\u304a\u3046\u3068\u3057\u3066\u308bJSON\u7528\u306eJsmn\u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d0\u30a4\u30ca\u30ea\u304c32bit\u7248\u3092\u4f7f\u3063\u3066\u3044\u308b\u304b\u3089\u3060)<br \/>\n\u30d3\u30eb\u30c9\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u3053\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nnmake \/f Makefile.vc mode=static MACHINE=x86\r\n<\/pre>\n<p>\u3057\u304b\u3057\u3057\u304b\u3057\u3001\u30ea\u30f3\u30af\u3059\u308b\u3068\u3053\u308c\u3082\u6700\u521d\u306e\u30d0\u30a4\u30ca\u30ea\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f.a\u30d5\u30a1\u30a4\u30eb\u3068\u540c\u69d8\u306b\u30ea\u30f3\u30af\u6642\u306b\u30a8\u30e9\u30fc\u306b\u3063\u3066\u3057\u307e\u3063\u305f\u3002<\/p>\n<p>\u7d50\u5c40git\u3067\u53d6\u3063\u3066\u304d\u305f\u30bd\u30fc\u30b9\u3092nmake\u3067\u30d3\u30eb\u30c9\u3059\u308b\u3068\u304d\u306bdll\u7248\u3092\u30d3\u30eb\u30c9\u3057\u305f\u3002<br \/>\ndll\u306e\u30d3\u30eb\u30c9\u65b9\u6cd5\u306f\u3053\u306e\u3088\u3046\u306b\u3057\u305f\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nnmake \/f Makefile.vc mode=dll MACHINE=x86\r\n<\/pre>\n<p>dll\u3092\u547c\u3073\u51fa\u3059\u30ea\u30f3\u30af\u30bf\u30a4\u30d7\u306e.lib\u30d5\u30a1\u30a4\u30eb\u3092\u30ea\u30f3\u30af\u3059\u308b\u5f62\u3067\u5229\u7528\u3057\u305f\u3089\u30ea\u30f3\u30af\u30a8\u30e9\u30fc\u304c\u51fa\u305a\u306b\u7121\u4e8b\u306blibcurl\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u305f\u3088\u3046\u3060\u3002<br \/>\n\u89e3\u6c7a\u3060\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001static\u7248\u306elibcurl\u304c\u30ea\u30f3\u30af\u3067\u304d\u306a\u3044\u8b0e\u304c\u6b8b\u3063\u3066\u3057\u307e\u3063\u305f\u3002<\/p>\n<p>libcurl\u306estatic lib\u306e\u30ea\u30f3\u30af\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u306f\u3001\u5185\u90e8\u3067\u4f7f\u3063\u3066\u3044\u308blibssh2\u3068\u304b\u5e7e\u3064\u304b\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u8db3\u3089\u306a\u3044\u305b\u3044\u304b\u3089\u304b\u306a\u3042\u3001\u3068\u601d\u3063\u3066\u305d\u308c\u3089\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3082\u30d0\u30a4\u30ca\u30ea\u7248\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304d\u3066\u30ea\u30f3\u30af\u3092\u3057\u3066\u307f\u305f\u306e\u3060\u304c\u3001\u672a\u89e3\u6c7a\u306e\u30b7\u30f3\u30dc\u30eb\u306e\u30a8\u30e9\u30fc\u304c\u5897\u3048\u305f\u3002<\/p>\n<p>&#8212;<br \/>\n\u3042\u3068\u3001Visual Studio 2017\u306e\u7d71\u5408\u74b0\u5883\u3067studio.h\u3068\u304b\u306e\u30d8\u30c3\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u554f\u984c\u306b\u906d\u9047\u3057\u305f\u3002\u666e\u6bb5\u306f\u7d71\u5408\u74b0\u5883\u306e\u8a2d\u5b9a\u3068\u304b\u306e\u554f\u984c\u3092\u907f\u3051\u308b\u305f\u3081\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067nmake\u3092\u4ecb\u3057\u3066Visual Studio\u3092\u4f7f\u3046\u3053\u3068\u304c\u591a\u3044\u306e\u3060\u3051\u3069\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u4f7f\u3046\u6642\u306b\u306fstdio.h\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3068\u304b\u306e\u30a8\u30e9\u30fc\u306b\u906d\u9047\u3057\u305f\u3053\u3068\u306a\u3044\u306e\u306b\u306a\u3042\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Visual Studio 2017\u3067libcurl\u3092\u4f7f\u304a\u3046\u3068\u3057\u3066\u3001libcurl\u306e\u30bd\u30fc\u30b9\u304b\u3089\u30d3\u30eb\u30c9\u3057\u3066\u52d5\u304b\u3057\u305f\u3002 Google Maps\u306eGeolocation API\u3092\u53e9\u304f\u305f\u3081\u306b\u3001curl\u30b3\u30de\u30f3\u30c9\u304b\u3089\u52d5\u304b\u3059\u4ee3\u308f\u308a\u306b\u3001 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,14],"tags":[],"_links":{"self":[{"href":"http:\/\/kako.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/42351"}],"collection":[{"href":"http:\/\/kako.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kako.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kako.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/kako.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=42351"}],"version-history":[{"count":4,"href":"http:\/\/kako.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/42351\/revisions"}],"predecessor-version":[{"id":42355,"href":"http:\/\/kako.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/42351\/revisions\/42355"}],"wp:attachment":[{"href":"http:\/\/kako.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=42351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kako.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=42351"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kako.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=42351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}