gcc (GCC) 12.2.0
cmake version 3.26.4
espeak-ng 1.51
Command: cmake . && make -j6
Test with latest commit 41cfb05eba5f53960752e66c5b668304da488683
-- The CXX compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.5")
-- Checking for module 'espeak-ng<2'
-- Found espeak-ng, version 1.51
-- Configuring done (0.3s)
-- Generating done (0.0s)
-- Build files have been written to: /run/build/piper-phonemize
[ 50%] Building CXX object CMakeFiles/piper_phonemize.dir/src/phonemize.cpp.o
[ 50%] Building CXX object CMakeFiles/piper_phonemize.dir/src/phoneme_ids.cpp.o
[ 50%] Building CXX object CMakeFiles/piper_phonemize.dir/src/tashkeel.cpp.o
/run/build/piper-phonemize/src/phonemize.cpp: In function ‘void piper::phonemize_eSpeak(std::string, eSpeakPhonemeConfig&, std::vector<std::vector<char32_t> >&)’:
/run/build/piper-phonemize/src/phonemize.cpp:42:32: error: ‘espeak_TextToPhonemesWithTerminator’ was not declared in this scope
42 | std::string clausePhonemes(espeak_TextToPhonemesWithTerminator(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/piper_phonemize.dir/build.make:76: CMakeFiles/piper_phonemize.dir/src/phonemize.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/piper_phonemize.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Hi,
I want to build from source locally on my machine. But I got an error below.
Command:
cmake . && make -j6
Test with latest commit 41cfb05eba5f53960752e66c5b668304da488683