If you are making a plugin you need to change Opcodes/CMakeLists.txt Look at (eg) p5glove opcode, look in that file for p5g The critical lines ae if(BUILD_P5GLOVE_OPCODES) make_plugin(p5g p5glove.c ${P5GLOVE_LIB}) endif() after checks, so i your case if(BUILD_GLEB_OPCODES) make_plugin(gleb gleb.c ${GLEB_LIB}) endif() (if you do not need the ibrary just omit) ==John ff Quoting Gleb : > Hello everybody! > > I am trying to add a new plugin unit generator for CSound6. As always, > - I create newunit.c and newunit.h > - I add OENTRY record > - I add corresponding stuff to SConstruct > and got nothing. csound -z shows that the new opcode is not included. > > I suppose SConstruct is something I shouldn't use since we are on cmake now, > should I? > > Unfortunately, manual page for Extending Csound is still the same as it was > in 5. The only thing I discovered is a couple of lines in Whats new section > of manual. > > Did something change in the adding procedure for Csound6? Do we have any > examples? > > Thank you for answers! > > > > > > > ----- > Gleb Rogozinsky, PhD > Associated Professor > Interactive Arts Department > Saint-Petersburg University of Film and Television > > Deputy Director of Medialab > Saint-Petersburg University of Telecommunications > -- > View this message in context: > http://csound.1045644.n5.nabble.com/Adding-new-opcode-in-Csound6-tp5733349.html > Sent from the Csound - Dev mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net