Hello, On Tue, 2020-06-02 at 18:45 +0800, LiweiSong wrote: > fix compile error: > > inference-engine/src/mkldnn_plugin/mkldnn_memory_solver.hpp:60:9: > error: 'int64_t' does not name a type > > 60 | int64_t size; > > | ^~~~~~~ > > include stdint.h to fix it.
For some reason, I don't see this error. Are you just building the default configuration? In any case, could you please also submit this upstream since this doesn't look OE specific? Thanks, Anuj > > Signed-off-by: Liwei Song <[email protected]> > --- > .../opencv/dldt-inference-engine_2020r1.bb | 1 + > ...lver.hpp-include-stdint.h-to-avoid-b.patch | 37 > +++++++++++++++++++ > 2 files changed, 38 insertions(+) > create mode 100644 dynamic-layers/openembedded-layer/recipes- > support/opencv/files/0001-mkldnn_memory_solver.hpp-include-stdint.h- > to-avoid-b.patch > > diff --git a/dynamic-layers/openembedded-layer/recipes- > support/opencv/dldt-inference-engine_2020r1.bb b/dynamic- > layers/openembedded-layer/recipes-support/opencv/dldt-inference- > engine_2020r1.bb > index 42d223c9838d..ea13f392128f 100644 > --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt- > inference-engine_2020r1.bb > +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt- > inference-engine_2020r1.bb > @@ -9,6 +9,7 @@ SRC_URI = > "git://github.com/opencv/dldt.git;protocol=git;branch=2020 \ > > https://download.01.org/opencv/2020/openvinotoolkit/2020.1/inference_engine/firmware_pcie-ma248x_942_R10.15.zip;name=ma248x > \ > > https://download.01.org/opencv/2020/openvinotoolkit/2020.1/inference_engine/firmware_usb-ma2x8x_942_R10.15.zip;name=ma2x8x > \ > file://0001-Installation-and-build-fixes.patch \ > + file://0001-mkldnn_memory_solver.hpp-include-stdint.h-to- > avoid-b.patch \ > file://run-ptest \ > " > > diff --git a/dynamic-layers/openembedded-layer/recipes- > support/opencv/files/0001-mkldnn_memory_solver.hpp-include-stdint.h- > to-avoid-b.patch b/dynamic-layers/openembedded-layer/recipes- > support/opencv/files/0001-mkldnn_memory_solver.hpp-include-stdint.h- > to-avoid-b.patch > new file mode 100644 > index 000000000000..aa37f4aca65a > --- /dev/null > +++ b/dynamic-layers/openembedded-layer/recipes- > support/opencv/files/0001-mkldnn_memory_solver.hpp-include-stdint.h- > to-avoid-b.patch > @@ -0,0 +1,37 @@ > +From 91d72cc97138e5349e36bba9329ae29dee814388 Mon Sep 17 00:00:00 > 2001 > +From: Liwei Song <[email protected]> > +Date: Tue, 2 Jun 2020 09:55:49 +0000 > +Subject: [PATCH] mkldnn_memory_solver.hpp: include stdint.h to avoid > build > + error > + > +fix the following compile error: > + > +inference-engine/src/mkldnn_plugin/mkldnn_memory_solver.hpp:60:9: > error: 'int64_t' does not name a type > +| 60 | int64_t size; > +| | ^~~~~~~ > + > +include stdint.h to fix this. > + > +Upstream-Status: Inappropriate [yocto specific] > + > +Signed-off-by: Liwei Song <[email protected]> > +--- > + inference-engine/src/mkldnn_plugin/mkldnn_memory_solver.hpp | 2 ++ > + 1 file changed, 2 insertions(+) > + > +diff --git a/inference- > engine/src/mkldnn_plugin/mkldnn_memory_solver.hpp b/inference- > engine/src/mkldnn_plugin/mkldnn_memory_solver.hpp > +index 2c236a307276..aa52d29b310d 100644 > +--- a/inference-engine/src/mkldnn_plugin/mkldnn_memory_solver.hpp > ++++ b/inference-engine/src/mkldnn_plugin/mkldnn_memory_solver.hpp > +@@ -10,6 +10,8 @@ > + > + #include "ie_api.h" > + > ++#include <stdint.h> > ++ > + #include <vector> > + #include <map> > + > +-- > +2.24.1 > + >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#6583): https://lists.yoctoproject.org/g/meta-intel/message/6583 Mute This Topic: https://lists.yoctoproject.org/mt/74624733/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
