Question / Help Can't compile obs-studio

evilarceus

New Member
I used the tutorial on the wiki to compile OBS, until it gets to make -j4. On make -j4, it spits out the error:

Code:
[ 80%] Linking CXX executable obs
../libobs/libobs.so.0: undefined reference to `XGetXCBConnection'
collect2: error: ld returned 1 exit status
UI/CMakeFiles/obs.dir/build.make:1271: recipe for target 'UI/obs' failed
make[2]: *** [UI/obs] Error 1
CMakeFiles/Makefile2:494: recipe for target 'UI/CMakeFiles/obs.dir/all' failed
make[1]: *** [UI/CMakeFiles/obs.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

I fairly new to compiling ffmpeg and OBS, so I don't exactly know what this error means or how to fix it in any way.
Of course, help would be appreciated on how to solve this issue!
 
Top