Csound Csound-dev Csound-tekno Search About

[Csnd] Libraries not loading?

Date2012-09-07 20:22
FromDave Mooney
Subject[Csnd] Libraries not loading?
Hi, I've been trying to use the loris opcodes and am having difficulty
getting the libraries to load (using
--opcode-lib=/usr/local/lib/libloris.dylib). I've built Loris as per
Victor's instructions 
http://csound.1045644.n5.nabble.com/Loris-1-8-Problem-td4691533.html here 
for both floats and doubles and tried both csound and csound64 but still the
libraries don't seem to want to load in either case. I'm wondering if this
might a symptom of a larger problem as I've noticed that some of the other
libraries are not loading correctly either (e.g libjacko.dylib) etc as shown
below. 

Any ideas what's causing the problem or how to proceed? Thanks a lot!

PortMIDI real time MIDI plugin for Csound
PortAudio real-time audio module for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.13 (float samples) Jan 17 2011
libsndfile-1.0.21
*WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
(-1)*
UnifiedCSD:  tryit.csd
Environment variable 'SADIR' has been set to
'/Users/davemooney/loris-1.8/csound'
Environment variable 'SSDIR' has been set to
'/Users/davemooney/loris-1.8/csound'
Environment variable 'INCDIR' has been set to
'/Users/davemooney/loris-1.8/csound'
Environment variable 'MFDIR' has been set to
'/Users/davemooney/loris-1.8/csound'
STARTING FILE
Creating options
Creating orchestra
Creating score
decode_long opcode-lib=/usr/local/lib/libloris.dylib
orchname: 
/var/folders/Hf/HfbJ9KWlGOSSj8173ov6Gk+++TI/-Tmp-//csound-S6HQn6.orc
scorename:
/var/folders/Hf/HfbJ9KWlGOSSj8173ov6Gk+++TI/-Tmp-//csound-3XKiqU.sco
*Loading command-line libraries:
*rtaudio: PortAudio module enabled ... using callback interface
rtmidi: PortMIDI module enabled



--
View this message in context: http://csound.1045644.n5.nabble.com/Libraries-not-loading-tp5715547.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-09-07 20:33
FromVictor Lazzarini
SubjectRe: [Csnd] Libraries not loading?
The jack libs will only load if you have Jack installed, so that is not an issue. From the messages below I don't see anything saying that
libloris.dylib was not loaded.

> *Loading command-line libraries:

is not throwing any errors.


On 7 Sep 2012, at 20:22, Dave Mooney wrote:

> Hi, I've been trying to use the loris opcodes and am having difficulty
> getting the libraries to load (using
> --opcode-lib=/usr/local/lib/libloris.dylib). I've built Loris as per
> Victor's instructions 
> http://csound.1045644.n5.nabble.com/Loris-1-8-Problem-td4691533.html here 
> for both floats and doubles and tried both csound and csound64 but still the
> libraries don't seem to want to load in either case. I'm wondering if this
> might a symptom of a larger problem as I've noticed that some of the other
> libraries are not loading correctly either (e.g libjacko.dylib) etc as shown
> below. 
> 
> Any ideas what's causing the problem or how to proceed? Thanks a lot!
> 
> PortMIDI real time MIDI plugin for Csound
> PortAudio real-time audio module for Csound
> virtual_keyboard real time MIDI plugin for Csound
> 0dBFS level = 32768.0
> Csound version 5.13 (float samples) Jan 17 2011
> libsndfile-1.0.21
> *WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
> (-1)*
> UnifiedCSD:  tryit.csd
> Environment variable 'SADIR' has been set to
> '/Users/davemooney/loris-1.8/csound'
> Environment variable 'SSDIR' has been set to
> '/Users/davemooney/loris-1.8/csound'
> Environment variable 'INCDIR' has been set to
> '/Users/davemooney/loris-1.8/csound'
> Environment variable 'MFDIR' has been set to
> '/Users/davemooney/loris-1.8/csound'
> STARTING FILE
> Creating options
> Creating orchestra
> Creating score
> decode_long opcode-lib=/usr/local/lib/libloris.dylib
> orchname: 
> /var/folders/Hf/HfbJ9KWlGOSSj8173ov6Gk+++TI/-Tmp-//csound-S6HQn6.orc
> scorename:
> /var/folders/Hf/HfbJ9KWlGOSSj8173ov6Gk+++TI/-Tmp-//csound-3XKiqU.sco
> *Loading command-line libraries:
> *rtaudio: PortAudio module enabled ... using callback interface
> rtmidi: PortMIDI module enabled
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Libraries-not-loading-tp5715547.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2012-09-07 20:44
FromDave Mooney
Subject[Csnd] Re: Libraries not loading?
Hi Victor, the longer version is now pasted below. Any ideas? It's seems to
be the same issue as run into by Archaeopteryx your discussion last year
however I cannot find where I'm going wrong. Thanks a lot!

Dave


WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
(-1)
0dBFS level = 32768.0
Csound version 5.13 (float samples) Jan 17 2011
STARTING FILE
Creating options
Creating orchestra
Creating score
Loading command-line libraries:
rtaudio: PortAudio module enabled ... using callback interface
rtmidi: PortMIDI module enabled
orch compiler:
	instr	1	
error:  illegal character ., line 29:
             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
                                                             ^
error:  no legal opcode, line 29:
             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
error:  no legal opcode, line 30:
    asig     lorisplay   1, 1, 1, 1
error:  input arg 'asig' used before defined, line 31:
             out         asig
	instr	2	
error:  illegal character ., line 54:
             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
                                                             ^
error:  no legal opcode, line 54:
             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
error:  illegal character +, line 55:
    a1       lorisplay   1, ifscale+kvib, 2, kbwenv  
                                   ^
error:  no legal opcode, line 55:
    a1       lorisplay   1, ifscale+kvib, 2, kbwenv  
error:  input arg 'a1' used before defined, line 56:
    a2       atone       a1, 1000      
	instr	3	
error:  no legal opcode, line 75:
             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, ifadetime
error:  illegal character +, line 76:
	a1 lorisplay 1, ifscale+kvib, 2, 1  
	                       ^
error:  no legal opcode, line 76:
	a1 lorisplay 1, ifscale+kvib, 2, 1  
error:  input arg 'a1' used before defined, line 78:
	a2 atone a1, 1000  
13 syntax errors in orchestra.  compilation invalid




--
View this message in context: http://csound.1045644.n5.nabble.com/Libraries-not-loading-tp5715547p5715551.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-09-07 21:22
FromVictor Lazzarini
SubjectRe: [Csnd] Re: Libraries not loading?
Could it be a floats vs. doubles mismatch? 
Did you get a configuration summary as per my message in the list archives?

I tried this again, starting with:

$ cd loris-1.8
$ make clean
...
$ ./configure CFLAGS="-I/Library/Frameworks/CsoundLib64.framework/Headers" CXXFLAGS="-I/Library/Frameworks/CsoundLib64.framework/Headers" CPPFLAGS="-I/Library/Frameworks/CsoundLib64.framework/Headers"
...
----- Configuration Summary -----
FFTW support: Disabled.
Add something to CPPFLAGS and LDFLAGS to enable.
See ./configure --help.
Python support: Enabled.
Installing Python extension modules in ${exec_prefix}/lib/python2.6/site-packages
You may need to add ${exec_prefix}/lib/python2.6/site-packages to your PYTHONPATH
before Python will be able to load them.
Csound support: Enabled.
To use Loris opcodes in your instruments, invoke csound with the argument:
--opcode-lib=/usr/local/lib/libloris.so
or libloris.dylib on Mac OS X
----- End Of Configuration -----

$ make
....
$ sudo make install
...
$ cd csound
$  csound --opcode-lib=/usr/local/lib/libloris.dylib tryit.csd 
Csound version 5.18.02 (double samples) Sep  1 2012
UnifiedCSD: tryit.csd
Creating options
Creating orchestra
Creating score
Loading command-line libraries:
  /usr/local/lib/libloris.dylib

...

Victor

On 7 Sep 2012, at 20:44, Dave Mooney wrote:

> Hi Victor, the longer version is now pasted below. Any ideas? It's seems to
> be the same issue as run into by Archaeopteryx your discussion last year
> however I cannot find where I'm going wrong. Thanks a lot!
> 
> Dave
> 
> 
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
> (-1)
> 0dBFS level = 32768.0
> Csound version 5.13 (float samples) Jan 17 2011
> STARTING FILE
> Creating options
> Creating orchestra
> Creating score
> Loading command-line libraries:
> rtaudio: PortAudio module enabled ... using callback interface
> rtmidi: PortMIDI module enabled
> orch compiler:
> 	instr	1	
> error:  illegal character ., line 29:
>             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
>                                                             ^
> error:  no legal opcode, line 29:
>             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
> error:  no legal opcode, line 30:
>    asig     lorisplay   1, 1, 1, 1
> error:  input arg 'asig' used before defined, line 31:
>             out         asig
> 	instr	2	
> error:  illegal character ., line 54:
>             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
>                                                             ^
> error:  no legal opcode, line 54:
>             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
> error:  illegal character +, line 55:
>    a1       lorisplay   1, ifscale+kvib, 2, kbwenv  
>                                   ^
> error:  no legal opcode, line 55:
>    a1       lorisplay   1, ifscale+kvib, 2, kbwenv  
> error:  input arg 'a1' used before defined, line 56:
>    a2       atone       a1, 1000      
> 	instr	3	
> error:  no legal opcode, line 75:
>             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, ifadetime
> error:  illegal character +, line 76:
> 	a1 lorisplay 1, ifscale+kvib, 2, 1  
> 	                       ^
> error:  no legal opcode, line 76:
> 	a1 lorisplay 1, ifscale+kvib, 2, 1  
> error:  input arg 'a1' used before defined, line 78:
> 	a2 atone a1, 1000  
> 13 syntax errors in orchestra.  compilation invalid
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Libraries-not-loading-tp5715547p5715551.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2012-09-07 21:48
FromDave Mooney
Subject[Csnd] Re: Libraries not loading?
Cheers Victor, I just repeated your steps as shown below but unfortunately am
still getting the same results. Does any of what's pasted below give you any
indication as to how to proceed? Thanks a million!

Dave


Dave-Mooneys-MacBook-Pro:loris-1.8 davemooney$ make clean

Dave-Mooneys-MacBook-Pro:loris-1.8 davemooney$ ./configure
CFLAGS="-I/Library/Frameworks/CsoundLib64.framework/Headers"
CXXFlags="-I/Library/Frameworks/CsoundLib64.framework/Headers"
CPPFLAGS="-I/Library/Frameworks/CsoundLib64.framework/Headers"

----- Configuration Summary -----
FFTW support: Disabled.
Add something to CPPFLAGS and LDFLAGS to enable.
See ./configure --help.
Python support: Enabled.
Installing Python extension modules in
${exec_prefix}/lib/python2.6/site-packages
You may need to add ${exec_prefix}/lib/python2.6/site-packages to your
PYTHONPATH
before Python will be able to load them.
Csound support: Enabled.
To use Loris opcodes in your instruments, invoke csound with the argument:
--opcode-lib=/usr/local/lib/libloris.so
or libloris.dylib on Mac OS X
----- End Of Configuration -----

Dave-Mooneys-MacBook-Pro:loris-1.8 davemooney$ make

Dave-Mooneys-MacBook-Pro:loris-1.8 davemooney$ sudo make install

Dave-Mooneys-MacBook-Pro:loris-1.8 davemooney$ cd csound
Dave-Mooneys-MacBook-Pro:csound davemooney$ csound
--opcode-lib=/usr/local/lib/libloris.dylib tryit.csd
PortMIDI real time MIDI plugin for Csound
PortAudio real-time audio module for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.13 (float samples) Jan 17 2011
libsndfile-1.0.21
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
(-1)
UnifiedCSD:  tryit.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
orchname: 
/var/folders/Hf/HfbJ9KWlGOSSj8173ov6Gk+++TI/-Tmp-//csound-ATQPyj.orc
scorename:
/var/folders/Hf/HfbJ9KWlGOSSj8173ov6Gk+++TI/-Tmp-//csound-NVmFmd.sco
Loading command-line libraries:
rtaudio: PortAudio module enabled ... using callback interface
rtmidi: PortMIDI module enabled
orch compiler:
	instr	1	
error:  illegal character ., line 29:
             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
                                                             ^
error:  no legal opcode, line 29:
             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
error:  no legal opcode, line 30:
    asig     lorisplay   1, 1, 1, 1
error:  input arg 'asig' used before defined, line 31:
             out         asig
	instr	2	
error:  illegal character ., line 54:
             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
                                                             ^
error:  no legal opcode, line 54:
             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
error:  illegal character +, line 55:
    a1       lorisplay   1, ifscale+kvib, 2, kbwenv  
                                   ^
error:  no legal opcode, line 55:
    a1       lorisplay   1, ifscale+kvib, 2, kbwenv  
error:  input arg 'a1' used before defined, line 56:
    a2       atone       a1, 1000      
	instr	3	
error:  no legal opcode, line 75:
             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, ifadetime
error:  illegal character +, line 76:
	a1 lorisplay 1, ifscale+kvib, 2, 1  
	                       ^
error:  no legal opcode, line 76:
	a1 lorisplay 1, ifscale+kvib, 2, 1  
error:  input arg 'a1' used before defined, line 78:
	a2 atone a1, 1000  
13 syntax errors in orchestra.  compilation invalid







--
View this message in context: http://csound.1045644.n5.nabble.com/Libraries-not-loading-tp5715547p5715554.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-09-07 21:56
FromVictor Lazzarini
SubjectRe: [Csnd] Re: Libraries not loading?
I noticed you are using 5.13. I think that version still requires you to set the -DUSE_DOUBLE token, so you should add this to the configure with these options.
CFLAGS=="-DUSE_DOUBLE -I/Library/Frameworks/CsoundLib64.framework/Headers"  
CXXFLAGS=="-DUSE_DOUBLE -I/Library/Frameworks/CsoundLib64.framework/Headers"  
CPPFLAGS=="-DUSE_DOUBLE -I/Library/Frameworks/CsoundLib64.framework/Headers"  

Otherwise just install 5.18 if at all possible.

Victor

On 7 Sep 2012, at 21:48, Dave Mooney wrote:

> Cheers Victor, I just repeated your steps as shown below but unfortunately am
> still getting the same results. Does any of what's pasted below give you any
> indication as to how to proceed? Thanks a million!
> 
> Dave
> 
> 
> Dave-Mooneys-MacBook-Pro:loris-1.8 davemooney$ make clean
> 
> Dave-Mooneys-MacBook-Pro:loris-1.8 davemooney$ ./configure
> CFLAGS="-I/Library/Frameworks/CsoundLib64.framework/Headers"
> CXXFlags="-I/Library/Frameworks/CsoundLib64.framework/Headers"
> CPPFLAGS="-I/Library/Frameworks/CsoundLib64.framework/Headers"
> 
> ----- Configuration Summary -----
> FFTW support: Disabled.
> Add something to CPPFLAGS and LDFLAGS to enable.
> See ./configure --help.
> Python support: Enabled.
> Installing Python extension modules in
> ${exec_prefix}/lib/python2.6/site-packages
> You may need to add ${exec_prefix}/lib/python2.6/site-packages to your
> PYTHONPATH
> before Python will be able to load them.
> Csound support: Enabled.
> To use Loris opcodes in your instruments, invoke csound with the argument:
> --opcode-lib=/usr/local/lib/libloris.so
> or libloris.dylib on Mac OS X
> ----- End Of Configuration -----
> 
> Dave-Mooneys-MacBook-Pro:loris-1.8 davemooney$ make
> 
> Dave-Mooneys-MacBook-Pro:loris-1.8 davemooney$ sudo make install
> 
> Dave-Mooneys-MacBook-Pro:loris-1.8 davemooney$ cd csound
> Dave-Mooneys-MacBook-Pro:csound davemooney$ csound
> --opcode-lib=/usr/local/lib/libloris.dylib tryit.csd
> PortMIDI real time MIDI plugin for Csound
> PortAudio real-time audio module for Csound
> virtual_keyboard real time MIDI plugin for Csound
> 0dBFS level = 32768.0
> Csound version 5.13 (float samples) Jan 17 2011
> libsndfile-1.0.21
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
> (-1)
> UnifiedCSD:  tryit.csd
> STARTING FILE
> Creating options
> Creating orchestra
> Creating score
> orchname: 
> /var/folders/Hf/HfbJ9KWlGOSSj8173ov6Gk+++TI/-Tmp-//csound-ATQPyj.orc
> scorename:
> /var/folders/Hf/HfbJ9KWlGOSSj8173ov6Gk+++TI/-Tmp-//csound-NVmFmd.sco
> Loading command-line libraries:
> rtaudio: PortAudio module enabled ... using callback interface
> rtmidi: PortMIDI module enabled
> orch compiler:
> 	instr	1	
> error:  illegal character ., line 29:
>             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
>                                                             ^
> error:  no legal opcode, line 29:
>             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
> error:  no legal opcode, line 30:
>    asig     lorisplay   1, 1, 1, 1
> error:  input arg 'asig' used before defined, line 31:
>             out         asig
> 	instr	2	
> error:  illegal character ., line 54:
>             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
>                                                             ^
> error:  no legal opcode, line 54:
>             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
> error:  illegal character +, line 55:
>    a1       lorisplay   1, ifscale+kvib, 2, kbwenv  
>                                   ^
> error:  no legal opcode, line 55:
>    a1       lorisplay   1, ifscale+kvib, 2, kbwenv  
> error:  input arg 'a1' used before defined, line 56:
>    a2       atone       a1, 1000      
> 	instr	3	
> error:  no legal opcode, line 75:
>             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, ifadetime
> error:  illegal character +, line 76:
> 	a1 lorisplay 1, ifscale+kvib, 2, 1  
> 	                       ^
> error:  no legal opcode, line 76:
> 	a1 lorisplay 1, ifscale+kvib, 2, 1  
> error:  input arg 'a1' used before defined, line 78:
> 	a2 atone a1, 1000  
> 13 syntax errors in orchestra.  compilation invalid
> 
> 
> 
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Libraries-not-loading-tp5715547p5715554.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2012-09-07 21:58
FromVictor Lazzarini
SubjectRe: [Csnd] Re: Libraries not loading?
Ops, also I saw this

> Csound version 5.13 (float samples) Jan 17 2011

you are using floats but the opcodes are linked to doubles. Try the csound64 command for doubles.
On 5.18  the csound command is already defaulting to doubles.


On 7 Sep 2012, at 21:48, Dave Mooney wrote:

> Cheers Victor, I just repeated your steps as shown below but unfortunately am
> still getting the same results. Does any of what's pasted below give you any
> indication as to how to proceed? Thanks a million!
> 
> Dave
> 
> 
> Dave-Mooneys-MacBook-Pro:loris-1.8 davemooney$ make clean
> 
> Dave-Mooneys-MacBook-Pro:loris-1.8 davemooney$ ./configure
> CFLAGS="-I/Library/Frameworks/CsoundLib64.framework/Headers"
> CXXFlags="-I/Library/Frameworks/CsoundLib64.framework/Headers"
> CPPFLAGS="-I/Library/Frameworks/CsoundLib64.framework/Headers"
> 
> ----- Configuration Summary -----
> FFTW support: Disabled.
> Add something to CPPFLAGS and LDFLAGS to enable.
> See ./configure --help.
> Python support: Enabled.
> Installing Python extension modules in
> ${exec_prefix}/lib/python2.6/site-packages
> You may need to add ${exec_prefix}/lib/python2.6/site-packages to your
> PYTHONPATH
> before Python will be able to load them.
> Csound support: Enabled.
> To use Loris opcodes in your instruments, invoke csound with the argument:
> --opcode-lib=/usr/local/lib/libloris.so
> or libloris.dylib on Mac OS X
> ----- End Of Configuration -----
> 
> Dave-Mooneys-MacBook-Pro:loris-1.8 davemooney$ make
> 
> Dave-Mooneys-MacBook-Pro:loris-1.8 davemooney$ sudo make install
> 
> Dave-Mooneys-MacBook-Pro:loris-1.8 davemooney$ cd csound
> Dave-Mooneys-MacBook-Pro:csound davemooney$ csound
> --opcode-lib=/usr/local/lib/libloris.dylib tryit.csd
> PortMIDI real time MIDI plugin for Csound
> PortAudio real-time audio module for Csound
> virtual_keyboard real time MIDI plugin for Csound
> 0dBFS level = 32768.0
> Csound version 5.13 (float samples) Jan 17 2011
> libsndfile-1.0.21
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
> (-1)
> UnifiedCSD:  tryit.csd
> STARTING FILE
> Creating options
> Creating orchestra
> Creating score
> orchname: 
> /var/folders/Hf/HfbJ9KWlGOSSj8173ov6Gk+++TI/-Tmp-//csound-ATQPyj.orc
> scorename:
> /var/folders/Hf/HfbJ9KWlGOSSj8173ov6Gk+++TI/-Tmp-//csound-NVmFmd.sco
> Loading command-line libraries:
> rtaudio: PortAudio module enabled ... using callback interface
> rtmidi: PortMIDI module enabled
> orch compiler:
> 	instr	1	
> error:  illegal character ., line 29:
>             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
>                                                             ^
> error:  no legal opcode, line 29:
>             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
> error:  no legal opcode, line 30:
>    asig     lorisplay   1, 1, 1, 1
> error:  input arg 'asig' used before defined, line 31:
>             out         asig
> 	instr	2	
> error:  illegal character ., line 54:
>             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
>                                                             ^
> error:  no legal opcode, line 54:
>             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, .001
> error:  illegal character +, line 55:
>    a1       lorisplay   1, ifscale+kvib, 2, kbwenv  
>                                   ^
> error:  no legal opcode, line 55:
>    a1       lorisplay   1, ifscale+kvib, 2, kbwenv  
> error:  input arg 'a1' used before defined, line 56:
>    a2       atone       a1, 1000      
> 	instr	3	
> error:  no legal opcode, line 75:
>             lorisread   ktime, "clarinet.sdif", 1, 1, 1, 1, ifadetime
> error:  illegal character +, line 76:
> 	a1 lorisplay 1, ifscale+kvib, 2, 1  
> 	                       ^
> error:  no legal opcode, line 76:
> 	a1 lorisplay 1, ifscale+kvib, 2, 1  
> error:  input arg 'a1' used before defined, line 78:
> 	a2 atone a1, 1000  
> 13 syntax errors in orchestra.  compilation invalid
> 
> 
> 
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Libraries-not-loading-tp5715547p5715554.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2012-09-07 22:03
FromDave Mooney
Subject[Csnd] Re: Libraries not loading?
Just installing 5.18 now!



--
View this message in context: http://csound.1045644.n5.nabble.com/Libraries-not-loading-tp5715547p5715557.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-09-07 22:11
FromVictor Lazzarini
SubjectRe: [Csnd] Re: Libraries not loading?
Don't forget to re-build loris as per my instructions again.
On 7 Sep 2012, at 22:03, Dave Mooney wrote:

> Just installing 5.18 now!
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Libraries-not-loading-tp5715547p5715557.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2012-09-07 22:23
FromDave Mooney
Subject[Csnd] Re: Libraries not loading?
Victor you're a hero. I just installed 5.18, ran through your previous steps
and it worked perfectly. The libraries are now loading without issue and
file renders out. I have the sound morphing tools I was looking for. Thanks
a lot really appreciate this!

All the best!
Dave


Dave-Mooneys-MacBook-Pro:csound davemooney$ csound
--opcode-lib=/usr/local/lib/libloris.dylib tryit.csd
Csound version 5.18.02 (double samples) Sep  1 2012
WARNING: could not open library
'/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/libjacko.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/libjackTransport.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/librtjack.dylib'
(-1)
UnifiedCSD: tryit.csd
Creating options
Creating orchestra
Creating score
Loading command-line libraries:
  /usr/local/lib/libloris.dylib
graph init 
using callback interface
Parsing successful!
Elapsed time at end of orchestra compile: real: 0.005s, CPU: 0.005s
Sorting score
Elapsed time at end of score sort: real: 0.005s, CPU: 0.005s
0dBFS level = 32768.0
orch now loaded
audio buffered in 1024 sample-frame blocks
writing 2048-byte blks of shorts to test.aif (AIFF)
SECTION 1:
ftable 1:
new alloc for instr 1:
B  0.000 ..  3.000 T  3.000 TT  3.000 M:   5347.2
B  3.000 ..  4.000 T  4.000 TT  4.000 M:   5204.6
B  4.000 .. 10.000 T 10.000 TT 10.000 M:   5876.1
end of section 1	 sect peak amps:   5876.1
inactive allocs returned to freespace
SECTION 2:
B  0.000 ..  1.000 T  1.000 TT 11.000 M:      0.0
new alloc for instr 2:
B  1.000 ..  3.500 T  3.500 TT 13.500 M:   4873.2
new alloc for instr 2:
B  3.500 ..  4.000 T  4.000 TT 14.000 M:   4357.7
new alloc for instr 2:
B  4.000 ..  4.500 T  4.500 TT 14.500 M:   6836.3
B  4.500 .. 10.000 T 10.000 TT 20.000 M:   4223.5
end of section 2	 sect peak amps:   6836.3
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score.		   overall amps:   6836.3
	   overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 5.559s, CPU: 5.495s
1024 2048 sample blks of shorts written to test.aif (AIFF)




--
View this message in context: http://csound.1045644.n5.nabble.com/Libraries-not-loading-tp5715547p5715559.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-09-07 22:32
FromVictor Lazzarini
SubjectRe: [Csnd] Re: Libraries not loading?
Well, I am glad it's working. Have fun.

Regards

Victor
On 7 Sep 2012, at 22:23, Dave Mooney wrote:

> Victor you're a hero. I just installed 5.18, ran through your previous steps
> and it worked perfectly. The libraries are now loading without issue and
> file renders out. I have the sound morphing tools I was looking for. Thanks
> a lot really appreciate this!
> 
> All the best!
> Dave
> 
> 
> Dave-Mooneys-MacBook-Pro:csound davemooney$ csound
> --opcode-lib=/usr/local/lib/libloris.dylib tryit.csd
> Csound version 5.18.02 (double samples) Sep  1 2012
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/libjacko.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/libjackTransport.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/librtjack.dylib'
> (-1)
> UnifiedCSD: tryit.csd
> Creating options
> Creating orchestra
> Creating score
> Loading command-line libraries:
>  /usr/local/lib/libloris.dylib
> graph init 
> using callback interface
> Parsing successful!
> Elapsed time at end of orchestra compile: real: 0.005s, CPU: 0.005s
> Sorting score
> Elapsed time at end of score sort: real: 0.005s, CPU: 0.005s
> 0dBFS level = 32768.0
> orch now loaded
> audio buffered in 1024 sample-frame blocks
> writing 2048-byte blks of shorts to test.aif (AIFF)
> SECTION 1:
> ftable 1:
> new alloc for instr 1:
> B  0.000 ..  3.000 T  3.000 TT  3.000 M:   5347.2
> B  3.000 ..  4.000 T  4.000 TT  4.000 M:   5204.6
> B  4.000 .. 10.000 T 10.000 TT 10.000 M:   5876.1
> end of section 1	 sect peak amps:   5876.1
> inactive allocs returned to freespace
> SECTION 2:
> B  0.000 ..  1.000 T  1.000 TT 11.000 M:      0.0
> new alloc for instr 2:
> B  1.000 ..  3.500 T  3.500 TT 13.500 M:   4873.2
> new alloc for instr 2:
> B  3.500 ..  4.000 T  4.000 TT 14.000 M:   4357.7
> new alloc for instr 2:
> B  4.000 ..  4.500 T  4.500 TT 14.500 M:   6836.3
> B  4.500 .. 10.000 T 10.000 TT 20.000 M:   4223.5
> end of section 2	 sect peak amps:   6836.3
> Score finished in csoundPerform().
> inactive allocs returned to freespace
> end of score.		   overall amps:   6836.3
> 	   overall samples out of range:        0
> 0 errors in performance
> Elapsed time at end of performance: real: 5.559s, CPU: 5.495s
> 1024 2048 sample blks of shorts written to test.aif (AIFF)
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Libraries-not-loading-tp5715547p5715559.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie