[Stk] setting up stk with Xcode 4.5?
D & A
foxparse at gmail.com
Mon Dec 3 19:26:47 PST 2012
Well I solved(?) that issue only to come up against Xcode not liking
the include "SKINI.msg" - fixed that by changing it and its references to
"SKINI_msg.h".
but then more errors . this time Xcode did not like
this
long main()
{
return 'ASIO';
}
because it does not return an int?
Its a bit of wack-a-mole.
Anyway I think I will leave it at that now and go back to compiling from the Terminal
Still if anyone has a solution…
thanks
Daniel
On 4/12/2012, at 1:17 PM, RDT <rdt at activecommunity.com> wrote:
> When you say Mach-O are you referring to the Mach OS kernel from C.Mellon?
>
> How can you tell?
>
> Sent from my iPad
>
> On Dec 3, 2012, at 6:42 PM, D & A <foxparse at gmail.com> wrote:
>
>> Ok
>> So I have set up a simple c++ project in Xcode added
>> CoreMidi CoreFoundation CoreAudio the src directory and include directory from stk
>> Tried to build the simple noise example:
>>
>>
>> #include "Noise.h"
>> using namespace stk;
>>
>> int main()
>> {
>> StkFloat output;
>> Noise noise;
>>
>> for ( unsigned int i=0; i<20; i++ ) {
>> output = noise.tick();
>> std::cout << "i = " << i << " : output = " << output << std::endl;
>> }
>>
>> return 0;
>> }
>>
>> Xcode returns with these Apple Mach-O Linker (id) Errors
>>
>>
>> Undefined symbols for architecture x86_64:
>> "stk::Stk::sampleRateChanged(double, double)", referenced from:
>> vtable for stk::Noise in main.o
>> vtable for stk::Generator in main.o
>> "stk::Stk::~Stk()", referenced from:
>> stk::Generator::~Generator() in main.o
>> "stk::Noise::Noise(unsigned int)", referenced from:
>> _main in main.o
>> "stk::StkFrames::~StkFrames()", referenced from:
>> stk::Generator::~Generator() in main.o
>> "typeinfo for stk::Stk", referenced from:
>> typeinfo for stk::Generator in main.o
>> ld: symbol(s) not found for architecture x86_64
>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>>
>> not sure what this means nor how to fix it.
>>
>> Daniel
>>
>>
>> On 4/12/2012, at 9:56 AM, Gary Scavone <gary at ccrma.stanford.edu> wrote:
>>
>>> You should be looking at the license, which is not restrictive.
>>>
>>> --gary
>>>
>>> On 2012-12-03, at 2:38 PM, RDT <rdt at activecommunity.com> wrote:
>>>
>>>> Do you know of an example iOS App on the App Store that correctly gives attribution for both MoMu and STK?
>>>>
>>>> I have to make a decision soon.
>>>>
>>>> I read the comment "if you make a million dollars it would be nice if you would share"
>>>>
>>>> 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"
>>>>
>>>> That figure is Adobes new model for FP premium.
>>>>
>>>> Sent from my iPad
>>>>
>>>> On Dec 3, 2012, at 12:21 PM, Ariel Elkin <arielelkin at gmail.com> wrote:
>>>>
>>>>> Hi guys,
>>>>>
>>>>> 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….
>>>>> http://arivibes.com/realtime-audio-on-ios-tutorial-making-a-mandolin/
>>>>>
>>>>> Ariel
>>>>>
>>>>>
>>>>> On 3 Dec 2012, at 4:41pm, RDT wrote:
>>>>>
>>>>>> Daniel,
>>>>>>
>>>>>> Did you ever get an answer to this?
>>>>>>
>>>>>> I'm using Xcode also.
>>>>>>
>>>>>> Sent from my iPad
>>>>>>
>>>>>> On Nov 30, 2012, at 8:58 PM, Daniel & Anna <foxparse at gmail.com> wrote:
>>>>>>
>>>>>>> Hi I have followed the setup guide for stk on osx found here http://www.music.mcgill.ca/~gary/307/week6/stk.html
>>>>>>> Everything is working fine . But.. for the life of me I can not figure out how to set up stk with Xcode 4.5.
>>>>>>> I would really like to be able to use Xcode with stk. Any help much appreciated
>>>>>>> thanks in advance
>>>>>>> Daniel
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Stk mailing list
>>>>>>> Stk at ccrma.stanford.edu
>>>>>>> http://ccrma-mail.stanford.edu/mailman/listinfo/stk
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Stk mailing list
>>>>>> Stk at ccrma.stanford.edu
>>>>>> http://ccrma-mail.stanford.edu/mailman/listinfo/stk
>>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Stk mailing list
>>>> Stk at ccrma.stanford.edu
>>>> http://ccrma-mail.stanford.edu/mailman/listinfo/stk
>>>
>>
>> _______________________________________________
>> Stk mailing list
>> Stk at ccrma.stanford.edu
>> http://ccrma-mail.stanford.edu/mailman/listinfo/stk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/stk/attachments/20121204/0d48465a/attachment-0001.html
More information about the Stk
mailing list