Csound Csound-dev Csound-tekno Search About

[Cs-dev] CsoundAPI Static Linkinng

Date2012-11-22 09:36
FromGaebalsa
Subject[Cs-dev] CsoundAPI Static Linkinng
AttachmentsNone  None  
Hello Csounder,

I compiled examples of "Audio Programming Book"'s DVD chapter 35  Csound Host API with Xcode 4.5.2.
Most examples works fine with CsoundLib.framework

Now, I am trying to compile same examples with static linking. 

I compiled "libcsound.a" from csound5 source code(in IOS folder) and link this .a file to example project.(i386, armv7, arrmv7s.. I also want to know how to build this library with other architecture such as x86_64)

Build succeeded, but  there is error "Error opening plugin directory '/usr/local/lib/csound/plugins': No such file or directrror opening plugin directory '/usr/local/lib/csound/plugins': No such file or directory[m
["

I made directory csound/plugins.. and error portaudio... then I put libporttaudio.a but does not work.. I do not know where I am...


Actually, It is my first step to use CsoundAPI and I even do not know what I do not know...
 
So, my question is how to make static link with Xcode and I am happy to listen any advice.

I hope to hear from you!!!

Thank you in advance.. 
happy thanks giving. 

Jai