ROS Workspace build error related to QT version
Hi
I was building my work space but got the following error:
CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "MyROSPackage".
-- Generating done
-- Build files have been written to: /home/nvidia/racecar-ws/build
Makefile:3456: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
How can I fix this?
Which desktop it is? Maybe Kubuntu? KDE Neon? I faced with that kind of errors when I was trying other desktops which has newer Qt.
This is on Jetson Tx2 with Jetpack 3.1
Okay, I don't know well about your problem, but if it's simple, we might fix it. Here is a similar problem. For being sure, that it isn't your case, can you try building
MyROSPackage
withcatkin_make_isolated
(if you are usingcatkin_make
)?