Problems with installation of ARM Compute Library in Raspbian bookworm 32 bit

45 ビュー (過去 30 日間)
Esteban Andrés Rodríguez Meléndez
Esteban Andrés Rodríguez Meléndez 2024 年 9 月 16 日
回答済み: Prasanth Sunkara 2024 年 11 月 8 日 17:52
When i tried to install the library using the script installARMComputeLIB from the Harware Setup window, I receve the next error.
In file included from ./utils/Utils.h:36,
from ./utils/ImageLoader.h:32,
from utils/GraphUtils.cpp:34:
include/libnpy/npy.hpp: In function ‘std::string npy::pyparse::write_tuple(const std::vector<T>&)’:
include/libnpy/npy.hpp:298:42: error: ostream_iterator’ is not a member of ‘std
298 | std::copy(v.begin(), v.end()-1, std::ostream_iterator<T>(ss, delimiter.c_str()));
| ^~~~~~~~~~~~~~~~
include/libnpy/npy.hpp:33:1: note: std::ostream_iterator’ is defined in header ‘<iterator>’; did you forget to ‘#include <iterator>’?
32 | #include <cstring>
+++ |+#include <iterator>
33 | #include <vector>
include/libnpy/npy.hpp:298:60: error: expected primary-expression before ‘>’ token
298 | std::copy(v.begin(), v.end()-1, std::ostream_iterator<T>(ss, delimiter.c_str()));
| ^
scons: *** [build/utils/GraphUtils.o] Error 1
scons: building terminated because of errors.
This error is solver in the version 22.05 of the library, but MATLAB don´t have the option of change to a update version of this. What can or should I do?
  2 件のコメント
Prasanth Sunkara
Prasanth Sunkara 2024 年 9 月 25 日
Could you please share more info that will help us to reproduce this issue?
1) Which OS are you running on the Pi? Run "cat /etc/os-release" on pi's terminal
2) OS bitness. Run "getconf LONG_BIT"
3) Which version of MATLAB are you using?
Yusuke Konno
Yusuke Konno 2024 年 10 月 17 日
I also encounterd this problem. My environment is:
Raspberry pi 5,
raspberry os (bookworm),
latest hardware support package.

サインインしてコメントする。

回答 (1 件)

Prasanth Sunkara
Prasanth Sunkara 2024 年 11 月 8 日 17:52
ARM Compute Library is not necessary from R2024b onwards.
The Simulink/MATLAB generated C code for Deep learning models is already optimized to perform well on Raspberry Pi.
You do not have to select ARM Compute library in the Configuration parameters of Simulink model when working with DL models. Set the Deep learning Library parameter to "None" and proceed with deploying the model.

カテゴリ

Help Center および File ExchangeEmbedded Coder についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by