googletest shared library

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

googletest shared library

Jump to solution
2,534 Views
lchen
Contributor III

Hi,

I would like to include libgtest.so into the iMX8 image. I added googletest to IMAGE_INSTALL and added the following line to sources/meta-openembedded/meta-oe/recipes-test/googletest/googletest_git.bb:

EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON "

The shared libraries were built successfully. However, there are errors in do_package_qc as following:

ERROR: googletest-1.10.0-r0 do_package_qa: QA Issue: -dev package googletest-dev contains non-symlink .so '/usr/lib/libgmock.so'
-dev package googletest-dev contains non-symlink .so '/usr/lib/libgtest_main.so'
-dev package googletest-dev contains non-symlink .so '/usr/lib/libgmock_main.so'
-dev package googletest-dev contains non-symlink .so '/usr/lib/libgtest.so' [dev-elf]
ERROR: googletest-1.10.0-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.

Any idea to fix this?

Thanks,

Lijun

0 Kudos
Reply
1 Solution
2,530 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello lchen,

 

I think you might consult the community from yocto since you are using googletest and its not part of the BSP:

https://www.yoctoproject.org/community/mailing-lists/

Regards

View solution in original post

0 Kudos
Reply
1 Reply
2,531 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello lchen,

 

I think you might consult the community from yocto since you are using googletest and its not part of the BSP:

https://www.yoctoproject.org/community/mailing-lists/

Regards

0 Kudos
Reply