Question / Help Compilation error at 100%

nblaudez

New Member
Hello i have this error when i try to compile OBS-Studio :

[100%] Building CXX object UI/CMakeFiles/obs.dir/qt-wrappers.cpp.o
[100%] Building CXX object UI/CMakeFiles/obs.dir/qrc_obs.cpp.o
[100%] Building CXX object UI/CMakeFiles/obs.dir/obs_automoc.cpp.o
Linking CXX executable obs
/usr/bin/ld.bfd.real: CMakeFiles/obs.dir/obs-app.cpp.o: réadressage R_X86_64_PC32 vers symbole « _ZNK6OBSApp15TranslateStringEPKcPS1_ » ne peut pas être utilisé en créant un objet partagé ; recompilé avec -fPIC
/usr/bin/ld.bfd.real: édition de lien finale en échec: Mauvaise valeur
collect2: error: ld returned 1 exit status
UI/CMakeFiles/obs.dir/build.make:1254: recipe for target 'UI/obs' failed
make[2]: *** [UI/obs] Error 1
CMakeFiles/Makefile2:392: recipe for target 'UI/CMakeFiles/obs.dir/all' failed
make[1]: *** [UI/CMakeFiles/obs.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2

Someone can help me ? I don't know where Add the -fPIC, i tryed many solution but that don't works.
 
Top