ROS Workspace build error related to QT version

asked 2019-12-25 14:02:24 -0500

AutoCar gravatar image

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?

edit retag flag offensive close merge delete

Comments

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.

Orhan gravatar image Orhan  ( 2019-12-26 03:42:56 -0500 )edit

This is on Jetson Tx2 with Jetpack 3.1

AutoCar gravatar image AutoCar  ( 2019-12-26 22:43:36 -0500 )edit

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 with catkin_make_isolated (if you are using catkin_make)?

Orhan gravatar image Orhan  ( 2019-12-26 22:50:57 -0500 )edit