Csound Csound-dev Csound-tekno Search About

[Csnd] Re: FLTK Opcodes not found

Date2008-02-11 15:42
FromLuís Antunes Pena
Subject[Csnd] Re: FLTK Opcodes not found
how exactly links csound to the fltk-opcodes? I found
the fltk-libraries in /usr/local/lib/. It seams to be
OK, but stil csound does not found the FL-Opcodes. 
Any idea what can be wrong?
Thanks for any help.
Luis

k_o_m_p schrieb:
> Hello,
> I'm having a strange error with csound when running
FLTK opcodes. Looks like Csound lost the link to the
libraries FLTK and doesn't recognize any FL-Opcode.
> I attached the error message and the csd file.
> Thanks for any help.
> Luis
>
> Localisation of messages is disabled, using default
language.
> 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.07 (float samples) Oct  2 2007
> libsndfile-1.0.17
> UnifiedCSD:  panel01.csd
> STARTING FILE
> Creating options
> Creating orchestra
> Creating score
> orchname:  /tmp/tmp.0.tRHVEI.orc
> scorename: /tmp/tmp.1.zbX5Sz.sco
> rtaudio: PortAudio module enabled ... using callback
interface
> rtmidi: PortMIDI module enabled
> orch compiler:
> 16 lines read
>         instr   1
> error:  no legal opcode, line 10:
>             FLpanel   "Praxis der EM 1", 600, 300,
50, 50
> error:  no legal opcode, line 11:
>             FLpanelEnd
> error:  no legal opcode, line 12:
>             FLrun
> 3 syntax errors in orchestra.  compilation invalid
>
>
>
>
> 
> 
> 
> 
> sr = 44100
> ksmps = 100
> nchnls = 1
>   instr 1
>             FLpanel   "Praxis der EM 1", 600, 300,
50, 50
>             FLpanelEnd
>             FLrun
> endin    
> 
> 
> f1 0 8192 10 1 .3 .5 .25 .4 .123
> i1 0 3600
> e
> 
> 

-- 

l u i s   a n t u n e s   p e n a
http://icem.folkwang-hochschule.de/~pena
http://www.myspace.com/kaurimusik



      Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go

Date2008-02-11 16:54
FromVictor Lazzarini
Subject[Csnd] Re: Re: FLTK Opcodes not found
which system? Make sure OPCODEDIR is set. If so check
if a widgets.{so,dll,dylib} is there.

Basically, FLTK is linked to widgets.{so,dylib, dll} and
Csound loads that file.

Victpr

At 15:42 11/02/2008, you wrote:
>how exactly links csound to the fltk-opcodes? I found
>the fltk-libraries in /usr/local/lib/. It seams to be
>OK, but stil csound does not found the FL-Opcodes.
>Any idea what can be wrong?
>Thanks for any help.
>Luis
>
>k_o_m_p schrieb:
> > Hello,
> > I'm having a strange error with csound when running
>FLTK opcodes. Looks like Csound lost the link to the
>libraries FLTK and doesn't recognize any FL-Opcode.
> > I attached the error message and the csd file.
> > Thanks for any help.
> > Luis
> >
> > Localisation of messages is disabled, using default
>language.
> > 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.07 (float samples) Oct  2 2007
> > libsndfile-1.0.17
> > UnifiedCSD:  panel01.csd
> > STARTING FILE
> > Creating options
> > Creating orchestra
> > Creating score
> > orchname:  /tmp/tmp.0.tRHVEI.orc
> > scorename: /tmp/tmp.1.zbX5Sz.sco
> > rtaudio: PortAudio module enabled ... using callback
>interface
> > rtmidi: PortMIDI module enabled
> > orch compiler:
> > 16 lines read
> >         instr   1
> > error:  no legal opcode, line 10:
> >             FLpanel   "Praxis der EM 1", 600, 300,
>50, 50
> > error:  no legal opcode, line 11:
> >             FLpanelEnd
> > error:  no legal opcode, line 12:
> >             FLrun
> > 3 syntax errors in orchestra.  compilation invalid
> >
> >
> >
> >
> > 
> > 
> > 
> > 
> > sr = 44100
> > ksmps = 100
> > nchnls = 1
> >   instr 1
> >             FLpanel   "Praxis der EM 1", 600, 300,
>50, 50
> >             FLpanelEnd
> >             FLrun
> > endin
> > 
> > 
> > f1 0 8192 10 1 .3 .5 .25 .4 .123
> > i1 0 3600
> > e
> > 
> > 
>
>--
>
>l u i s   a n t u n e s   p e n a
>http://icem.folkwang-hochschule.de/~pena
>http://www.myspace.com/kaurimusik
>
>
>
>       Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
>www.yahoo.de/go
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>csound"

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


Date2008-02-11 18:03
FromAnthony Kozar
Subject[Csnd] Re: Re: FLTK Opcodes not found
It would help to know what platform you are running on and whether this is a
new installation or a different computer than you used before or is it an
existing installation that used to work.  Also, which Csound package did you
install or did you build from sources?

Usually this sort of problem is a result of the OPCODEDIR environment
variable not being set correctly.  But from the output messages, it appears
that the portmidi and portaudio plugins are being found so this explanation
seems less likely.  Can you confirm that the other opcode libraries are
being loaded by typing "csound -z" at the commandline.  This lists all
available opcodes and should include (for example) eqfil, granule, max, min,
pan2, partikkel, etc. if the other plugins are loading correctly.

Also, when you say that you found the fltk-libraries in /usr/local/lib/, do
you mean the Csound fltk opcode library?  I am assuming not, since it would
usually be somewhere else (possibly /usr/local/lib/csound/).  I think that
the Csound FLTK opcode library is usually called something like
libwidgets.so (on Linux) or libwidgets.dylib (MacOS X).  Can you find a file
with this name?

Anthony Kozar
mailing-lists-1001 AT anthonykozar DOT net
http://anthonykozar.net/

Luís Antunes Pena wrote on 2/11/08 10:42 AM:

> how exactly links csound to the fltk-opcodes? I found
> the fltk-libraries in /usr/local/lib/. It seams to be
> OK, but stil csound does not found the FL-Opcodes.
> Any idea what can be wrong?
> Thanks for any help.
> Luis