Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] API standalone apps

Date2006-10-08 16:19
FromVictor Lazzarini
SubjectRe: [Cs-dev] API standalone apps
That's windows-only. You don't need that for OSX. All
you need is to link to the CsoundLib framework. In the
csound sources there is a couple of XCode projects as
examples to using the API, one in C another one in
Objective-C. They are under the frontends directory.

>
> I can explain what's happening but I can't tell you if the
> syntax  provided in my article will work on a Mac. Running
> pexports with the  csound dll will create a definition
> file that exports all the symbols  from the dll to a
> definition file. You can open this file in a text  editor
> and you will see all the exported symbols which are
> basically the  names of the functions used by the API. You
> then convert this into a  static library that you can link
> to when building your API application.  There are other
> ways that one can build  csound API applications but I
> have got used to linking it to a static library and find
> it quite easy  this way. I'm sure Victor or Matt can
> provide you with the steps  involved in building API
> applications on a Mac. Good luck.
>
> Rory.
>
>
>
> Eamon Brady wrote:
> > Hi there,
> >
> > Im new to this list (been on the "user" list a few
> > times) and I have   a question in relation to Rory
> > walsh's recent articles on the csound   API and
> standalone audio software utilising the API; and also his
> > article on wxWidgets from the latest csound journal.  Im
> > intersted in   studying these articles in more depth but
> > fell at the first hurdle so   to speak.  They are
> > written predominantly from a windows perspective   and
> Im on MacOS.  I would simply like to know how to set up
> > projects   like this in OS X's (10.4.6 PPC) Xcode IDE so
> > I can follow both   tutorial articles: compiling the
> > example code given by rory.  Im a   very green
> programmmer and would love if someone could explain whats
> > happening in the following command line setup.
> >
> > RORYS ARTICLE:
> > ;;;;;;;;;;
>
> ----------------------------------------------------------
> --------------- Take Surveys. Earn Cash. Influence the
> Future of IT Join SourceForge.net's Techsay panel and
> you'll get the chance to share your opinions on IT &
> business topics through brief surveys -- and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-10-09 14:42
FromEamon Brady
SubjectRe: [Cs-dev] API standalone apps
Hi victor,

all working fine now,
thanks for the advice,

Eamon.


On 8 Oct 2006, at 16:19, Victor Lazzarini wrote:

> That's windows-only. You don't need that for OSX. All
> you need is to link to the CsoundLib framework. In the
> csound sources there is a couple of XCode projects as
> examples to using the API, one in C another one in
> Objective-C. They are under the frontends directory.
>
>>
>> I can explain what's happening but I can't tell you if the
>> syntax  provided in my article will work on a Mac. Running
>> pexports with the  csound dll will create a definition
>> file that exports all the symbols  from the dll to a
>> definition file. You can open this file in a text  editor
>> and you will see all the exported symbols which are
>> basically the  names of the functions used by the API. You
>> then convert this into a  static library that you can link
>> to when building your API application.  There are other
>> ways that one can build  csound API applications but I
>> have got used to linking it to a static library and find
>> it quite easy  this way. I'm sure Victor or Matt can
>> provide you with the steps  involved in building API
>> applications on a Mac. Good luck.
>>
>> Rory.
>>
>>
>>
>> Eamon Brady wrote:
>>> Hi there,
>>>
>>> Im new to this list (been on the "user" list a few
>>> times) and I have   a question in relation to Rory
>>> walsh's recent articles on the csound   API and
>> standalone audio software utilising the API; and also his
>>> article on wxWidgets from the latest csound journal.  Im
>>> intersted in   studying these articles in more depth but
>>> fell at the first hurdle so   to speak.  They are
>>> written predominantly from a windows perspective   and
>> Im on MacOS.  I would simply like to know how to set up
>>> projects   like this in OS X's (10.4.6 PPC) Xcode IDE so
>>> I can follow both   tutorial articles: compiling the
>>> example code given by rory.  Im a   very green
>> programmmer and would love if someone could explain whats
>>> happening in the following command line setup.
>>>
>>> RORYS ARTICLE:
>>> ;;;;;;;;;;
>>
>> ----------------------------------------------------------
>> --------------- Take Surveys. Earn Cash. Influence the
>> Future of IT Join SourceForge.net's Techsay panel and
>> you'll get the chance to share your opinions on IT &
>> business topics through brief surveys -- and earn cash
>>
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ---------------------------------------------------------------------- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys -- and earn  
> cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net