It is possible that the opcodes were built from older sources where compress.c did not have the plugin interface correctly set up; note that anything downloaded from pserver CVS access is probably very outdated. While it is not required for plugins to be compiled for the exact same version of Csound with which they are intended to be used, you should make sure that you use the 5.01 headers and not those from 5.02 beta, otherwise the plugin may be rejected (even if it would work, in fact) because of requiring a newer version of the API than that of CsoundLib. On Saturday 22 April 2006 23:38, Victor Lazzarini wrote: > It looks like the csound you are using is incompatible > with the dylib you created. More specifically, the > csound library is. Because you have more than one > version of csound in your machine, these might > have got crossed. If the csound program is dynamically > linked to a csound library, that is even more likely > to be the problem. > > > Regarding the Compress and Distort opcodes, > > > > Since I have been unable to perform a complete checkout > > from CVS I looked at the SConstruct file (via > > SourceForge) and noticed that this was pretty much the > > only line that was added from the version I already had: > > > > makePlugin(pluginEnvironment, 'compress', > > ['Opcodes/compress.c']) > > > > I added this to my other SConstruct from my previously > > built Csound5. Note, I prefer to run Csound5 from the > > build directory rather than installing since I have older > > versions of Csound installed) > > > > I re-ran SConstruct and everything went fine. > > > > I note that it used the following compilation and linking > > flags (separated by a newline for legibility): > > > > gcc -Wall -O3 -mcpu=7450 -mtune=7450 -fomit-frame-pointer > > -ffast-math -DMACOSX -DPIPES -faltivec -fPIC -DBETA > > -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H > > -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H > > -DHAVE_DIRENT_H -I. -IH -I/usr/include/malloc > > -I/opt/local/include/boost-1_32 -I/usr/include/python2.3 > > -I/usr/local/include -c -o Opcodes/compress.os > > Opcodes/compress.c > > > > /Developer/Tools/Rez -i APPL -o cswish > > frontends/tclcsound/cswish.r > > > > gcc -framework CoreMidi -framework CoreFoundation > > -framework CoreAudio -dynamiclib -o libcompress.dylib > > Opcodes/compress.os -L. -L. -L/usr/local/lib -L. -L. > > -lsndfile > > > > /Developer/Tools/Rez -i APPL -o csound cs5.r > > > > > > *** Yet, for some reason when I run Csound, I get > > > > WARNING: '/Users/daveakbari/CVS/csound5/libcompress.dylib' > > is not a Csound plugin library > > > > In context: > > > > Localisation of messages is disabled, using default > > language. time resolution is 1000.000 ns > > WARNING: '/Users/daveakbari/CVS/csound5/libcompress.dylib' > > is not a Csound plugin library > > PortMIDI real time MIDI plugin for Csound > > CoreAudio real-time audio module for Csound > > by Victor Lazzarini > > JACK real-time audio module for Csound by Istvan Varga > > PortAudio real-time audio module for Csound > > [... etc continues as expected] > > > > 1) Why does the API not recognize this newly compiled > > libcompress.dylib ? > > > > 2) Why is the fact that 'it is not a Csound plugin > > library' reported before any of the other initializations > > ? Typically when I see this error it doesn't show up > > until after the audio drivers at least -- like so: > > > > [dhcp31-9-141:~/CVS/csound5] daveakba% ./csound -z1 > > Localisation of messages is disabled, using default > > language. time resolution is 1000.000 ns > > PortMIDI real time MIDI plugin for Csound > > CoreAudio real-time audio module for Csound > > by Victor Lazzarini > > JACK real-time audio module for Csound by Istvan Varga > > PortAudio real-time audio module for Csound > > WARNING: '/Users/daveakbari/CVS/csound5/tclcsound.dylib' > > is not a Csound plugin library > > 0dBFS level = 32768.0 > > Csound version 5.01.1 beta (float samples) Apr 20 2006 > > libsndfile-1.0.13 > > rtaudio: PortAudio module enabled ... using callback > > interface rtmidi: PortMIDI module enabled > > **** OSC: liblo started **** > > WARNING: '/Users/daveakbari/CVS/csound5/lib_csnd.dylib' is > > not a Csound plugin library > > 1234 opcodes > > [...] > > > > > > Any help appreciated! ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net