Skip to content
Advertisement

How to start using google tests on a Yocto(Open Embedded) System

I’m doing a project for ARM64 devices and am using Linux Embedded as the OS. I am trying to using Google Tests but when running bitbake, it is failing. Heres the error:

JavaScript

I’ve edited the cmake in my src folder and added these components wrt Gtests:

JavaScript

CMake for the file containing test case:

JavaScript

Advertisement

Answer

Already asked on https://unix.stackexchange.com/questions/656529/how-to-start-using-google-tests-on-a-yoctoopen-embedded-system

This was a cross compiler issue as stated in the comments

Advertisement