<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Indeed, it would be useful to have a sample Xcode 4.5 project with the STK working on OS X.<div><br></div><div>Ariel<br><div><br><div><div>On 4 Dec 2012, at 3:26am, D &amp; A wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Well I solved(?) that issue only to come up against Xcode not liking<div>the include&nbsp;"SKINI.msg" - fixed that by changing it and its references to</div><div>"SKINI_msg.h".</div><div><br></div><div>but then more errors . this time Xcode did not like</div><div>this</div><div><br></div><div>long main()</div><div>{</div><div>return 'ASIO';</div><div>}</div><div>because it does not return an int?</div><div><br></div><div>Its a bit of wack-a-mole.</div><div><br></div><div><br></div><div>Anyway I think I will leave it at that now and go back to compiling from the Terminal&nbsp;</div><div>Still if anyone has a solution…</div><div><br></div><div>thanks</div><div>Daniel</div><div><br><div><div>On 4/12/2012, at 1:17 PM, RDT &lt;<a href="mailto:rdt@activecommunity.com">rdt@activecommunity.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="auto"><div>When you say Mach-O are you referring to the Mach OS kernel from C.Mellon?</div><div><br></div><div>How can you tell?<br><br>Sent from my iPad</div><div><br>On Dec 3, 2012, at 6:42 PM, D &amp; A &lt;<a href="mailto:foxparse@gmail.com">foxparse@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252">Ok<div>So I have set up a simple c++ project in Xcode added&nbsp;</div><div>CoreMidi CoreFoundation CoreAudio the src directory and include directory from stk</div><div>Tried to build the simple noise example:</div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px; "><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(120, 73, 42); ">#include <span style="color: #d12f1b">"Noise.h"</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(187, 44, 162); ">using<span style=""> </span>namespace<span style=""> </span><span style="color: #4f8187">stk</span><span style="">;</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px; "><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; "><span style="color: #bb2ca2">int</span> main()</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; ">{</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; ">&nbsp; &nbsp; <span style="color: #4f8187">StkFloat</span> output;</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; ">&nbsp; &nbsp; <span style="color: #4f8187">Noise</span> noise;</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px; ">&nbsp;&nbsp; &nbsp;<br class="webkit-block-placeholder"></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; ">&nbsp; &nbsp; <span style="color: #bb2ca2">for</span> ( <span style="color: #bb2ca2">unsigned</span> <span style="color: #bb2ca2">int</span> i=<span style="color: #272ad8">0</span>; i&lt;<span style="color: #272ad8">20</span>; i++ ) {</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; ">&nbsp; &nbsp; &nbsp; &nbsp; output = noise.<span style="color: #31595d">tick</span>();</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; ">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #703daa">std</span>::<span style="color: #703daa">cout</span> &lt;&lt; <span style="color: #d12f1b">"i = "</span> &lt;&lt; i &lt;&lt; <span style="color: #d12f1b">" : output = "</span> &lt;&lt; output &lt;&lt; <span style="color: #703daa">std</span>::<span style="color: #3d1d81">endl</span>;</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; ">&nbsp; &nbsp; }</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px; ">&nbsp;&nbsp; &nbsp;<br class="webkit-block-placeholder"></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; ">&nbsp; &nbsp; <span style="color: #bb2ca2">return</span> <span style="color: #272ad8">0</span>;</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; ">}</div></div><div><br></div><div>Xcode returns with these Apple Mach-O Linker (id) Errors</div><div><br></div><div><br></div><div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">Undefined symbols for architecture x86_64:</div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">&nbsp; "stk::Stk::sampleRateChanged(double, double)", referenced from:</div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">&nbsp; &nbsp; &nbsp; vtable for stk::Noise in main.o</div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">&nbsp; &nbsp; &nbsp; vtable for stk::Generator in main.o</div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">&nbsp; "stk::Stk::~Stk()", referenced from:</div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">&nbsp; &nbsp; &nbsp; stk::Generator::~Generator() in main.o</div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">&nbsp; "stk::Noise::Noise(unsigned int)", referenced from:</div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">&nbsp; &nbsp; &nbsp; _main in main.o</div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">&nbsp; "stk::StkFrames::~StkFrames()", referenced from:</div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">&nbsp; &nbsp; &nbsp; stk::Generator::~Generator() in main.o</div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">&nbsp; "typeinfo for stk::Stk", referenced from:</div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">&nbsp; &nbsp; &nbsp; typeinfo for stk::Generator in main.o</div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">ld: symbol(s) not found for architecture x86_64</div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo; ">clang: error: linker command failed with exit code 1 (use -v to see invocation)</div></div><div><br></div><div>not sure what this means nor how to fix it.</div><div><br></div><div>Daniel</div><div><br></div><div><br><div><div>On 4/12/2012, at 9:56 AM, Gary Scavone &lt;<a href="mailto:gary@ccrma.stanford.edu">gary@ccrma.stanford.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">You should be looking at the license, which is not restrictive.<br><br>--gary<br><br>On 2012-12-03, at 2:38 PM, RDT &lt;<a href="mailto:rdt@activecommunity.com">rdt@activecommunity.com</a>&gt; wrote:<br><br><blockquote type="cite">Do you know of an example iOS App on the App Store that correctly gives attribution for both MoMu and STK?<br><br>I have to make a decision soon.<br><br>I read the comment "if you make a million dollars it would be nice if you would share"<br><br>I'm looking for something more concrete such as "if your gross revenue exceeds 50k you must pay a 9% royalty for revenue above 50k"<br><br>That figure is Adobes new model for FP premium. <br><br>Sent from my iPad<br><br>On Dec 3, 2012, at 12:21 PM, Ariel Elkin &lt;<a href="mailto:arielelkin@gmail.com">arielelkin@gmail.com</a>&gt; wrote:<br><br><blockquote type="cite">Hi guys,<br><br>This tutorial shows you show you how to setup and use the iOS port of the STK on Xcode 4, hopefully it sheds some light….<br><a href="http://arivibes.com/realtime-audio-on-ios-tutorial-making-a-mandolin/">http://arivibes.com/realtime-audio-on-ios-tutorial-making-a-mandolin/</a><br><br>Ariel<br><br><br>On 3 Dec 2012, at 4:41pm, RDT wrote:<br><br><blockquote type="cite">Daniel,<br><br>Did you ever get an answer to this?<br><br>I'm using Xcode also.<br><br>Sent from my iPad<br><br>On Nov 30, 2012, at 8:58 PM, Daniel &amp; Anna &lt;<a href="mailto:foxparse@gmail.com">foxparse@gmail.com</a>&gt; wrote:<br><br><blockquote type="cite">Hi I have followed the setup guide for stk on osx &nbsp;found here <a href="http://www.music.mcgill.ca/~gary/307/week6/stk.html">http://www.music.mcgill.ca/~gary/307/week6/stk.html</a> <br>Everything is working fine . But.. for the life of me I can not figure out how to set up stk with Xcode 4.5.<br>I would really like to be able to use Xcode with stk. Any help much appreciated<br>thanks in advance<br>Daniel<br><br>_______________________________________________<br>Stk mailing list<br><a href="mailto:Stk@ccrma.stanford.edu">Stk@ccrma.stanford.edu</a><br><a href="http://ccrma-mail.stanford.edu/mailman/listinfo/stk">http://ccrma-mail.stanford.edu/mailman/listinfo/stk</a><br></blockquote><br><br><br>_______________________________________________<br>Stk mailing list<br><a href="mailto:Stk@ccrma.stanford.edu">Stk@ccrma.stanford.edu</a><br><a href="http://ccrma-mail.stanford.edu/mailman/listinfo/stk">http://ccrma-mail.stanford.edu/mailman/listinfo/stk</a><br></blockquote><br></blockquote><br><br><br>_______________________________________________<br>Stk mailing list<br><a href="mailto:Stk@ccrma.stanford.edu">Stk@ccrma.stanford.edu</a><br><a href="http://ccrma-mail.stanford.edu/mailman/listinfo/stk">http://ccrma-mail.stanford.edu/mailman/listinfo/stk</a><br></blockquote><br></blockquote></div><br></div></blockquote><blockquote type="cite"><span>_______________________________________________</span><br><span>Stk mailing list</span><br><span><a href="mailto:Stk@ccrma.stanford.edu">Stk@ccrma.stanford.edu</a></span><br><span><a href="http://ccrma-mail.stanford.edu/mailman/listinfo/stk">http://ccrma-mail.stanford.edu/mailman/listinfo/stk</a></span><br></blockquote></div></blockquote></div><br></div></div>_______________________________________________<br>Stk mailing list<br><a href="mailto:Stk@ccrma.stanford.edu">Stk@ccrma.stanford.edu</a><br>http://ccrma-mail.stanford.edu/mailman/listinfo/stk<br></blockquote></div><br></div></div></body></html>