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.<br><br>It now looks like this:<br><br>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']) <br>

    for program, main in mainSources.items()]<br><br><br><div class="gmail_quote">On Wed, Jun 15, 2011 at 4:37 PM, Rahul Rajan <span dir="ltr"><<a href="mailto:rahul.rajan@gmail.com" target="_blank">rahul.rajan@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello,<div><br></div><div>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<br>



<br>programs = [ env.Program(target=program, source = [main] + sources) <br>    for program, main in mainSources.items()]<br><br>to,<br><br>programs = [ env.Program(target=program, source = [main] + sources, LIBS=['Festival', 'estools', 'estbase', 'eststring'], LIBPATH=['/usr/lib', '/usr/local/lib']) <br>



    for program, main in mainSources.items()]<br><br><br>But this changes the compile command to:<br>g++ -o MyProgram main.o -L/usr/lib -L/usr/local/lib -lFestival -lestools -lestbase -leststring<br><br>and doesn't do this anymore,<br>



g++ -o MyProgram main.o Channelizer.o -L/usr/local/lib -lQtGui -lQtCore -lclam_audioio -lclam_processing -lclam_core<br><br>I would really appreciate any advice on how I shoild modify the SConstruct file to include the external libraries.<br>



<br>Thanks!<br>Rahul<br></div>
</blockquote></div><br>