Hi Drake, For Loris and STK, you actually need to copy the src of those libraries into the location where the opcode plugin source code is. I think it'd make a lot more sense to just link against Loris and STK as you can download them easily, but the decision was made to go this route. I don't remember why, but am thinking it would be easier to compile STK opcodes if just dynamically linked as opposed to requiring src. Michael, could you refresh my memory as to why you went this route? I remember there being a specific reason but can't recall. Thanks! steven On Feb 15, 2008 7:32 PM, Drake Wilson wrote: > Sorry if this has been brought up before; I searched the Web and the > mailing list archives, but I couldn't find anything. > > When I try to build Csound 5.07 with the Loris and STK opcodes, > unpacking first Csound5.07.0.tar.gz and then Loris_STK_src_5.07.zip > from the SourceForge download page for Csound, it fails to compile, > seemingly due to missing files in both the Loris and STK directories > that are presumably supposed to interface those external pieces of > code to the central bits of Csound. > > The build looks something like this: > > $ scons usePortAudio=0 usePortMIDI=0 useALSA=1 useJack=1 \ > buildLoris=1 useOSC=1 useUDP=1 buildPythonOpcodes=1 \ > prefix=/opt/csound5 buildRelease=1 gcc4opt=k8 Word64=1 \ > Lib64=1 buildStkOpcodes=1 buildPDClass=1 install=1 \ > useCoreAudio=0 buildVirtual=1 buildInterfaces=1 \ > buildNewParser=1 > [pile of text omitted; full log attached] > scons: *** Source `Opcodes/Loris/lorisgens5.C' not found, needed by target `Opcodes/Loris/lorisgens5.os'. Stop. > scons: building terminated because of errors. > > When I look at the Csound 5.05 source, I see that the referenced file > exists. Similarly, if I try to build without Loris but with STK, the > build halts while looking for the file Opcodes/stk/stkOpcodes.cpp, > which is also present in the 5.05 source tarball > (Csound5.05_src.tar.gz). (I have not tried building 5.05 with STK and > Loris support yet.) > > I don't see either of those files in either the Loris/STK secondary > source archive or the upstream versions of Loris or STK, so I assume > they're supposed to be part of the Csound source. Are these supposed > to come from somewhere that I'm not recognizing? Am I doing the build > wrong? Or is it actually that the files are just missing from the > source archive, rendering the Loris/STK stuff uncompilable? Is it > worth trying to copy those files from a 5.05 source tree? I don't see > them in CVS either, according to the CVS browser. > > Thanks for your attention. > > ---> Drake Wilson > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net