<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Andy Li’s Blog - OpenFrameworks</title><link href="https://blog.onthewings.net/" rel="alternate"></link><link href="http://feeds.feedburner.com/tag/openframeworks/feed/atom.xml" rel="self"></link><id>https://blog.onthewings.net/</id><updated>2011-03-26T04:45:00+08:00</updated><entry><title>hxOpenFrameworks is now on haxelib!</title><link href="https://blog.onthewings.net/2011/03/26/hxopenframeworks-is-now-on-haxelib/" rel="alternate"></link><published>2011-03-26T04:45:00+08:00</published><updated>2011-03-26T04:45:00+08:00</updated><author><name>Andy Li</name></author><id>tag:blog.onthewings.net,2011-03-26:/2011/03/26/hxopenframeworks-is-now-on-haxelib/</id><summary type="html">&lt;p&gt;Yup, it’s there. You can now grab hxOpenFrameworks via
&lt;code&gt;haxelib install hxOpenFrameworks&lt;/code&gt;. It is using a version of
openFrameworks that is slightly more recent than 0.062(current latest
release). All Windows/Mac/Linux is supported (only 32bit though).&lt;/p&gt;
&lt;p&gt;For those haven’t tried haxe/cpp:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go &lt;a href="http://haxe.org/download"&gt;install haxe …&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;</summary><content type="html">&lt;p&gt;Yup, it’s there. You can now grab hxOpenFrameworks via
&lt;code&gt;haxelib install hxOpenFrameworks&lt;/code&gt;. It is using a version of
openFrameworks that is slightly more recent than 0.062(current latest
release). All Windows/Mac/Linux is supported (only 32bit though).&lt;/p&gt;
&lt;p&gt;For those haven’t tried haxe/cpp:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go &lt;a href="http://haxe.org/download"&gt;install haxe&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Install c++ development tools.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Windows: Visual Studio (&lt;a href="http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express"&gt;Express&lt;/a&gt; version is free)&lt;/li&gt;
&lt;li&gt;Mac: XCode (in order to get &lt;span class="caps"&gt;GCC&lt;/span&gt;)&lt;/li&gt;
&lt;li&gt;Linux: &lt;span class="caps"&gt;GCC&lt;/span&gt; (should be already there)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open up Terminal (Windows users please choose “Visual Studio Command
    Prompt” from start menu)&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;haxelib setup&lt;/code&gt;&lt;br/&gt;
    It is need for 1st time use of haxelib. Simply press enter to
    set to the default path.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;haxelib install hxOpenFrameworks&lt;/code&gt;&lt;br/&gt;
    It will install hxOpenFrameworks as well as the dependencies
    (&lt;a href="http://code.google.com/p/hxhsl/"&gt;&lt;span class="caps"&gt;HSL&lt;/span&gt;&lt;/a&gt; and &lt;a href="https://github.com/andyli/hxRtAudio"&gt;hxRtAudio&lt;/a&gt;). Mac user should also install [Jack
    &lt;span class="caps"&gt;OSX&lt;/span&gt;][] manually.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Browse to hxOpenFramework and try compiling the examples.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Windows: &lt;code&gt;cd C:\Motion-Twin\haxe\lib\hxOpenFrameworks\0,062,0&lt;/code&gt;&lt;br/&gt;
    Mac/Linux: &lt;code&gt;cd /usr/lib/haxe/lib/hxOpenFrameworks/0,062,0&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Open &lt;em&gt;of/examples/Main.hx&lt;/em&gt; (previously is in the root dir, see
    &lt;a href="https://github.com/andyli/hxOpenFrameworks/issues/1"&gt;issue 1&lt;/a&gt;) and uncomment one of the examples.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;haxe compile-{your_platform}.hxml&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Please refer to openFrameworks website for &lt;a href="http://www.openframeworks.cc/documentation?adv=yes"&gt;&lt;span class="caps"&gt;API&lt;/span&gt; documentation&lt;/a&gt;.&lt;/p&gt;</content><category term="Haxe"></category><category term="OpenFrameworks"></category></entry></feed>