This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-DRA7X: Error building meta-ros layer : meta-oe not configured

Part Number: PROCESSOR-SDK-DRA7X


I am trying to add meta-ros layer, to yocto project(yocto version rocko).

I downloaded meta-ros from git and added the path to bblayes.conf. 

Added the following line to yocto-layers/build/conf/local.conf:    += "packagegroup-ros-world"

I run the command './build-core-sdk.sh dra7xx-evm' from the folder "cd yocto-layers". But the build fails saying that Cannot include Eigen/core, which lies inside eigen3.

It seems meta-oe is not configured( as given below) and libeigen recipe is a part of meta-oe.

But meta-oe is added  in bblayers.conf

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "7"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

# Layers configured by oe-core-setup script
BBLAYERS += " \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-arago/meta-arago-distro \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-arago/meta-arago-extras \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-browser \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-qt5 \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-openembedded/meta-networking \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-openembedded/meta-gnome \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-ti \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-linaro/meta-linaro-toolchain \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-linaro/meta-optee \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/oe-core/meta \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-openembedded/meta-python \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-openembedded/meta-oe \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-openembedded/meta-multimedia \
        /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/sources/meta-ros \
"

----------------------------------------------------------------------------------------------------------------------------------------------------

[PSDKLA]> . conf/setenv
[PSDKLA]> cp conf/local.conf conf/local.conf.pristine
[PSDKLA]> MACHINE=dra7xx-evm bitbake tisdk-rootfs-image
NOTE: Started PRServer with DBfile: /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 32993, PID: 7659
Loading cache: 100% |#####################################################################################################| Time: 0:00:01
Loaded 4138 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime python-bson (python-bson, python-pymongo)
Consider defining a PREFERRED_RPROVIDER entry to match python-bson

Build Configuration:
BB_VERSION           = "1.36.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-14.04"
TARGET_SYS           = "arm-linux-gnueabi"
MACHINE              = "dra7xx-evm"
DISTRO               = "arago"
DISTRO_VERSION       = "2018.10"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta-arago-distro    
meta-arago-extras    = "HEAD:3ddc75f5cd3d432d84a9af9b583711bddc11fd4e"
meta-browser         = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
meta-qt5             = "HEAD:d8b531530fa42b59aa0a5b123d87a30d749cbcc4"
meta-networking      
meta-gnome           = "HEAD:eae996301d9c097bcbeb8046f08041dc82bb62f8"
meta-ti              = "HEAD:d693f95bcb4b00cff41d3a07c7495f5cc50aa818"
meta-linaro-toolchain
meta-optee           = "HEAD:75dfb67bbb14a70cd47afda9726e2e1c76731885"
meta                 = "HEAD:8a2c177c7dad5c838b3c6abd3088a2bc3896a6a3"
meta-python          
meta-oe              
meta-multimedia      = "HEAD:eae996301d9c097bcbeb8046f08041dc82bb62f8"
meta-ros             = "master:7d24d8c960a7ae9eb65789395965e8f1b83b366e"

Initialising tasks: 100% |################################################################################################| Time: 0:01:04
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: eigen-conversions-1.11.9-r0 do_compile: Function failed: do_compile (log file is located at /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/eigen-conversions/1.11.9-r0/temp/log.do_compile.7760)
ERROR: Logfile of failure stored in: /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/eigen-conversions/1.11.9-r0/temp/log.do_compile.7760

compilation terminated.
| make[2]: *** [CMakeFiles/eigen_conversions.dir/src/eigen_kdl.cpp.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| In file included from /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/eigen-conversions/1.11.9-r0/geometry-1.11.9/eigen_conversions/src/eigen_msg.cpp:31:0:
| /home/ubuntu/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/eigen-conversions/1.11.9-r0/geometry-1.11.9/eigen_conversions/include/eigen_conversions/eigen_msg.h:46:10: fatal error: Eigen/Core: No such file or directory


------------------------------------------------------------

 Processor SDK Linux Automotive release on a Ubuntu host machine following the instructions from, http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_Software_Developers_Guide

The Processor SDK Linux Automotive installer is ti-processor-sdk-linux-automotive-dra7xx-evm-5.00.00.01-installer.bin.

  • Hi Jithin,

    Would this have something to do with configuring the providers for this module?

    The Processor SDK 6.00 that is for DRA804M (not for DRA7xx) is included meta-ros by default, I would like to offer you that as a reference to understand who it is integrated. Would you be able to look further into that reference and proceed further?

    Here is the link to the installer: http://software-dl.ti.com/processor-sdk-linux/esd/AM65X/latest/index_FDS.html

    Regards

    Karthik

  • Hi Karthik,

    Thank you for the link. I will refer it for further build.

    But the error outputs:  'cannot include Eigen/core', which lies inside eigen3. And  eigen3 is a part of meta-oe.

    It seems meta-oe is not configured. May I know why this is so? Is there any configuration that I should change in any file?

    --------------------------------------------------------------

    Build Configuration:

    BB_VERSION                  = "1.36.0"
    BUILD_SYS                      = "x86_64-linux"
    NATIVELSBSTRING      = "ubuntu-14.04"
    TARGET_SYS                 = "arm-linux-gnueabi"
    MACHINE                         = "dra7xx-evm"
    DISTRO                            = "arago"
    DISTRO_VERSION        = "2018.10"
    TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
    TARGET_FPU                 = "hard"
    meta-arago-distro    
    meta-arago-extras            = "HEAD:3ddc75f5cd3d432d84a9af9b583711bddc11fd4e"
    meta-browser                   = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
    meta-qt5                            = "HEAD:d8b531530fa42b59aa0a5b123d87a30d749cbcc4"
    meta-networking      
    meta-gnome                     = "HEAD:eae996301d9c097bcbeb8046f08041dc82bb62f8"
    meta-ti                               = "HEAD:d693f95bcb4b00cff41d3a07c7495f5cc50aa818"
    meta-linaro-toolchain
    meta-optee                       = "HEAD:75dfb67bbb14a70cd47afda9726e2e1c76731885"
    meta                                  = "HEAD:8a2c177c7dad5c838b3c6abd3088a2bc3896a6a3"
    meta-python          
    meta-oe              
    meta-multimedia             = "HEAD:eae996301d9c097bcbeb8046f08041dc82bb62f8"
    meta-ros                           = "master:7d24d8c960a7ae9eb65789395965e8f1b83b366e"

     

     

  • Hi Jithin,

    I just checked for the details on the release link that I sent out.

    1. The recipe for eigen3 is locate at ./meta-openembedded/meta-oe/recipes-support/libeigen/libeigen_3.2.8.bb
    2. If your config file (that you run as an argument with oe-layersetup.sh), you need to make sure that the meta-openembedded is present in the config file: 

      meta-openembedded,git://git.openembedded.org/meta-openembedded,rocko,eae996301d9c097bcbeb8046f08041dc82bb62f8,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-multimedia:meta-filesystems

    I can see from this output that you shared that meta-oe is included as shown above with the exact same commit.

    You may want to check this further from this point.

    Regards

    Karthik