Csound Csound-dev Csound-tekno Search About

[Csnd-dev] _jcsound6 native code library failed to load in Processing (OSX)

Date2016-05-27 15:58
FromNickTup
Subject[Csnd-dev] _jcsound6 native code library failed to load in Processing (OSX)
Hello!
*
Issue*
I tried building csoundo (processing library for csound using csnd6.jar and
other files) from https://github.com/rorywalsh/csoundo.

I found my csnd6.jar under the usual installation directory
/Libraries/Frameworks/CsoundLib64.framework/Resources/Java/

I compiled and built the modules alright, they show up in processing and
even compile. But Processing outputs the following.


_jcsound6 native code library failed to load.
java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path

I tried the export command but I am using the Processing 2 IDE, either way,
when I echo $CLASSPATH it shows
/Library/Frameworks/CsoundLib64.framework/Resources/Java/ path but didn't
change the fact that _jcsound6 native code library failed to load in
Processing when compiled.

I found the files csnd6.jar  and lib_jcsound6.jnilib in
/Library/Java/Extensions/ as I was wondering if they were available for all
my Java applications. They were there so I am not sure what the problem
could be... maybe the .jar files are broken? Blue works great, so the java
files are ok. 


*System: *
I am using OS X 10.11.4
Kernel Version: Darwin 15.4.0
Csound Version: Csound version 6.06 (double samples) Sep 29 2015 (using the
OSX wizard installer)
libsndfile version: 1.0.25
Processing version: Processing 2.2.1
Java: java version "1.8.0_91"Java(TM) SE Runtime Environment (build
1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)


Cordially,
Nick




--
View this message in context: http://csound.1045644.n5.nabble.com/jcsound6-native-code-library-failed-to-load-in-Processing-OSX-tp5749908.html

Date2016-05-27 16:15
FromMichael Gogins
SubjectRe: [Csnd-dev] _jcsound6 native code library failed to load in Processing (OSX)
Is your Csound and csoundo built for 64 bit CPU architecture? (NOT to
be confused with "64 bit samples").

Regards,
Mike

On 5/27/16, NickTup  wrote:
> Hello!
> *
> Issue*
> I tried building csoundo (processing library for csound using csnd6.jar and
> other files) from https://github.com/rorywalsh/csoundo.
>
> I found my csnd6.jar under the usual installation directory
> /Libraries/Frameworks/CsoundLib64.framework/Resources/Java/
>
> I compiled and built the modules alright, they show up in processing and
> even compile. But Processing outputs the following.
>
>
> _jcsound6 native code library failed to load.
> java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
>
> I tried the export command but I am using the Processing 2 IDE, either way,
> when I echo $CLASSPATH it shows
> /Library/Frameworks/CsoundLib64.framework/Resources/Java/ path but didn't
> change the fact that _jcsound6 native code library failed to load in
> Processing when compiled.
>
> I found the files csnd6.jar  and lib_jcsound6.jnilib in
> /Library/Java/Extensions/ as I was wondering if they were available for all
> my Java applications. They were there so I am not sure what the problem
> could be... maybe the .jar files are broken? Blue works great, so the java
> files are ok.
>
>
> *System: *
> I am using OS X 10.11.4
> Kernel Version: Darwin 15.4.0
> Csound Version: Csound version 6.06 (double samples) Sep 29 2015 (using the
> OSX wizard installer)
> libsndfile version: 1.0.25
> Processing version: Processing 2.2.1
> Java: java version "1.8.0_91"Java(TM) SE Runtime Environment (build
> 1.8.0_91-b14)
> Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
>
>
> Cordially,
> Nick
>
>
>
>
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/jcsound6-native-code-library-failed-to-load-in-Processing-OSX-tp5749908.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>


-- 

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com

Date2016-05-27 16:15
FromRory Walsh
SubjectRe: [Csnd-dev] _jcsound6 native code library failed to load in Processing (OSX)
I've contacted Nick to let him know of the solution proposed on the csound-users list.  

On 27 May 2016 at 15:58, NickTup <nicktup@gmail.com> wrote:
Hello!
*
Issue*
I tried building csoundo (processing library for csound using csnd6.jar and
other files) from https://github.com/rorywalsh/csoundo.

I found my csnd6.jar under the usual installation directory
/Libraries/Frameworks/CsoundLib64.framework/Resources/Java/

I compiled and built the modules alright, they show up in processing and
even compile. But Processing outputs the following.


_jcsound6 native code library failed to load.
java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path

I tried the export command but I am using the Processing 2 IDE, either way,
when I echo $CLASSPATH it shows
/Library/Frameworks/CsoundLib64.framework/Resources/Java/ path but didn't
change the fact that _jcsound6 native code library failed to load in
Processing when compiled.

I found the files csnd6.jar  and lib_jcsound6.jnilib in
/Library/Java/Extensions/ as I was wondering if they were available for all
my Java applications. They were there so I am not sure what the problem
could be... maybe the .jar files are broken? Blue works great, so the java
files are ok.


*System: *
I am using OS X 10.11.4
Kernel Version: Darwin 15.4.0
Csound Version: Csound version 6.06 (double samples) Sep 29 2015 (using the
OSX wizard installer)
libsndfile version: 1.0.25
Processing version: Processing 2.2.1
Java: java version "1.8.0_91"Java(TM) SE Runtime Environment (build
1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)


Cordially,
Nick




--
View this message in context: http://csound.1045644.n5.nabble.com/jcsound6-native-code-library-failed-to-load-in-Processing-OSX-tp5749908.html
Sent from the Csound - Dev mailing list archive at Nabble.com.


Date2016-05-27 17:11
FromNicholas Martins
SubjectRe: [Csnd-dev] _jcsound6 native code library failed to load in Processing (OSX)
The issue has been resolved by following Rory's latests instructions for Csoundo on OSX; https://github.com/rorywalsh/csoundo

Thanks.