Results 1 to 3 of 3

Thread: gcc compilation error in festival

  1. #1
    Join Date
    Mar 2010
    Location
    jaipur,India
    Beans
    12
    Distro
    Ubuntu 10.04 Lucid Lynx

    gcc compilation error in festival

    while compiling the following code

    #include "/home/neha/Desktop/festival/src/include/festival.h"
    int main(int argc,char **argv)
    {
    EST_Wave wave;
    int heap_size=210000;
    int load_init_files=1;
    festival_initialize(load_init_files,heap_size);
    //festival_say_file("/etc/motd");
    festival_eval_command("(voice_ked_diphone)");
    festival_say_text("hello world");
    festival_text_to_wave("hello world",wave);
    wave.save("/tmp/wave.wav","riff");
    festival_wait_for_spooler();
    return 0;
    }

    i am getting the error..


    **** Build of configuration Debug for project neha ****

    make all
    Building target: neha
    Invoking: GCC C++ Linker
    g++ -L/usr/lib -o"neha" ./src/neha.o -llibeststring.a -llibestbase.a -llibestools.a -llibFestival.a
    /usr/bin/ld: cannot find -llibeststring.a
    collect2: ld returned 1 exit status
    make: *** [neha] Error 1


    Can anyone resolve the problem??

  2. #2
    Join Date
    Mar 2010
    Location
    jaipur,India
    Beans
    12
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: gcc compilation error in festival

    i solved this problem.
    while linking the libraries for e.g. while linking the library libFestival.a,just use Festival instead of the libFestival.a..

  3. #3
    Join Date
    Jan 2011
    Location
    Chicago, IL
    Beans
    13
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: gcc compilation error in festival

    Hi,

    I am getting the same error:
    /usr/bin/ld: cannot find -l/usr/lib/libFestival.a
    collect2: ld returned 1 exit status

    What did you do for the other libraries?
    -leststring.a -lestbase.a -lestools.a
    doesn't work...

    Thanks

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •