[Csnd] csnd.jar and the native libraries
Date | 2011-10-21 16:13 |
From | Michele Nasti |
Subject | [Csnd] csnd.jar and the native libraries |
Hello everybody, Is there a way to use csnd.jar without having to install csound first? The problem is that, when I use csnd.jar, it complains about _jcsound.so (on linux, but it's the same for all other operative systems). If I "get" this three library files, for linux mac and windows, I can point to them when starting the application (via the -D flag). So, is this going to work? Do you know wich files are the only necessary for my program to work? Michele |
Date | 2011-10-21 17:25 |
From | Adam Puckett |
Subject | Re: [Csnd] csnd.jar and the native libraries |
It depends on the user's CLASSPATH and OS. On 10/21/11, Michele Nasti |
Date | 2011-10-21 23:41 |
From | Michele Nasti |
Subject | Re: [Csnd] csnd.jar and the native libraries |
Is there any way to take this libraries out of the classpath (incorporating them in my project) and calling them depending on the OS ? for example, if I am on windows, I include with my project the csndlib.dll (don't know if the name is right) and, without csound, it should work ... is this possible ?? 2011/10/21 Adam Puckett <adotsdothmusic@gmail.com> It depends on the user's CLASSPATH and OS. |
Date | 2011-10-21 23:46 |
From | Steven Yi |
Subject | Re: [Csnd] csnd.jar and the native libraries |
Yes. You should be able to put them in a directory and make a script that starts your app that does something like: java -Djava.library.path=placeWhereYouHaveCsoundlibs -jar myApp.jar But you'll still need all the opcode libraries, then anything they themselves depend on. On Fri, Oct 21, 2011 at 11:41 PM, Michele Nasti |
Date | 2011-10-21 23:50 |
From | Victor Lazzarini |
Subject | Re: [Csnd] csnd.jar and the native libraries |
I think the best way would be to base your application on an installation of Csound. For instance, when Csound is installed on OSX, the required native library and the jar will be in the usual paths for Java. So you might not need to set special paths. It will be found. I guess this is what happens in Linux, e.g. Debian, Ubuntu, Fedora, the packages install everything in the right places. On Windows, I don't know, but you can ask Michael Gogins. Victor On 21 Oct 2011, at 23:41, Michele Nasti wrote: Is there any way to take this libraries out of the classpath (incorporating them in my project) and calling them depending on the OS ? Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2011-10-22 01:17 |
From | Michele Nasti |
Subject | Re: [Csnd] csnd.jar and the native libraries |
Steve has catched the point, the problem is that I have to link everythink that is needed by something, and this will take me to the full csound libs. Il giorno 21/ott/2011 23:49, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> ha scritto:
|
Date | 2011-10-22 07:58 |
From | Victor Lazzarini |
Subject | Re: [Csnd] csnd.jar and the native libraries |
On the Mac, it should find it. If it doesn't we need to make sure the packaging does it for you, Victor On 22 Oct 2011, at 01:17, Michele Nasti wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |