Csound Csound-dev Csound-tekno Search About

[Cs-dev] What has happened to FLTK stuff?

Date2005-10-13 14:53
Fromjpff@codemist.co.uk
Subject[Cs-dev] What has happened to FLTK stuff?
I have noticed of late that I am no longer getting graphs but just
ascii pictures.  I have just noticed when attempting to run
examples/fl.csd that I get the error message

WARNING: could not open library './libwidgets.so'

and then it continues to fail
On the other hand the file does exist
-rwxr-xr-x  1 jpff users 989303 2005-10-13 11:29 ./libwidgets.so*

What is going on?

0dBFS level = 32768.0
Csound version 5.00.0 beta (double samples) Oct 13 2005
libsndfile-1.0.11
UnifiedCSD:  examples/fl.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
orchname:  /tmp/fileCqrUv0.orc
scorename: /tmp/fileWwjsmt.sco
****OSC: liblo started****
rtaudio: ALSA module enabled
rtmidi: PortMIDI module enabled
orch compiler:
16 lines read
error:  no legal opcode, line 6:
        FLpanel "This Panel contains a Knob and shows its current value",400,300
error:  no legal opcode, line 7:
ih1     FLvalue "This is current value of output of the Knob", 100,20,50,20
error:  no legal opcode, line 8:
gk1,gih  FLknob  "Current value of this Knob is shown in a text field", 80,5000,

==John ffitch


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-10-13 14:59
FromVictor Lazzarini
SubjectRe: [Cs-dev] What has happened to FLTK stuff?
I noticed that too on Linux. Didn't pay attention. But in OSX
the library seems to load. Is it because of problems with
dynamic linking?

Victor

At 14:53 13/10/2005, you wrote:
>I have noticed of late that I am no longer getting graphs but just
>ascii pictures.  I have just noticed when attempting to run
>examples/fl.csd that I get the error message
>
>WARNING: could not open library './libwidgets.so'
>
>and then it continues to fail
>On the other hand the file does exist
>-rwxr-xr-x  1 jpff users 989303 2005-10-13 11:29 ./libwidgets.so*
>
>What is going on?
>
>0dBFS level = 32768.0
>Csound version 5.00.0 beta (double samples) Oct 13 2005
>libsndfile-1.0.11
>UnifiedCSD:  examples/fl.csd
>STARTING FILE
>Creating options
>Creating orchestra
>Creating score
>orchname:  /tmp/fileCqrUv0.orc
>scorename: /tmp/fileWwjsmt.sco
>****OSC: liblo started****
>rtaudio: ALSA module enabled
>rtmidi: PortMIDI module enabled
>orch compiler:
>16 lines read
>error:  no legal opcode, line 6:
>         FLpanel "This Panel contains a Knob and shows its current 
> value",400,300
>error:  no legal opcode, line 7:
>ih1     FLvalue "This is current value of output of the Knob", 100,20,50,20
>error:  no legal opcode, line 8:
>gk1,gih  FLknob  "Current value of this Knob is shown in a text field", 
>80,5000,
>
>==John ffitch
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by:
>Power Architecture Resource Center: Free content, downloads, discussions,
>and more. http://solutions.newsforge.com/ibmarch.tmpl
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-10-16 17:27
Fromjpff@codemist.co.uk
Subject[Cs-dev] Re: What has happened to FLTK stuff?
This is a repeat message;  
I have noticed of late that I am no longer getting graphs but just
ascii pictures.  I have just noticed when attempting to run
examples/fl.csd that I get the error message

WARNING: could not open library './libwidgets.so'

and then it continues to fail
On the other hand the file does exist
-rwxr-xr-x  1 jpff users 989303 2005-10-13 11:29 ./libwidgets.so*

What is going on?

0dBFS level = 32768.0
Csound version 5.00.0 beta (double samples) Oct 13 2005
libsndfile-1.0.11
UnifiedCSD:  examples/fl.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
orchname:  /tmp/fileCqrUv0.orc
scorename: /tmp/fileWwjsmt.sco
****OSC: liblo started****
rtaudio: ALSA module enabled
rtmidi: PortMIDI module enabled
orch compiler:
16 lines read
error:  no legal opcode, line 6:
        FLpanel "This Panel contains a Knob and shows its current value",400,300
error:  no legal opcode, line 7:
ih1     FLvalue "This is current value of output of the Knob", 100,20,50,20
error:  no legal opcode, line 8:
gk1,gih  FLknob  "Current value of this Knob is shown in a text field", 80,5000,

This is clearly a symptom of a major problem.  The error message is
way too terse.  i assume that there is a missing library in FLTK but
this whole area has changed so much that I cannot even start to find
where this happens.  Please could whoever broke this please please fix
it!

==John ffitch


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-10-16 17:49
FromIstvan Varga
SubjectRe: [Cs-dev] Re: What has happened to FLTK stuff?
jpff@codemist.co.uk wrote:

> This is clearly a symptom of a major problem.  The error message is
> way too terse.  i assume that there is a missing library in FLTK but
> this whole area has changed so much that I cannot even start to find
> where this happens.  Please could whoever broke this please please fix
> it!

I cannot reproduce this error. It is possible that a library on which
libwidgets.so depends is not found; try running ldd to find out what
dependencies may possibly be missing. For example:

ldd ./libwidgets.so
         linux-gate.so.1 =>  (0xffffe000)
         libsndfile.so.1 => /usr/local/lib/libsndfile.so.1 (0x40037000)
         libfltk.so.1.1 => /usr/local/lib/libfltk.so.1.1 (0x40091000)
         libstdc++.so.6 => /usr/local/gcc-4.1.0/lib/libstdc++.so.6 (0x4011b000)
         libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40202000)
         libm.so.6 => /lib/tls/libm.so.6 (0x40214000)
         libgcc_s.so.1 => /usr/local/gcc-4.1.0/lib/libgcc_s.so.1 (0x40237000)
         libc.so.6 => /lib/tls/libc.so.6 (0x40241000)
         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40358000)
         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40366000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
         libdl.so.2 => /lib/libdl.so.2 (0x40462000)


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-10-16 17:57
Fromjpff@codemist.co.uk
Subject[Cs-dev] Re: What has happened to FLTK stuff?
Ignore previous message.  The error was that the widgets.cpp was not
compiled with the correct libraries, as this was wrong in SConstruct.
I found where to give a proper error message rather than the "cannot
load" one and then chased.  My fix may not be optimal but it actually
works.

==John ffitch


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net