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
解決済! 解決策の投稿を見る。
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
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