{"id":684,"date":"2009-07-23T13:50:25","date_gmt":"2009-07-23T04:50:25","guid":{"rendered":"https:\/\/www.iss.ai\/?p=684"},"modified":"2009-07-23T19:17:05","modified_gmt":"2009-07-23T10:17:05","slug":"pythonmingwindows-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e7%b7%a8","status":"publish","type":"post","link":"https:\/\/www.iss.ai\/?p=684","title":{"rendered":"python+ming+windows \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7de8"},"content":{"rendered":"\t\t\t\t<p>\u307e\u305a\u306f ming\u3092\u5c0e\u5165\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\uff0e\u4e0b\u8a18\u30b5\u30a4\u30c8\u304b\u3089\u305f\u3069\u3063\u3066\u73fe\u6642\u70b9\u306e\u6700\u65b0\u7248 ming-0.4.2.tar.gz\u3000\u3092\u62fe\u3063\u3066\u304d\u305f\uff0e<\/p>\n\t\t\t\t<p><a style=\"color: #39077a; border: 0px initial initial;\" href=\"http:\/\/www.sf.net\/projects\/ming\">http:\/\/www.sf.net\/projects\/ming<\/a><\/p>\n\t\t\t\t<p>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306a\u306e\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\uff0e<br \/>\n\t\t\t\t\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u306e\uff30\uff23\u74b0\u5883\u306f\u6b21\u306e\u3088\u3046\u306a\u3082\u306e\u3060\uff0e<\/p>\n\t\t\t\t<ul>\n\t\t\t\t<li>Windows Vista SP2<\/li>\n\t\t\t\t<li>mingw32+msys<\/li>\n\t\t\t\t<li>Python 2.54<\/li>\n\t\t\t\t<li>cygwin<\/li>\n\t\t\t\t<\/ul>\n\t\t\t\t<p>msys\u4e0a\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u4ee5\u4e0b\u3092\u305f\u305f\u304f<\/p>\n\t\t\t\t<p>tar xvfz ming-0.4.2.tar.gz<br \/>\n\t\t\t\tcd ming-0.4.2<br \/>\n\t\t\t\t.\/configure &#8211;prefix=\/usr\/local &#8211;enable-python<\/p>\n\t\t\t\t<p>\u3057\u304b\u3057Python\u306e\u3068\u3053\u308d\u3067\u30a8\u30e9\u30fc\u304c\u5410\u304d\u3060\u3055\u308c\u6b62\u307e\u3063\u3066\u3057\u307e\u3046\uff0e<br \/>\n\t\t\t\t\u3069\u3046\u3084\u3089\u30d1\u30b9\u306e\u4ed8\u3051\u65b9\u306e\u9055\u3044\uff08msys vs windows\uff09\u304c\u539f\u56e0\u306e\u3088\u3046\u3060\uff0e<br \/>\n\t\t\t\tPython\u3082mingw\u306a\u74b0\u5883\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u3044\u308c\u3070\u3044\u3044\u306e\u3060\u308d\u3046\u304c\uff0c<br \/>\n\t\t\t\tWindows\u7528\u306e\u6a19\u6e96CPython\u3060\u304b\u3089 VC\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u3066\u3044\u308b\u306b\u9055\u3044\u306a\u3044\uff0e<br \/>\n\t\t\t\t\u8abf\u67fb\u3068\u601d\u8003\u932f\u8aa4\u306e\u7d50\u679c\uff0c\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u30b3\u30f3\u30d5\u30a3\u30b0\u3092\u514b\u670d\u3057\u305f\uff0e<\/p>\n\t\t\t\t<table border=\"0\">\n\t\t\t\t<tbody>\n\t\t\t\t<tr>\n\t\t\t\t<td>.\/configure &#8211;enable-python &#8211;prefix=\/usr\/local PYTHON_VERSION=&#8217;2.5&#8242; PYTHON_CPPFLAGS=&#8217;-Ic:\\cygwin\\usr\\local\\python25\\include&#8217; PYTHON_LDFLAGS=&#8217;-Lc:\\cygwin\\usr\\local\\python25\\libs -Lc:\\msys\\1.0\\local\\lib -lpython25&#8242; PYTHON_SITE_PKG=&#8217;c:\\cygwin\\usr\\local\\python25\\lib\\site-packages&#8217; CFLAGS=&#8217;-I\/c\/msys\/1.0\/local\/include&#8217; CXXFLAGS=&#8217;-I\/c\/msys\/1.0\/local\/include&#8217; CPPFLAGS=&#8217;-I\/c\/msys\/1.0\/local\/include&#8217; LDFLAGS=&#8217;-L\/c\/msys\/1.0\/local\/lib&#8217;<\/td>\n\t\t\t\t<\/tr>\n\t\t\t\t<\/tbody>\n\t\t\t\t<\/table>\n\t\t\t\t<p>python\u306e\u30d1\u30b9\u304c\u300cc:\/cygwin\/usr\/local\/python25\u300d\u3068\u306a\u3063\u3066\u3044\u308b\u304c\uff0c<br \/>\n\t\t\t\tpython\u306fCygwin\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3067\u5165\u308c\u305f\u3082\u306e\u3067\u306f\u306a\u304f Python\u306e\u30b5\u30a4\u30c8\u304b\u3089<br \/>\n\t\t\t\tmsi\u5f62\u5f0f\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u308b\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3082\u306e\u3067\u3042\u308b\u3053\u3068\u3092\u88dc\u8db3\u3057\u3066\u304a\u304f\uff0e<br \/>\n\t\t\t\t\u3082\u3061\u308d\u3093 python25\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0\u306a\u3069\uff0c\u305d\u308c\u305e\u308c\u306e\u9069\u5207\u306a\u30d5\u30a9\u30eb\u30c0\u540d\u306b\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\uff0e<br \/>\n\t\t\t\t\u30b3\u30f3\u30d5\u30a3\u30b0\u304c\u901a\u3063\u305f\u3089make\u3059\u308b\uff0e<\/p>\n\t\t\t\t<table border=\"0\">\n\t\t\t\t<tbody>\n\t\t\t\t<tr>\n\t\t\t\t<td>make<\/td>\n\t\t\t\t<\/tr>\n\t\t\t\t<\/tbody>\n\t\t\t\t<\/table>\n\t\t\t\t<p>\u3057\u304b\u3057\uff0c\u3053\u3053\u3067\u3082\u8e93\u304f\u3053\u3068\u306b\u306a\u308b\uff0e<br \/>\n\t\t\t\tpy_ext \u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u8eab\u304c\u3046\u307e\u304f\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u304d\u306a\u3044\uff0e<br \/>\n\t\t\t\t\u3053\u3053\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\uff0e<br \/>\n\t\t\t\tpy_ext\/setup.py \u3092\u958b\u304d\uff0c\u4ee5\u4e0b\u306e\uff12\u304b\u6240\u3092\u4fee\u6b63\uff0e<br \/>\n\t\t\t\t10\u884c\u76ee<\/p>\n\t\t\t\t<table border=\"0\">\n\t\t\t\t<tbody>\n\t\t\t\t<tr>\n\t\t\t\t<td>\u4fee\u6b63\u524d\uff1a<br \/>\n\t\t\t\tsrcdir = &#8220;\/c\/tmp\/ming-0.4.2\/py_ext&#8221;<\/td>\n\t\t\t\t<\/tr>\n\t\t\t\t<tr>\n\t\t\t\t<td>\u4fee\u6b63\u5f8c\uff1a<br \/>\n\t\t\t\tsrcdir = &#8220;c:\\\\tmp\\\\ming-0.4.2\\\\py_ext&#8221;<\/td>\n\t\t\t\t<\/tr>\n\t\t\t\t<\/tbody>\n\t\t\t\t<\/table>\n\t\t\t\t<p>30\u884c\u76ee<\/p>\n\t\t\t\t<table border=\"0\">\n\t\t\t\t<tbody>\n\t\t\t\t<tr>\n\t\t\t\t<td>\u4fee\u6b63\u524d\uff1a<br \/>\n\t\t\t\tlibrary_dirs=[&#8216;..\/src\/.libs&#8217;,&#8217;\/c\/msys\/1.0\/local\/lib\/&#8217;],<\/td>\n\t\t\t\t<\/tr>\n\t\t\t\t<tr>\n\t\t\t\t<td>\u4fee\u6b63\u5f8c\uff1a<br \/>\n\t\t\t\tlibrary_dirs=[&#8216;..\/src\/.libs&#8217;,&#8217;c:\\\\msys\\\\1.0\\local\\\\lib\/&#8217;],<\/td>\n\t\t\t\t<\/tr>\n\t\t\t\t<\/tbody>\n\t\t\t\t<\/table>\n\t\t\t\t<p>\u518d\u5ea6 make \u3059\u308c\u3070\uff0c\u3059\u3079\u3066\u306e\u30d3\u30eb\u30c9\u306f\u6210\u529f\u3057\u305f\uff0e<br \/>\n\t\t\t\t\u6700\u5f8c\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n\t\t\t\t<table border=\"0\">\n\t\t\t\t<tbody>\n\t\t\t\t<tr>\n\t\t\t\t<td>make install<\/td>\n\t\t\t\t<\/tr>\n\t\t\t\t<\/tbody>\n\t\t\t\t<\/table>\n\t\t\t\t<p>\u3088\u3046\u3084\u304f ming+python\u3092windows\u4e0a\u3067\u8a66\u305b\u308b\u3068\u304d\u304c\u6765\u305f\uff0e<\/p>\n\t\t\t\t<p><a href=\"https:\/\/www.iss.ai\/?p=735\">ming+python+OpenCV\u3067\u904a\u3076<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u307e\u305a\u306f ming\u3092\u5c0e\u5165\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\uff0e\u4e0b\u8a18\u30b5\u30a4\u30c8\u304b\u3089\u305f\u3069\u3063\u3066\u73fe\u6642\u70b9\u306e\u6700\u65b0\u7248 ming-0.4.2.tar.gz\u3000\u3092\u62fe\u3063\u3066\u304d\u305f\uff0e http:\/\/www.sf.net\/projects\/ming \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306a\u306e\u3067\u30b3\u30f3\u30d1 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,3],"tags":[18,17],"class_list":["post-684","post","type-post","status-publish","format-standard","hentry","category-soft","category-tech","tag-ming","tag-python"],"_links":{"self":[{"href":"https:\/\/www.iss.ai\/index.php?rest_route=\/wp\/v2\/posts\/684","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.iss.ai\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.iss.ai\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.iss.ai\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.iss.ai\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=684"}],"version-history":[{"count":13,"href":"https:\/\/www.iss.ai\/index.php?rest_route=\/wp\/v2\/posts\/684\/revisions"}],"predecessor-version":[{"id":765,"href":"https:\/\/www.iss.ai\/index.php?rest_route=\/wp\/v2\/posts\/684\/revisions\/765"}],"wp:attachment":[{"href":"https:\/\/www.iss.ai\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.iss.ai\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=684"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.iss.ai\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}