ConnectCore 6+ Yocto Open bitbake dey-image-qt failed

Hi:
bitbake dey-image-qt for 6+ opencv compile failed.

| /home/simon/workspace/ccimx6qpsbc/tmp/work/cortexa9t2hf-neon-mx6qdl-dey-linux-gnueabi/opencv/4.4.0.imx-r0/git/modules/gapi/include/opencv2/gapi/garg.hpp: In function ‘cv::GRunArgs cv::gin(const Ts& …) [with Ts = {cv::Mat, cv::Mat, cv::Mat, cv::Mat}]’:
| /home/simon/workspace/ccimx6qpsbc/tmp/work/cortexa9t2hf-neon-mx6qdl-dey-linux-gnueabi/opencv/4.4.0.imx-r0/git/modules/gapi/include/opencv2/gapi/garg.hpp:177:78: note: parameter passing for argument of type ‘std::initializer_list, cv::Mat, cv::Scalar_, cv::detail::VectorRef, cv::detail::OpaqueRef> >’ changed in GCC 7.1
| 177 | return GRunArgs{ GRunArg(detail::wrap_host_helper::wrap_in(args))… };
| | ^
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/usr/local/dey-3.0/sources/meta-digi/meta-digi-dey/recipes-support/opencv/opencv_4.4.0.imx.bb:do_compile) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 6434 tasks of which 2 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:
/usr/local/dey-3.0/sources/meta-digi/meta-digi-dey/recipes-support/opencv/opencv_4.4.0.imx.bb:do_compile
Summary: There were 7 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

I tried numerous bake, the result always the same.

Simon

did the bitbake generate a log file? do you see where it failed in the log file? What machine are you using to bitbake? does it have enough resources?

1 Like

Sorry for late reply. managed to get it compiled. Learn something new every day.