Linux 获得;找不到FLAC(缺少:FLAC“库FLAC”包含“目录”);构建手电筒时出错

Linux 获得;找不到FLAC(缺少:FLAC“库FLAC”包含“目录”);构建手电筒时出错,linux,cmake,speech-recognition,speech-to-text,Linux,Cmake,Speech Recognition,Speech To Text,我成功地安装了所有依赖项,并尝试构建用于构建和安装wav2letter(语音到文本)的手电筒。但发现以下问题。请帮我做同样的事情 -- Found Glog: /usr/local/include -- Found glog (include: /usr/local/include, library: /usr/local/lib/libglog.a) -- GLOG found -- Found GFlags: /usr/include -- Found gflags (include: /u

我成功地安装了所有依赖项,并尝试构建用于构建和安装wav2letter(语音到文本)的手电筒。但发现以下问题。请帮我做同样的事情

-- Found Glog: /usr/local/include
-- Found glog (include: /usr/local/include, library: /usr/local/lib/libglog.a)
-- GLOG found
-- Found GFlags: /usr/include
-- Found gflags (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
-- GFLAGS found
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- OpenMP found
-- Found Ogg: /usr/lib/x86_64-linux-gnu/libogg.so (found version "1.3.4")
-- Required SndFile dependency Ogg found.
-- Found Vorbis: /usr/lib/x86_64-linux-gnu/libvorbis.so (found version "1.3.6")
-- Required SndFile dependency Vorbis found.
-- Found VorbisEnc: /usr/lib/x86_64-linux-gnu/libvorbisenc.so (found version "1.3.6")
-- Required SndFile dependency VorbisEnc found.
CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find FLAC (missing: FLAC_LIBRARY FLAC_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/FindFLAC.cmake:45 (find_package_handle_standard_args)
app/asr/data/CMakeLists.txt:11 (find_package)
app/asr/data/CMakeLists.txt:23 (findAndCheckSndFileDependency)
app/asr/CMakeLists.txt:77 (include)
app/CMakeLists.txt:10 (include)
CMakeLists.txt:250 (include)

-- Configuring incomplete, errors occurred!
See also "/home/manoj/../flashlight/build/CMakeFiles/CMakeOutput.log".
See also "/home/manoj/../flashlight/build/CMakeFiles/CMakeError.log".
感谢和问候,
Manoj

这个问题似乎与编程代码或工具无关。这可能更合适,但请检查他们关于主题问题的帮助。这可能与操作系统版本有关。使用
uname-srv
的输出更新Q。祝你好运