簡體   English   中英

使用BlueZ將libbluetooth1-dev替換為C編程的是什么?

[英]What replaced libbluetooth1-dev for C programming using BlueZ?

我正在嘗試使用BlueZ在Linux上使用BlueZ進行藍牙項目,我正在學習指導教程,但它已經有幾年了,我認為它使用的庫現已棄用( libbluetooth1-dev )。

是教程,該部分的編譯行需要庫bluetooth ,我相信你可以從執行教程的這一頁獲得,但是在該頁面上運行apt-get命令會導致此錯誤:

Package bluez-utils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  bluez

E: Unable to locate package libbluetooth1-dev
E: Package 'bluez-utils' has no installation candidate

任何幫助將不勝感激。

在找到另一個stackoverflow問題之后管理我的情況 - 我需要運行apt-get install libbluetooth-dev (不是libbluetooth1-dev如教程所說),然后按照指示編譯。 apt-get安裝了libbluetooth-devlibbluetooth3 ,這是libbluetooth3的當前版本。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM