<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>RE: Error building gui/qt4, extended_panels.hpp </TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT COLOR="#0000FF" FACE="Times New Roman">Found it -- it was another bad tool build, equalizer.h was messed up (uic breaking). Compiled it again, finally got a valid output file.</FONT></P>
<P><FONT COLOR="#0000FF" FACE="Times New Roman">I've actually tried several versions of moc, rcc, uic -- they are really just not running deterministically. Getting "most" of the things to compile isn't a ringing endorsement.</FONT></P>
<P><FONT SIZE=1 FACE="Tahoma">_____________________________________________ </FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">From: </FONT></B> <FONT SIZE=1 FACE="Tahoma">Mark Moriarty [</FONT><A HREF="mailto:mfmbusiness@earthlink.net"><U><FONT COLOR="#0000FF" SIZE=1 FACE="Tahoma">mailto:mfmbusiness@earthlink.net</FONT></U></A><FONT SIZE=1 FACE="Tahoma">] </FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Sent: </FONT></B> <FONT SIZE=1 FACE="Tahoma">Sunday, March 04, 2007 8:53 PM</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">To: </FONT></B> <FONT SIZE=1 FACE="Tahoma">'vlc-devel@videolan.org'</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Subject: </FONT></B> <FONT SIZE=1 FACE="Tahoma">Error building gui/qt4, extended_panels.hpp </FONT>
</P>
<P><FONT FACE="Times New Roman">Using Cygwin environment, current trunk (R19197)</FONT>
</P>
<P><FONT FACE="Times New Roman">I've hit the same error multiple times during the build. At first I thought it was just something funky with how moc, rcc, and uic were working -- I've run into issues with these GUI tools before, bad output from the tools. Anyhow, I've done a kill-and-fill on this portion of the trunk, get the same error.</FONT></P>
<P><FONT FACE="Times New Roman">(People may knock wxwidgets, but frankly I've seen garbage come out of the QT4 tools multiple times, not ready for prime time, at least the Windows version. Deprecating wxwidgets really ought to be thought about long and hard.)</FONT></P>
<P><FONT FACE="Times New Roman">Anyhow, the build goes until it reaches dialogs/extended.cpp, then errors out with:</FONT>
</P>
<P><FONT FACE="Times New Roman">nk/./extras/contrib/include -mms-bitfields -MT dialogs/libqt4_plugin_a-extended</FONT>
<BR><FONT FACE="Times New Roman">.o -MD -MP -MF dialogs/.deps/libqt4_plugin_a-extended.Tpo -c -o dialogs/libqt4_p</FONT>
<BR><FONT FACE="Times New Roman">lugin_a-extended.o `test -f 'dialogs/extended.cpp' || echo './'`dialogs/extended</FONT>
<BR><FONT FACE="Times New Roman">.cpp</FONT>
<BR><FONT FACE="Times New Roman">In file included from dialogs/extended.cpp:29:</FONT>
<BR><FONT FACE="Times New Roman">./components/extended_panels.hpp:59: error: using-declaration for non-member at</FONT>
<BR><FONT FACE="Times New Roman">class scope</FONT>
<BR><FONT FACE="Times New Roman">./components/extended_panels.hpp:59: error: expected `;' before "ui"</FONT>
<BR><FONT FACE="Times New Roman">make[6]: *** [dialogs/libqt4_plugin_a-extended.o] Error 1</FONT>
</P>
<P><FONT FACE="Times New Roman">Looking at components/extended_panels.hpp, I see:</FONT>
<BR><FONT FACE="Times New Roman">private:</FONT>
<BR><FONT FACE="Times New Roman"> Ui::EqualizerWidget ui; //Line 59</FONT>
<BR><FONT FACE="Times New Roman"> QSlider *bands[BANDS];</FONT>
<BR><FONT FACE="Times New Roman"> QLabel *band_texts[BANDS];</FONT>
</P>
<P><FONT FACE="Times New Roman"> void delCallbacks( aout_instance_t * );</FONT>
<BR><FONT FACE="Times New Roman"> void addCallbacks( aout_instance_t * );</FONT>
<BR><FONT FACE="Times New Roman"> void setValues( char *, float );</FONT>
</P>
<BR>
<P><FONT FACE="Times New Roman">Any thoughts?</FONT>
</P>
<P><FONT FACE="Times New Roman">Thanks.</FONT>
</P>
</BODY>
</HTML>