{"id":5665,"date":"2018-06-02T08:44:18","date_gmt":"2018-06-01T23:44:18","guid":{"rendered":"https:\/\/ukaapple.selfip.com\/support\/?p=5665"},"modified":"2018-06-16T17:35:18","modified_gmt":"2018-06-16T08:35:18","slug":"system-drawing_for_net_core","status":"publish","type":"post","link":"https:\/\/minnano.app\/support\/2018\/06\/02\/system-drawing_for_net_core\/","title":{"rendered":".NET Core\u3067System.Drawing\u3092\u4f7f\u3046 mac\u7de8"},"content":{"rendered":"<p>OS X\u306b\u304a\u3044\u3066\u3001.NET Core\u3067System.Drawing\u914d\u4e0b\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u6271\u3046\u65b9\u6cd5\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<br \/>\nOpenTK\u306b\u304a\u3044\u3066\u3001\u30c6\u30af\u30b9\u30c1\u30e3\u306a\u3069\u3092\u6271\u3046\u969b\u306b\u5fc5\u8981\u3060\u3063\u305f\u306e\u3067\u30fb\u30fb\u30fb<\/p>\n<p>\u307e\u305a\u306f\u3001X11\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<a href=\"https:\/\/www.xquartz.org\">\u3053\u3053<\/a>\u304b\u3089dmg\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306f\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u8cbc\u3063\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre><code>\r\nln -s \/opt\/X11\/include\/X11 \/usr\/local\/include\/X11\r\n<\/code><\/pre>\n<p>VSCode\u3092\u7acb\u3061\u4e0a\u3052\u3001Shift(\u21e7)+Command(\u2318)+P\u3092\u62bc\u3057\u3066 \u201cnuget\u201d \u3068\u6253\u3061\u307e\u3059\u3002\u30ea\u30b9\u30c8\u304b\u3089\u300cNuGet Package Manager: Add Package\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u203bNuGet\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3092\u60f3\u5b9a<\/p>\n<p>\u7d9a\u3044\u3066 \u201cSystem.Drawing.Common\u201d \u3068\u6253\u3063\u3066\u30ea\u30bf\u30fc\u30f3\u30ad\u30fc\u3092\u62bc\u4e0b\u3057\u3001\u300cSystem.Drawing.Common\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u53ef\u80fd\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u30ea\u30b9\u30c8\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u9078\u3073\u307e\u3059\u3002\u7279\u306b\u7406\u7531\u304c\u306a\u3051\u308c\u3070\u3044\u3061\u3070\u3093\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u9078\u3073\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089libgdiplus\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u4e8b\u524d\u306b\u8272\u3005\u306a\u4f9d\u5b58\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5165\u308c\u3066\u304b\u3089\u3001\u30bd\u30fc\u30b9\u3092\u6301\u3063\u3066\u304d\u3066\u30e1\u30a4\u30af\uff06\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u3059\u3002\u30a8\u30e9\u30fc\u3084\u30ef\u30fc\u30cb\u30f3\u30b0\u304c\u51fa\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u67d4\u8edf\u306b\u5bfe\u5fdc\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre><code>\r\n$ brew install autoconf \r\n$ brew install pkg-config \r\n$ brew install readline \r\n$ brew install automake \r\n$ brew install gettext \r\n$ brew install glib \r\n$ brew install intltool \r\n$ brew install libtool \r\n$ brew install cairo\r\n$ brew install jpeg\r\n$ brew install libtiff\r\n$ git clone https:\/\/github.com\/mono\/libgdiplus.git\r\n$ cd libgdiplus\r\n$ CPPFLAGS=\"-I\/usr\/local\/opt\/libpng12\/include -I\/opt\/X11\/include\" LDFLAGS=\"-L\/usr\/local\/opt\/libpng12\/lib -L\/usr\/X11\/lib\" .\/autogen.sh\r\n$ .\/configure\r\n$ make && make install\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>OS X\u306b\u304a\u3044\u3066\u3001.NET Core\u3067System.Drawing\u914d\u4e0b\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u6271\u3046\u65b9\u6cd5\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002 OpenTK\u306b\u304a\u3044\u3066\u3001\u30c6\u30af\u30b9\u30c1\u30e3\u306a\u3069\u3092\u6271\u3046\u969b\u306b\u5fc5\u8981\u3060\u3063\u305f\u306e\u3067\u30fb\u30fb\u30fb \u307e\u305a\u306f\u3001X11\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u3053\u3053\u304b\u3089 &hellip; <a href=\"https:\/\/minnano.app\/support\/2018\/06\/02\/system-drawing_for_net_core\/\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">.NET Core\u3067System.Drawing\u3092\u4f7f\u3046 mac\u7de8<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-5665","post","type-post","status-publish","format-standard","hentry","category-dev"],"_links":{"self":[{"href":"https:\/\/minnano.app\/support\/wp-json\/wp\/v2\/posts\/5665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/minnano.app\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/minnano.app\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/minnano.app\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/minnano.app\/support\/wp-json\/wp\/v2\/comments?post=5665"}],"version-history":[{"count":11,"href":"https:\/\/minnano.app\/support\/wp-json\/wp\/v2\/posts\/5665\/revisions"}],"predecessor-version":[{"id":5681,"href":"https:\/\/minnano.app\/support\/wp-json\/wp\/v2\/posts\/5665\/revisions\/5681"}],"wp:attachment":[{"href":"https:\/\/minnano.app\/support\/wp-json\/wp\/v2\/media?parent=5665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/minnano.app\/support\/wp-json\/wp\/v2\/categories?post=5665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/minnano.app\/support\/wp-json\/wp\/v2\/tags?post=5665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}