googletest shared library

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

googletest shared library

跳至解决方案
2,528 次查看
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 项奖励
回复
1 解答
2,524 次查看
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 项奖励
回复
1 回复
2,525 次查看
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 项奖励
回复