我正試圖在運行Raspbian的RaspberryPi 2上構建開放路由路由機。但是,它需要線程構建模塊庫。我嘗試了幾個apt-get命令,但它一直告訴我它找不到存儲庫。具體來說,它說:開放街道路由機的安裝線程構建模塊
Package libtbb-dev is not available,but is refered to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libtbb-dev' has no installation candidate.
我終於打破並下載了TBB源並建立了它。從我所知道的,線程構建塊成功構建,但試圖構建OSRM我仍然得到TBB庫無法找到的錯誤。我嘗試將構建的TBB目錄複製到我認爲OSRM正在尋找它們的位置(「/ opt/intel/tbb」,「/ usr/include」),但沒有任何工作。
有沒有人知道我可能會做錯什麼?
編輯:這是試圖建立OSRM當我收到錯誤:
ERROR: Intel TBB NOT found!
-- Looked for Threading Building Blocks in /opt/intel/tbb;/usr/local/include;/usr/include
CMake Error at cmake/FindTBB.cmake:272 (message):
Could NOT find TBB library.
Call Stack (most recent call first):
CMakeLists.txt:191 (find_package)
你能至少提供相關的錯誤信息? – scai
錯誤:找不到Intel TBB! - 在/ opt/intel/tbb;/usr/local/include;/usr/include中查找線程構建塊找不到TBB庫。 調用堆棧(最近呼叫優先): CMakeLists.txt:191(find_package) – thedude
這可能不會真正幫助您解決當前問題,但可以幫助您獲得某些內容;)https://karussell.wordpress.com/2014/ 01/09/road-routing-on-raspberry-pi-with-graphhopper/ – Karussell