<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>aruy.net &#187; windows</title>
	<atom:link href="http://aruy.net/archives/tag/windows/feed" rel="self" type="application/rss+xml" />
	<link>http://aruy.net</link>
	<description>ちゃんとプログラムが書けるようになりたい。</description>
	<lastBuildDate>Tue, 15 Nov 2011 15:00:23 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://aruy.net/archives/tag/windows/feed" />
		<item>
		<title>twitvim</title>
		<link>http://aruy.net/archives/565</link>
		<comments>http://aruy.net/archives/565#comments</comments>
		<pubDate>Fri, 01 Oct 2010 14:34:38 +0000</pubDate>
		<dc:creator>aruy</dc:creator>
				<category><![CDATA[Vim]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://aruy.net/?p=565</guid>
		<description><![CDATA[めずらしくwindows vim上で動くtwitterクライアント twitvim が最近お気に入りなので、新PCにも導入しようと思ったのですが、ちょっと引っかかったので、忘れないようにメモ。 まずは、最新版のソースを以 [...]<p><a href="http://aruy.net/archives/565">twitvim</a> is a post from: <a href="http://aruy.net">aruy.net</a></p>
]]></description>
			<content:encoded><![CDATA[<p>めずらしくwindows</p>
<p>vim上で動くtwitterクライアント twitvim が最近お気に入りなので、新PCにも導入しようと思ったのですが、ちょっと引っかかったので、忘れないようにメモ。</p>
<p>まずは、最新版のソースを以下からダウンロード<br />
<a href="http://www.vim.org/scripts/script.php?script_id=2204">http://www.vim.org/scripts/script.php?script_id=2204</a></p>
<p>ダウンロードしたファイルをvimで開き :source % でインストール</p>
<p>これで、インストールは完了なのですが、実行するとopen sslがないとのエラーがでます。helpを見ると open ssl と curl が必要とのこと。</p>
<p>いくつかのサイトからバイナリをダウンロードさせて頂いて試してみたのですが、最終的に以下のサイトで配布されているcURLとopen ssl をvim のプログラムディレクトリに放りこむ事で解決しました。<br />
<a href="http://www.limber.jp/?Software%2FOpenSSL%20for%20Windows">http://www.limber.jp/?Software%2FOpenSSL%20for%20Windows<br />
</a></p>
<p><a href="http://aruy.net/archives/565">twitvim</a> is a post from: <a href="http://aruy.net">aruy.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://aruy.net/archives/565/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://aruy.net/archives/565" />
	</item>
		<item>
		<title>RMagickをインストールした。</title>
		<link>http://aruy.net/archives/221</link>
		<comments>http://aruy.net/archives/221#comments</comments>
		<pubDate>Fri, 27 Mar 2009 02:17:46 +0000</pubDate>
		<dc:creator>aruy</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://aruy.net/?p=221</guid>
		<description><![CDATA[同僚がPythonのPILで遊んでいて楽しそうだったので、 Rubyでも画像処理したい！と思いRmagickをインストールしてみました。 macでは、以下のコマンドでサクっとインストール $ sudo port inst [...]<p><a href="http://aruy.net/archives/221">RMagickをインストールした。</a> is a post from: <a href="http://aruy.net">aruy.net</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://mojalog.com/2009/03/python_pilhowto.html" class="broken_link">同僚がPythonのPILで遊んでいて楽しそう</a>だったので、<br />
Rubyでも画像処理したい！と思いRmagickをインストールしてみました。</p>
<p>macでは、以下のコマンドでサクっとインストール</p>
<blockquote><p>
$ sudo port install ImageMagick<br />
$ sudo gem install RMagick
</p></blockquote>
<p>適当な画像をリサイズし動作確認</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rubygems'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'RMagick'</span>
&nbsp;
cat = <span style="color:#6666ff; font-weight:bold;">Magick::ImageList</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'ho.jpg'</span><span style="color:#006600; font-weight:bold;">&#41;</span>
cat.<span style="color:#9900CC;">resize</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">0.1</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">display</span>
<span style="color:#CC0066; font-weight:bold;">exit</span></pre></div></div>

<p>リサイズされた画像が表示されました。</p>
<p>で、つまづいたのがWindows<br />
とりあえず、ImageMagickをインストールと思い<a href="http://www.imagemagick.org/script/index.php">http://www.imagemagick.org/script/index.php</a>より最新版をダウンロードしインストール。<br />
続いてRmagick。<a href="http://rubyforge.org/frs/?group_id=12&#038;release_id=30561">RubyForge</a>よりrmagick-2.9.0-doc.tar.gzwをダウンロード、一向に落ちてこない。<br />
しょうがないので、「<a href="http://www.google.co.jp/search?hl=ja&#038;client=firefox-a&#038;rls=org.mozilla%3Aja%3Aofficial&#038;hs=Y2g&#038;q=RMagick-2.9.0-ImageMagick-6.4.8-6-Q8.zip%E3%80%80mirror&#038;btnG=%E6%A4%9C%E7%B4%A2&#038;lr=lang_ja">RMagick-2.9.0-ImageMagick-6.4.8-6-Q8.zip　mirror</a>」でググったミラーからダウンロード</p>
<p>どうやらWindows版のRMagickはImageMagickのバージョンの整合がシビアらしくImageMagickが同梱されいた為、先にインストールしたImageMagickをアンインストール。ついてきたImageMagick-6.4.8-6-Q8-windows-dll.exeを実行<br />
インストールできたら、以下のコマンドでrmagickをインストール</p>
<blockquote><p>
gem install rmagick-2.9.0-x86-mswin32.gem
</p></blockquote>
<p>これで、準備完了と思いmacと同じスクリプトを実行してみたのですが、なんかエラー</p>
<blockquote><p>プロシージャエントリポイントtransparentPaintImageChroma がダイナミックリンクライブラリ　CORE_RL_Magick_.dllから見つかりませんでした</p></blockquote>
<p>ImageMagickが見えないのかな？とPATHを確認したりしてみたのですが問題なさそう。<br />
（今考えると、DLLから・・・ってことだからDLLは見えてるわけでとんだお門違いですね。）</p>
<p>手詰まったのでGoogle先生に聞いてみたら、<a href="http://blog.livedoor.jp/maru_tak/archives/50666630.html">こちら</a>にそのままズバリの記事を発見。<br />
RMagickがVC++ 2008 でコンパイルされていることが問題とのことなので、<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&#038;displaylang=en">Microsoft Visual C++ 2008 Redistributable Package (x86)</a>をインストール<br />
無事、動作確認ができました。</p>
<p>さて、これからがなにするかが問題だ。</p>
<p><a href="http://aruy.net/archives/221">RMagickをインストールした。</a> is a post from: <a href="http://aruy.net">aruy.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://aruy.net/archives/221/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://aruy.net/archives/221" />
	</item>
	</channel>
</rss>

