Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 2.52 KB | None | 0 0
  1. ====================[ Build | DT | Debug ]======================================
  2. /home/denis/Programs/clion-2019.1.4/bin/cmake/linux/bin/cmake --build /home/denis/Cpp/DT/cmake-build-debug --target DT -- -j 4
  3. -- Configuring done
  4. -- Generating done
  5. -- Build files have been written to: /home/denis/Cpp/DT/cmake-build-debug
  6. Scanning dependencies of target DT
  7. [ 33%] Building CXX object CMakeFiles/DT.dir/main.cpp.o
  8. [ 66%] Building CXX object CMakeFiles/DT.dir/openglwindow.cpp.o
  9. In file included from /home/denis/Cpp/DT/../Libs/qt-everywhere-src-5.13.0/COMPILED/include/QtGui/qtguiglobal.h:43,
  10.                  from /home/denis/Cpp/DT/../Libs/qt-everywhere-src-5.13.0/COMPILED/include/QtGui/qwindow.h:43,
  11.                  from /home/denis/Cpp/DT/../Libs/qt-everywhere-src-5.13.0/COMPILED/include/QtGui/QWindow:1,
  12.                  from /home/denis/Cpp/DT/openglwindow.h:1,
  13.                  from /home/denis/Cpp/DT/main.cpp:1:
  14. /home/denis/Cpp/DT/../Libs/qt-everywhere-src-5.13.0/COMPILED/include/QtCore/qglobal.h:1204:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)."
  15.  #  error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
  16.     ^~~~~
  17. In file included from /home/denis/Cpp/DT/../Libs/qt-everywhere-src-5.13.0/COMPILED/include/QtGui/qtguiglobal.h:43,
  18.                  from /home/denis/Cpp/DT/../Libs/qt-everywhere-src-5.13.0/COMPILED/include/QtGui/qwindow.h:43,
  19.                  from /home/denis/Cpp/DT/../Libs/qt-everywhere-src-5.13.0/COMPILED/include/QtGui/QWindow:1,
  20.                  from /home/denis/Cpp/DT/openglwindow.h:1,
  21.                  from /home/denis/Cpp/DT/openglwindow.cpp:51:
  22. /home/denis/Cpp/DT/../Libs/qt-everywhere-src-5.13.0/COMPILED/include/QtCore/qglobal.h:1204:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)."
  23.  #  error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
  24.     ^~~~~
  25. make[3]: *** [CMakeFiles/DT.dir/build.make:76: CMakeFiles/DT.dir/openglwindow.cpp.o] Error 1
  26. make[3]: *** Waiting for unfinished jobs....
  27. make[3]: *** [CMakeFiles/DT.dir/build.make:63: CMakeFiles/DT.dir/main.cpp.o] Error 1
  28. make[2]: *** [CMakeFiles/Makefile2:73: CMakeFiles/DT.dir/all] Error 2
  29. make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/DT.dir/rule] Error 2
  30. make: *** [Makefile:118: DT] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement