From: Pieter S. <pie...@gm...> - 2008-08-01 05:56:09
|
I noticed your hts_engine_API include directory is hts_engine_API-0.9. Try using the latest version, hts_engine_API-1.01. From your error it seems as though the functon signatures for "HTS_Engine_initialize" and "HTS_Engine_refresh" are different between versions 0.9 and 1.01. This is not surprising as version 0.9 is quite old. On Fri, Aug 1, 2008 at 2:05 AM, Yufeng Hao <yuf...@gm...> wrote: > I tried the method you mentioned. But the compile error appears more > quickly, showing as below: > > [root@localhost flite+hts_engine-0.90]# make > Making all in lib > make[1]: Entering directory `/home/hyf/flite+hts_engine-0.90/lib' > if gcc -DPACKAGE_NAME=\"flite+hts_engine\" > -DPACKAGE_TARNAME=\"flite-hts_engine\" -DPACKAGE_VERSION=\"0.90\" > -DPACKAGE_STRING=\"flite+hts_engine\ 0.90\" -DPACKAGE_BUGREPORT=\" > hts...@li...\<hts...@li...%5C>" > -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 > -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 > -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 > -DHAVE_STRING_H=1 -DHAVE_VPRINTF=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 > -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DFLITE_PLUS_HTS_ENGINE=1 -I. -I. > -I../include -I../flite/include -I../flite/lang/cmu_us_kal > -I../flite/lang/cmulex -I../flite/lang/usenglish > -I/home/hyf/hts_engine_API-0.9/src/include -g -O2 -MT flite_hts_engine.o > -MD -MP -MF ".deps/flite_hts_engine.Tpo" -c -o flite_hts_engine.o > flite_hts_engine.c; \ > then mv -f ".deps/flite_hts_engine.Tpo" ".deps/flite_hts_engine.Po"; else > rm -f ".deps/flite_hts_engine.Tpo"; exit 1; fi > flite_hts_engine.c: In function `Flite_HTS_Engine_initialize': > flite_hts_engine.c:338: error: too many arguments to function > `HTS_Engine_initialize' > flite_hts_engine.c: In function `Flite_HTS_Engine_synthesis': > flite_hts_engine.c:426: error: too few arguments to function > `HTS_Engine_refresh' > make[1]: *** [flite_hts_engine.o] Error 1 > make[1]: Leaving directory `/home/hyf/flite+hts_engine-0.90/lib' > make: *** [all-recursive] Error 1 > [root@localhost flite+hts_engine-0.90]# > -yufeng > > On Thu, Jul 31, 2008 at 10:42 PM, Pieter Scholtz <pie...@gm...>wrote: > >> Hello all >> >> I received similar error messages to Yufeng Hao when trying to compile. >> There seems to be a problem with specifying relative path names to the >> configure options --with-hts-engine-header-path and >> --with-hts-engine-library-path. Try using absolute path names instead, I >> managed to successfully compile that way. >> >> Regards >> Pieter >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Hts-engine-users mailing list >> Hts...@li... >> https://lists.sourceforge.net/lists/listinfo/hts-engine-users >> >> > |