Which is your original SConstruct, networkeditor´s? P -- Sent from a smartphone
----- Mensaje original ----- > I hacked it by adding all the libraries including clam_core, etc in that > line but I would still like to know what the "right" way to do it would > be. > > It now looks like this: > > programs = [ env.Program(target=program, source = [main] + sources, > LIBS=['Festival', 'estools', 'estbase', 'eststring', 'clam_core', > 'clam_audioio', 'clam_processing', 'QtGui', 'QtCore'], > LIBPATH=['/usr/lib', '/usr/local/lib', '/usr/local']) > for program, main in mainSources.items()] > > > On Wed, Jun 15, 2011 at 4:37 PM, Rahul Rajan <rahul.ra...@gmail.com> > wrote: > > > Hello, > > > > I am trying to use the Festival text-to-speech library in my CLAM-based > > project. I am not sure how to include the required libraries in the > > SConstruct file. I modified this line in the provided SConstruct file > > > > programs = [ env.Program(target=program, source = [main] + sources) > > for program, main in mainSources.items()] > > > > to, > > > > programs = [ env.Program(target=program, source = [main] + sources, > > LIBS=['Festival', 'estools', 'estbase', 'eststring'], > > LIBPATH=['/usr/lib', '/usr/local/lib']) > > for program, main in mainSources.items()] > > > > > > But this changes the compile command to: > > g++ -o MyProgram main.o -L/usr/lib -L/usr/local/lib -lFestival > > -lestools -lestbase -leststring > > > > and doesn't do this anymore, > > g++ -o MyProgram main.o Channelizer.o -L/usr/local/lib -lQtGui -lQtCore > > -lclam_audioio -lclam_processing -lclam_core > > > > I would really appreciate any advice on how I shoild modify the > > SConstruct file to include the external libraries. > > > > Thanks! > > Rahul > >
_______________________________________________ clam-devel mailing list clam-devel@lists.clam-project.org http://lists.clam-project.org/listinfo.cgi/clam-devel-clam-project.org