Hi,
I've build imx8 SDK image for imx-image-full type and the gtest (googletest) header files are available in the SDK (usr/include/gtest/). However, when I try imx-image-core image type, the gtest header files are not present even I added googletest in IMAGE_INSTALL. There is libgtest library, but no header files.
Any idea how to include gtest header files in the SDK image?
Thanks,
Lijun
Solved! Go to Solution.
Probably I was not clear in the original question. The issue is if I change googletest cmake to support shared library by:
EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON"
The header file is not included in the SDK image.
Turns out we have to change RDEPENDS_${PN}-dev += "${PN}-staticdev" to
RDEPENDS_${PN}-dev += "${PN}-dev"
Thanks,
Lijun
I think the package you need to install is "imx-gpu-sdk"
Probably I was not clear in the original question. The issue is if I change googletest cmake to support shared library by:
EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON"
The header file is not included in the SDK image.
Turns out we have to change RDEPENDS_${PN}-dev += "${PN}-staticdev" to
RDEPENDS_${PN}-dev += "${PN}-dev"
Thanks,
Lijun