Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Linking CXX executables returns an error mentioning cannot find..

> [ 50%] Linking CXX executable

milestone2 /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/milestone2.dir/build.make:125: recipe for target 'milestone2' failed make[2]: * [milestone2] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/milestone2.dir/all' failed make[1]: [CMakeFiles/milestone2.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: ** [all] Error 2

click to hide/show revision 2
No.2 Revision

updated 2017-03-23 13:05:05 -0600

berak gravatar image

Linking CXX executables returns an error mentioning cannot find..

>
  [ 50%] Linking CXX executable

executable ----------

milestone2 /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/milestone2.dir/build.make:125: recipe for target 'milestone2' failed make[2]: * *** [milestone2] Error 1 CMakeFiles/Makefile2:67: recipe for for target 'CMakeFiles/milestone2.dir/all' 'CMakeFiles/milestone2.dir/all' failed make[1]: *** [CMakeFiles/milestone2.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: ** *** [all] Error 2

2
click to hide/show revision 3
No.3 Revision

updated 2017-03-23 13:05:25 -0600

berak gravatar image

Linking CXX executables returns an error mentioning cannot find..

  [ 50%] Linking CXX executable
----------
 milestone2 /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/milestone2.dir/build.make:125:
 recipe for target 'milestone2' failed
 make[2]: *** [milestone2] Error 1
 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/milestone2.dir/all' failed make[1]: ***
 [CMakeFiles/milestone2.dir/all] Error
 2 Makefile:83: recipe for target 'all'
 failed make: *** [all] Error 2