반응형
Linux에서 블루투스/블루투스.h는 어디에 있습니까?
Bluetooth.h 파일을 Bluetooth로 작성하고 싶은데 시스템에 없는 것 같습니다.
fatal error: bluetooth/bluetooth.h: No such file or directory
Bluetooth 동글은 정상적으로 동작하고 있으며, Bluetooth는 정상적으로 구축되어 있습니다.
갱신하다
제 경우 /user/include/bluetooth 폴더에 bluetooth.h가 있습니다.
코드를 컴파일하려면 libbluetooth-dev 패키지를 설치해야 합니다.
sudo apt-get install libbluetooth-dev
그러면 Bluetooth 헤더 파일이 설치됩니다.
Fedora의 경우 다음을 사용할 수 있습니다.
sudo dnf install bluez-libs-devel
CentOS 7의 경우:
sudo yum install bluez-libs-devel
언급URL : https://stackoverflow.com/questions/23436909/where-is-the-bluetooth-bluetooth-h-located-in-linux
반응형
'programing' 카테고리의 다른 글
Vuex 상태 내에서 맵 사용 (0) | 2022.06.18 |
---|---|
디렉토리가 존재하는지 확인하려면 어떻게 해야 하나요? (0) | 2022.06.18 |
VueJ - 알 수 없는 로컬 작업 유형: addProductToCart, 글로벌 유형: cart/addProductToCart (0) | 2022.06.18 |
Linux에서 getch() & getche()에 해당하는 것은 무엇입니까? (0) | 2022.06.18 |
Linux에서 인터페이스의 IP 주소를 가져옵니다. (0) | 2022.06.18 |