[Cs-dev] API standalone apps
Date | 2006-10-08 15:30 |
From | Eamon Brady |
Subject | [Cs-dev] API standalone apps |
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: ;;;;;;;;;; To build the examples below with MinGW you will need to first create an import library by running the following instructions at command prompt. pexports -o csound32.dll.5.1 > csound32.def Before proceeding to the next step you may need to edit the newly created csound32.def and remove the first line which seems to cause an error. Then created the new import library using the following command: dlltool --dllname=csound32.dll.5.1 --input-def=csound32.def –output- lib=libcsound32.a Now you are ready to start building Csound API applications. ;;;;;;;;;; Any advice appreciated Cheers, Eamon. ------------------------------------------------------------------------- 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 |
Date | 2006-10-08 15:42 |
From | Rory Walsh |
Subject | Re: [Cs-dev] API standalone apps |
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 |