https://sourceforge.net/projects/e-guidedog/files/Ekho/
2.按照源码的根目录下的INSTALL文件安装了相关的依赖,
===== INSTALL (for Linux) =====
You need to have following libraries first:
* libsndfile1-dev (http://www.mega-nerd.com/libsndfile/)
* libpulse-dev
* libncurses5-dev (required by --enable-festival)
* libestools2.1-dev (optionally required by --enable-festival)
* festival-dev (optionally required by --enable-festival)
* libvorbis-dev (optional)
* libmp3lame-dev (optional)
* libdotconf-dev (required by --enable-speechd)
* texinfo
On Ubuntu Linux, we can use `apt-cache search <pkg_keywork>` to find a package's full name and install it with `sudo apt-get install <pkg_name>`.
On Fedora Linux, we can use `yum search <pkg_keyword>` to find a package's full name and install it with `sudo yum install <pkg_name>`.
On SuSE Linux, we can use `zypper search <pkg_keyword>` and `zypper install <pkg_name>`.
$ ./configure
$ make
$ sudo make install
3.按照上面的 ./configure 命令操作,make 命令后出现一下错误,
make[1]: Entering directory '/home/vinky/ekho-6.0'
g++ -DHAVE_CONFIG_H -I. -I./utfcpp/source -I./sonic -D_REENTRANT -I./sr-convert -DOUTPUT16BIT -D_`uname -p` -pthread -g -O2 -O0 -MT src/libekho_a-libekho.o -MD -MP -MF src/.deps/libekho_a-libekho.Tpo -c -o src/libekho_a-libekho.o `test -f 'src/libekho.cpp' || echo './'`src/libekho.cpp
src/libekho.cpp: In member function ‘int ekho::Ekho::stopAndSpeak(std::string, void (*)(void*), void*)’:
src/libekho.cpp:1321:1: warning: no return statement in function returning non-void [-Wreturn-type]
1321 | }
| ^
In file included from src/libekho.cpp:37:
./sr-convert/sr-convert.cpp: In function ‘void madd_sse(madd_params*)’:
./sr-convert/sr-convert.cpp:148:3: error: unknown register name ‘%ecx’ in ‘asm’
148 | asm volatile
| ^~~
./sr-convert/sr-convert.cpp:148:3: error: unknown register name ‘%edx’ in ‘asm’
./sr-convert/sr-convert.cpp:148:3: error: unknown register name ‘%esi’ in ‘asm’
./sr-convert/sr-convert.cpp: In function ‘void madd2_sse(madd2_params*)’:
./sr-convert/sr-convert.cpp:213:3: error: unknown register name ‘%ecx’ in ‘asm’
213 | asm volatile
| ^~~
./sr-convert/sr-convert.cpp:213:3: error: unknown register name ‘%edx’ in ‘asm’
./sr-convert/sr-convert.cpp:213:3: error: unknown register name ‘%esi’ in ‘asm’
./sr-convert/sr-convert.cpp: In function ‘void mmov_sse(mmov_params*)’:
./sr-convert/sr-convert.cpp:287:3: error: unknown register name ‘%ecx’ in ‘asm’
287 | asm volatile
| ^~~
./sr-convert/sr-convert.cpp:287:3: error: unknown register name ‘%edx’ in ‘asm’
./sr-convert/sr-convert.cpp:287:3: error: unknown register name ‘%esi’ in ‘asm’
./sr-convert/sr-convert.cpp: In function ‘bool have_sse()’:
我在执行 ./configure 命令时,没有指明任何参数,我也不知道是不是这个原因,所以在这里向 各位大佬求助下,盼望大佬们指导指导,谢谢了