Mac Kinetic Install: Qt5CoreConfig.cmake Error
I'm installing Kinetic on my Mac (Mojave 10.14). I'm following the tutorial at http://wiki.ros.org/kinetic/Installation/OSX/Homebrew/Source.
I ran the following command:
./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(brew --prefix qt5)
I got the following error:
-- Looking for ccache - not found
CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message):
The imported target "Qt5::Core" references the file
"/usr/local/.//mkspecs/macx-clang"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:50 (_qt5_Core_check_file_exists)
/usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:166 (include)
cmake/OpenCVFindLibsGUI.cmake:18 (find_package)
CMakeLists.txt:600 (include)
-- Configuring incomplete, errors occurred!
I did some investigating; it looks like Homebrew users have experienced the same issue when installing other software packages. I'm sure there is a solution, but I can't find it. Does anyone know how to solve this issue?
If there is additional info that I should report, I can do so.
Asked by FineHeron on 2018-10-04 13:54:08 UTC
Comments