<span class="gmail_quote"></span>Hi, I'm trying to make MythTv 0.18.1, and I get these error about dialogbox.cpp not compiling.<br>
I have installed Qt 4.0.1.<br>
I'm running Slackware 10.1<br>
Hauppage WinTV 350<br>
<br>
There is a very long make output with a lot of errors before it finally
quits with these errors.&nbsp; Please let me know if you want the
entire make output.<br>
<br>
mythcontext.h: At global scope:<br>
mythcontext.h:148: error: parse error before `private'<br>
mythcontext.h:150: error: conflicting types for `QStringList extradata'<br>
mythcontext.h:138: error: previous declaration as `int extradata'<br>
mythcontext.h:151: error: parse error before `}' token<br>
mythcontext.h:285: error: `e' was not declared in this scope<br>
mythcontext.h:285: error: invalid data member initialization<br>
mythcontext.h:285: error: variable or field `dispatch' declared void<br>
mythcontext.h:286: error: `e' was not declared in this scope<br>
mythcontext.h:286: error: invalid data member initialization<br>
mythcontext.h:286: error: variable or field `dispatchNow' declared void<br>
mythcontext.h:303: error: `QSocketDevice' was not declared in this scope<br>
mythcontext.h:303: error: `socket' was not declared in this scope<br>
mythcontext.h:303: error: invalid data member initialization<br>
mythcontext.h:304: error: declaration of `bool <br>
&nbsp;&nbsp; MythContext::CheckProtoVersion(QSocket*)'<br>
mythcontext.h:303: error: conflicts with previous declaration `bool <br>
&nbsp;&nbsp; MythContext::CheckProtoVersion'<br>
dialogbox.cpp: In constructor `DialogBox::DialogBox(MythMainWindow*, const <br>
&nbsp;&nbsp; QString&amp;, const char*, const char*)':<br>
dialogbox.cpp:21: error: `setBackgroundOrigin' undeclared (first use this <br>
&nbsp;&nbsp; function)<br>
dialogbox.cpp:22: error: `WordBreak' undeclared in namespace `Qt'<br>
dialogbox.cpp:24: error: no matching function for call to `QVBoxLayout::<br>
&nbsp;&nbsp; QVBoxLayout(DialogBox* const, int, int)'<br>
/usr/local/Trolltech/Qt-4.0.1/include/QtGui/qboxlayout.h:136: error: candidates <br>
&nbsp;&nbsp; are: QVBoxLayout::QVBoxLayout(const QVBoxLayout&amp;)<br>
/usr/local/Trolltech/Qt-4.0.1/include/QtGui/qboxlayout.h:124:
error:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QVBoxLayout::QVBoxLayout(QWidget*)<br>
/usr/local/Trolltech/Qt-4.0.1/include/QtGui/qboxlayout.h:123:
error:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QVBoxLayout::QVBoxLayout()<br>
dialogbox.cpp:40: error: `insert' undeclared (first use this function)<br>
dialogbox.cpp: In member function `void DialogBox::AddButton(const QString&amp;)':<br>
dialogbox.cpp:48: error: `count' undeclared (first use this function)<br>
dialogbox.cpp:54: error: `insert' undeclared (first use this function)<br>
dialogbox.cpp: In member function `void DialogBox::buttonPressed(int)':<br>
dialogbox.cpp:61: error: `find' undeclared (first use this function)<br>
mythwidgets.h: In function `void setCurrentItem(int)':<br>
mythwidgets.h:335: warning: unused parameter `int index'<br>
{standard input}: Assembler messages:<br>
{standard input}:242: Error: symbol `extradata' is already defined<br>
distcc[6745] ERROR: compile dialogbox.cpp on localhost failed<br>
make[2]: *** [dialogbox.o] Error 1<br>
make[2]: Leaving directory `/usr/local/src/MythTV/mythtv-0.18.1/libs/libmyth'<br>
make[1]: *** [sub-libmyth-make_default-ordered] Error 2<br>
make[1]: Leaving directory `/usr/local/src/MythTV/mythtv-0.18.1/libs'<br>
make: *** [sub-libs-make_default-ordered] Error 2<br>
<br>
Thanks for any help.<br>
<br>