Build AGL demo platform Failed for imx8

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Build AGL demo platform Failed for imx8

1,437 Views
nxf41732
NXP Employee
NXP Employee

Hi expert,

I am building AGL demo platform for imx8 following this guide: meta-nxp-agl - i.MX Yocto Project AGL Demo Layer , 

but I got some error while building. The log build as below:

ERROR: agl-service-data-persistence-1.0+gitAUTOINC+7147b65d07-r0 do_configure: Function failed: do_configure (log file is located at /data/workspace/linux-auto/imx8qxp-build/tmp/work/aarch64-poky-linux/agl-service-data-persistence/1.0+gitAUTOINC+7147b65d07-r0/temp/log.do_configure.15534)
ERROR: Logfile of failure stored in: /data/workspace/linux-auto/imx8qxp-build/tmp/work/aarch64-poky-linux/agl-service-data-persistence/1.0+gitAUTOINC+7147b65d07-r0/temp/log.do_configure.15534
Log data follows:
| DEBUG: Executing shell function do_configure
| -- The C compiler identification is GNU 7.3.0
| -- The CXX compiler identification is GNU 7.3.0
| -- Check for working C compiler: /data/workspace/linux-auto/imx8qxp-build/tmp/work/aarch64-poky-linux/agl-service-data-persistence/1.0+gitAUTOINC+7147b65d07-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc
| -- Check for working C compiler: /data/workspace/linux-auto/imx8qxp-build/tmp/work/aarch64-poky-linux/agl-service-data-persistence/1.0+gitAUTOINC+7147b65d07-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc -- works
| -- Detecting C compiler ABI info
| -- Detecting C compiler ABI info - done
| -- Detecting C compile features
| -- Detecting C compile features - done
| -- Check for working CXX compiler: /data/workspace/linux-auto/imx8qxp-build/tmp/work/aarch64-poky-linux/agl-service-data-persistence/1.0+gitAUTOINC+7147b65d07-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++
| -- Check for working CXX compiler: /data/workspace/linux-auto/imx8qxp-build/tmp/work/aarch64-poky-linux/agl-service-data-persistence/1.0+gitAUTOINC+7147b65d07-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -- works
| -- Detecting CXX compiler ABI info
| -- Detecting CXX compiler ABI info - done
| -- Detecting CXX compile features
| -- Detecting CXX compile features - done
| CMake Error at conf.d/cmake/config.cmake:204 (include):
| include could not find load file:
|
| CMakeAfbTemplates
| Call Stack (most recent call first):
| CMakeLists.txt:21 (include)

Even built for imx6qpsabreauto, I still got the same error.

Can anyone help me to fix it?

Many thanks!

Tung.

0 Kudos
4 Replies

847 Views
joanxie
NXP TechSupport
NXP TechSupport

when you build for imx6qp auto, did you clean after building for imx8? I suggest that you need to clean then build for imx6qp auto

0 Kudos

847 Views
nxf41732
NXP Employee
NXP Employee

Hi Joan Xie, I've already cleaned after building for imx8 and still got the same build error.

0 Kudos

847 Views
joanxie
NXP TechSupport
NXP TechSupport

I built this image for you, and I got error either, but my error isn't the same as yours, and my network has some issue, I'm not sure if my error is affected by network, I checked other customers built 4.1.15 succesfully, maybe you can try to built 4.1.15, this one is tested by development team

https://community.nxp.com/message/957677?commentID=957677#comment-957677 

0 Kudos

847 Views
manizillion
Contributor IV

The repo init fails saying CES demo apps not available, Please share the exact correct and proven steps exclusive for AGL.

Thanks and Regards

Mani

0 Kudos