Opened 10 years ago

Closed 10 years ago

#6685 closed defect (fixed)

Compiling SVN head (20786) fails on GetNumberXineramaScreens

Reported by: mythdev@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: unknown
Severity: medium Keywords: xinerama, compile, fails
Cc: Ticket locked: no


Hello all,

When I try to compile SVN head, it fails, because it can not find the GetNumberXineramaScreen? in videooutbase.cpp.

When I add the "mythxdisplay.h" include in videooutbase.cpp, it compiles fine.

Index: libs/libmythtv/videooutbase.cpp
--- libs/libmythtv/videooutbase.cpp     (revision 20786)
+++ libs/libmythtv/videooutbase.cpp     (working copy)
@@ -12,6 +12,7 @@
 #include "mythverbose.h"
 #include "mythmainwindow.h"
 #include "mythuihelper.h"
+#include "mythxdisplay.h"

 #ifdef USING_XV
 #include "videoout_xv.h"

My config command:

./configure --disable-audio-oss --compile-type=release --enable-proc-opt --disable-joystick-menu --enable-ivtv --disable-lirc --disable-xvmc --enable-xv --disable-xrandr --disable-distcc --disable-dbox2 --disable-audio-jack --disable-xvmc-vld --disable-hdhomerun --disable-firewire --disable-iptv --disable-iwmmxt --disable-altivec --enable-dvb --disable-hdpvr --disable-mheg --disable-opengl-video --disable-opengl-vsync --disable-vdpau --disable-xv --disable-x11

Output from my configure:

# Basic Settings
Compile type              release
Compiler cache            no
DistCC                    no
qmake                     /usr/bin/qmake
install prefix            /usr/local
runtime prefix            /usr/local
CPU                       x86_64 (AMD Athlon(tm) 64 Processor 3000+)
big-endian                no
yasm                      yes
MMX enabled               yes
CMOV enabled              yes
CMOV is fast              yes

# Input Support
Joystick menu             no
lirc support              no
Video4Linux sup.          yes
ivtv support              yes
HR-PVR support            no
FireWire support          no
DVB support               yes [/usr/include]
HDHomeRun support         no
IPTV support              no

# Sound Output Support
PulseAudio support        no
OSS support               no
ALSA support              yes
aRts support              no
JACK support              no
libfftw3 support          no

# Video Output Support
x11 support               no
OpenGL video              no
OpenGL vsync              no
DirectFB                  no
Fribidi formatting        yes
MHEG support              no

# Misc Features
multi threaded libavcodec yes
Frontend                  yes
Backend                   yes

# Bindings
bindings_perl             yes
bindings_python           yes

Creating libs/libmythdb/mythconfig.h and libs/libmythdb/mythconfig.mak

Did I do something wrong?

Change History (2)

comment:1 Changed 10 years ago by anonymous

Ditto. I resolved it by enabling x11 output.

comment:2 Changed 10 years ago by markk

Resolution: fixed
Status: newclosed

(In [20787]) Fix compilation when X11 is disabled on Linux (and presumably on windows when OpenGL video output is disabled). Closes #6685.

Note: See TracTickets for help on using tickets.