Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ====================[ Build | DT | Debug ]======================================
- /home/denis/Programs/clion-2019.1.4/bin/cmake/linux/bin/cmake --build /home/denis/Cpp/DT/cmake-build-debug --target DT -- -j 4
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/denis/Cpp/DT/cmake-build-debug
- Scanning dependencies of target DT
- [ 33%] Building CXX object CMakeFiles/DT.dir/main.cpp.o
- [ 66%] Building CXX object CMakeFiles/DT.dir/openglwindow.cpp.o
- In file included from /home/denis/Cpp/DT/../Libs/qt-everywhere-src-5.13.0/COMPILED/include/QtGui/qtguiglobal.h:43,
- from /home/denis/Cpp/DT/../Libs/qt-everywhere-src-5.13.0/COMPILED/include/QtGui/qwindow.h:43,
- from /home/denis/Cpp/DT/../Libs/qt-everywhere-src-5.13.0/COMPILED/include/QtGui/QWindow:1,
- from /home/denis/Cpp/DT/openglwindow.h:1,
- from /home/denis/Cpp/DT/main.cpp:1:
- /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)."
- # error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
- ^~~~~
- In file included from /home/denis/Cpp/DT/../Libs/qt-everywhere-src-5.13.0/COMPILED/include/QtGui/qtguiglobal.h:43,
- from /home/denis/Cpp/DT/../Libs/qt-everywhere-src-5.13.0/COMPILED/include/QtGui/qwindow.h:43,
- from /home/denis/Cpp/DT/../Libs/qt-everywhere-src-5.13.0/COMPILED/include/QtGui/QWindow:1,
- from /home/denis/Cpp/DT/openglwindow.h:1,
- from /home/denis/Cpp/DT/openglwindow.cpp:51:
- /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)."
- # error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
- ^~~~~
- make[3]: *** [CMakeFiles/DT.dir/build.make:76: CMakeFiles/DT.dir/openglwindow.cpp.o] Error 1
- make[3]: *** Waiting for unfinished jobs....
- make[3]: *** [CMakeFiles/DT.dir/build.make:63: CMakeFiles/DT.dir/main.cpp.o] Error 1
- make[2]: *** [CMakeFiles/Makefile2:73: CMakeFiles/DT.dir/all] Error 2
- make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/DT.dir/rule] Error 2
- make: *** [Makefile:118: DT] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement