Problems with installation of ARM Compute Library in Raspbian bookworm 32 bit
45 views (last 30 days)
Show older comments
Esteban Andrés Rodríguez Meléndez
on 16 Sep 2024
Answered: Prasanth Sunkara
on 8 Nov 2024 at 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 Comments
Prasanth Sunkara
on 25 Sep 2024
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
on 17 Oct 2024
I also encounterd this problem. My environment is:
Raspberry pi 5,
raspberry os (bookworm),
latest hardware support package.
Answers (1)
Prasanth Sunkara
on 8 Nov 2024 at 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.
0 Comments
See Also
Categories
Find more on Embedded Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!