Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
I use the Ubuntu environment,Refer to the "ROS NDK How to cross-compile any other ROS package for Android" tutorial, compile sick_tim,./do_docker to sick_tim when I run the wrong as follows:
==> add_subdirectory(sick_tim)
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:106 (find_package_handle_standard_args)
sick_tim/CMakeLists.txt:11 (find_package)
Without more context (OS, how you installed things, what you are trying to do, which version of ROS, etc), the best I can do is that it would seem you don't have PkgConfig installed. Try installing it and see whether that helps.
Hello, I was in the Ubuntu environment, the use of ROS NDK compiler errors,
Please update your original question (use the edit button/link) and give us enough information to help you. What exactly are you trying to do, and what set of steps led to the error message that you copy/pasted.
I have no direct experience with the NDK integration, but from the error message I would say that the docker image that is being used does not have PkgConfig installed or CMake can't find it. I recommend you open an issue here.
Well, thank you very much.