<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Aaron Feng: Gecode/r Under Mac OSX</title>
    <link>http://www.aaronfeng.com/articles/2007/07/05/gecode-r-under-mac-osx</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Adventures in software development</description>
    <item>
      <title>Gecode/r Under Mac OSX</title>
      <description>&lt;p&gt;I had a little bit of trouble getting &lt;a href="http://gecoder.rubyforge.org/"&gt;gecode/r&lt;/a&gt; running at first.  Gecode/r is a wrapper around &lt;a href="http://www.gecode.org/"&gt;Gecode&lt;/a&gt;, so you'll need to also install Gecode before installing Gecoder/r.  I started out using the disk image for Mac OSX 10.4, but Gecode/r would produce the following error when I tried to require Gecode/r:&lt;/p&gt;

&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;irb(main):002:0&amp;gt; require 'gecoder'
dyld: NSLinkModule() error
dyld: Symbol not found: __ZNK6Gecode9Exception4whatEv
 Referenced from:
/usr/local/lib/ruby/gems/1.8/gems/gecoder-0.3.0/lib/gecode.bundle
 Expected in: flat namespace&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;It turns out, I have to download Gecode source and compile it on my Mac.  After that, all I had to do is: gem install gecoder.&lt;/p&gt;</description>
      <pubDate>Thu, 05 Jul 2007 21:57:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:bf6984a8-e45a-4790-aed1-a022bf558640</guid>
      <author>Aaron Feng</author>
      <link>http://www.aaronfeng.com/articles/2007/07/05/gecode-r-under-mac-osx</link>
      <category>programming</category>
    </item>
  </channel>
</rss>
