1. 程式人生 > >fatal error: alsa/asoundlib.h: No such file or directory 解決辦法

fatal error: alsa/asoundlib.h: No such file or directory 解決辦法

最近在ROS裡編譯呼叫了科大訊飛SDK的語音包,編譯時報了錯誤 fatal error: alsa/asoundlib.h: No such file or directory,

找不到asoundlib.h檔案,解決辦法如下,直接apt安裝那個庫就行了

sudo apt-get install libasound2-dev

編譯通過。

相關推薦

fatal error: alsa/asoundlib.h: No such file or directory 解決辦法

最近在ROS裡編譯呼叫了科大訊飛SDK的語音包,編譯時報了錯誤 fatal error: alsa/asoundlib.h: No such file or directory, 找不到asoundlib.h檔案,解決辦法如下,直接apt安裝那個庫就行了 sudo a

配置caffe的python環境時make pycaffe提示fatal error: numpy/arrayobject.h No such file or directory解決方法

重灌numpy: sudo pip uninstall numpy sudo pip install numpy 是沒有用的。。。 解決的辦法就是: sudo apt-get install python-numpy (adsbygoogle = window.adsbygoogl

cocos2d-x 移植到android中編譯的一些問題:fatal error: Box2D/Box2D.h: No such file or directory"

cocos2 app nal get dsc err 2dx ros blue 1、fatal error: Box2D/Box2D.h: No such file or directory" 須要加入box2d庫的支持,改動android.mk

解決Ubuntu16.04 fatal error: json/json.h: No such file or directory

參考部落格 錯誤產生 安裝json-c庫之後,根據GitHub上面的readme檔案連結到json-c庫時出現以下錯誤: SDMBNJson.h:9:23: fatal error: json/json.h: No such file or directory #include <js

msgsrvmgr.cpp:5:37: fatal error: kdl_conversions/kdl_msg.h: No such file or directory #include <kdl_conversions/kdl_msg.h>

  /home/xxx/ros_workspace/src/bp_protocol_bridge/protospot/src/msgsrvmgr.cpp:5:37: fatal error: kdl_conversions/kdl_msg.h: No such file or directo

fatal error: iiwa_msgs/ConfigureSmartServo.h: No such file or directory

ROS中使用iiwa時遇到的問題: 我的使用環境: Ubuntu的版本:16.04; ROS的版本:kinetic /home/yzx/ws/src/iiwa_force_control/src/…/…/iiwa_force_control/include/iiwa_force_cont

src/primemodule.c:2:10: fatal error: openssl/conf.h: No such file or directory

今天在寫密碼學實驗的時候,有用到python中gensafeprime這個庫,需要安裝,然後由於需要編譯C語言程式?沒有深究,出現瞭如題的報錯,具體報錯如下: Collecting gensafeprime Using cached https://files.pythonhoste

Linux裝置驅動程式安裝fatal error: linux/module.h: No such file or directory

在做Linux裝置驅動程式安裝實驗時,執行gcc -c mydev.c產生fatal error: linux/module.h: No such file or directory錯誤資訊 mydev.c程式碼如下: #ifndef __KERNEL__ #define

解決Ubuntu編譯errorfatal error: sys/cdefs.h: No such file or directory

64位的Ubuntu如果執行X86平臺32位編譯,gcc -m32 -o x  x.c會報錯:fatal error: sys/cdefs.h: No such file or directory 解

解決fatal error: sys/system_properties.h: No such file or directory compilation terminated.

編譯的異常log: system/core/include/cutils/properties.h:22:35: fatal error: sys/system_properties.h: No such file or directory compilation term

Redis安裝報錯error:jemalloc/jemalloc.h:No such file or directory解決方法

安裝Redis 在安裝Redis之前,需要安裝Redis的依賴程式tcl,如果不安裝tcl在Redis執行make test的時候就會報錯的哦。 $ yum install -y tcl $ tar xvf 3.2.0.tar.gz -C /usr/loc

ltdl.h: No such file or directory解決辦法

簡介 系統沒有安裝libltdl開發庫 解決方法 如果在ubunt作業系統中,只需安裝: apt install libltdl3-dev 如果在centos作業系統中,只需安裝: yum

fatal error: Python.h: No such file or directory 解決

parrot python error pycrypto python.h [常見錯誤] fatal error: Python.h: No such file or directory環境場景系統: Parrot Linux軟件: 系統python默認版本2.7 PyCharm默認版本P

Ubuntu下 fatal error: Python.h: No such file or directory 解決方法

error ID apt overflow AC python3 TE cto fat 參考: fatal error: Python.h: No such file or directory Ubuntu下 fatal error: Python.h: No such f

fatal error:xxx.h no such file or directory 解決方案

編譯程式的時候遇到了找不到依賴包的問題,找了很多解決方案都沒有解決,最後摸索了很久才解決,把過程記錄下來方便以後用。 碰到這種問題,首先是要找有沒有可安裝的依賴包,命令為: apt-cache search xxx | grep dev 用dev過濾是因為有時候相關的安裝包

Redis 安裝報錯 error: jemalloc/jemalloc.h: No such file or directory

錯誤描述: 安裝redis 5.0.0 時出現如下錯誤: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory zmalloc.h:55:2: error: #error "Newer versi

qrc_image.cpp:9: error: QtCore/qglobal.h: No such file or directory

 #include <QtCore/qglobal.h>                   &

redis linux安裝 [adlist.o] Error jemalloc/jemalloc.h: No such file or directory

安裝: 執行: 通過執行src資料夾下的redis-server,可以啟動redis服務: $ src/redis-server 通過執行src資料夾下的redis-cli, 可以訪問redis服務。 $ src/redis-cli redis> set

解決安裝caravel中遇到的sasl/saslwrapper.h:22:23: error: sasl/sasl.h: No such file or directory

Installing collected packages: sasl, thrift-sasl, caravel Running setup.py install for sasl ... error Complete output from command

redis 編譯報錯 CC:not find 和 error: jemalloc/jemalloc.h: No such file or directory

解壓完redis後執行make命令 cc:not find 原因是沒有安裝gcc編譯器,安裝後解決 Ubuntu 可用 apt-get install gcc 來下載安裝  error: jemalloc/jemalloc.h: No such file or direc