Skip to content

Qt5 dependency issues with Kinetic #46

Description

@seanavery

The first issue I was running into was that kinetic comes with opencv3 while the sdk requires opencv 2.4.*

What is the recommended ros version to use with this sdk?

I installed opencv 2.4.11 from source and I am not receiving the following error log:

...

[ 37%] Linking CXX executable /opt/ros/kinetic/share/catkin/dji-guidance-ws/devel/lib/guidance/guidanceNode
/usr/bin/ld: cannot find -lQt5::Core
/usr/bin/ld: cannot find -lQt5::Gui
/usr/bin/ld: cannot find -lQt5::Widgets
/usr/bin/ld: cannot find -lQt5::Test
/usr/bin/ld: cannot find -lQt5::Concurrent
/usr/bin/ld: cannot find -lQt5::OpenGL
collect2: error: ld returned 1 exit status
CMakeFiles/guidanceNode.dir/build.make:160: recipe for target '/opt/ros/kinetic/share/catkin/dji-guidance-ws/devel/lib/guidance/guidanceNode' failed
make[2]: *** [/opt/ros/kinetic/share/catkin/dji-guidance-ws/devel/lib/guidance/guidanceNode] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/guidanceNode.dir/all' failed
make[1]: *** [CMakeFiles/guidanceNode.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: cannot find -lQt5::Core
/usr/bin/ld: cannot find -lQt5::Gui
/usr/bin/ld: cannot find -lQt5::Widgets
/usr/bin/ld: cannot find -lQt5::Test
/usr/bin/ld: cannot find -lQt5::Concurrent
/usr/bin/ld: cannot find -lQt5::OpenGL
collect2: error: ld returned 1 exit status
CMakeFiles/guidanceNodeCalibration.dir/build.make:160: recipe for target '/opt/ros/kinetic/share/catkin/dji-guidance-ws/devel/lib/guidance/guidanceNodeCalibration' failed
make[2]: *** [/opt/ros/kinetic/share/catkin/dji-guidance-ws/devel/lib/guidance/guidanceNodeCalibration] Error 1
/usr/bin/ld: cannot find -lQt5::Core
/usr/bin/ld: cannot find -lQt5::Gui
/usr/bin/ld: cannot find -lQt5::Widgets
/usr/bin/ld: cannot find -lQt5::Test
/usr/bin/ld: cannot find -lQt5::Concurrent
/usr/bin/ld: cannot find -lQt5::OpenGL
collect2: error: ld returned 1 exit status
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/guidanceNodeCalibration.dir/all' failed
make[1]: *** [CMakeFiles/guidanceNodeCalibration.dir/all] Error 2
CMakeFiles/guidanceNodeTest.dir/build.make:134: recipe for target '/opt/ros/kinetic/share/catkin/dji-guidance-ws/devel/lib/guidance/guidanceNodeTest' failed
make[2]: *** [/opt/ros/kinetic/share/catkin/dji-guidance-ws/devel/lib/guidance/guidanceNodeTest] Error 1
CMakeFiles/Makefile2:461: recipe for target 'CMakeFiles/guidanceNodeTest.dir/all' failed
make[1]: *** [CMakeFiles/guidanceNodeTest.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions