Page 1 of 4

VLC 0.9.2 compiling problem: problem with qt4

Posted: 20 Sep 2008 02:34
by concheng
Hi, I am new on vlc development, I recently downloaded vlc 0.9.2 source code from videolan.org, and I tried to compile it by following the instruction from http://wiki.videolan.org/Win32CompileCygwinNew with cygwin on window xp home. Everything is fine until I stuck on error during building. the error look like following:
In file included from /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32
api/windows.h:50,
from ../../../include/vlc_common.h:484,
from qt4.hpp:32,
from qt4.cpp:37:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1663: er
ror: declaration of C function `LONG InterlockedCompareExchange(volatile LONG*,
LONG, LONG)' conflicts with
/usr/win32/include/qt4/QtCore/qatomic_windows.h:393: error: previous declaration
`long int InterlockedCompareExchange(long int*, long int, long int)' here
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1667: er
ror: declaration of C function `LONG InterlockedDecrement(volatile LONG*)' confl
icts with
/usr/win32/include/qt4/QtCore/qatomic_windows.h:395: error: previous declaration
`long int InterlockedDecrement(long int*)' here
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1668: er
ror: declaration of C function `LONG InterlockedExchange(volatile LONG*, LONG)'
conflicts with
/usr/win32/include/qt4/QtCore/qatomic_windows.h:396: error: previous declaration
`long int InterlockedExchange(long int*, long int)' here
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1672: er
ror: declaration of C function `LONG InterlockedExchangeAdd(volatile LONG*, LONG
)' conflicts with
/usr/win32/include/qt4/QtCore/qatomic_windows.h:397: error: previous declaration
`long int InterlockedExchangeAdd(long int*, long int)' here
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1676: er
ror: declaration of C function `LONG InterlockedIncrement(volatile LONG*)' confl
icts with
/usr/win32/include/qt4/QtCore/qatomic_windows.h:394: error: previous declaration
`long int InterlockedIncrement(long int*)' here
make[6]: *** [libqt4_plugin_la-qt4.lo] Error 1
make[6]: Leaving directory `/cygdrive/c/vlc/modules/gui/qt4'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/cygdrive/c/vlc/modules/gui/qt4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/c/vlc/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/cygdrive/c/vlc/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/vlc'
make: *** [all] Error 2

I try everything I could but nothing work. I used lastest contrib package contrib-20080811-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2 and cygwin but nothing work
the following is my configure-vlc.sh

PATH=/usr/win32/bin:$PATH \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--host=i686-pc-mingw32 \
--disable-gtk \
--enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-live555 --with-live555-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--enable-debug --enable-dca \
--disable-mkv --disable-taglib \
--enable-qt4

please!!! anyone!!! help me on this problem, I stuck on this one for a week....thank you very much

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 20 Sep 2008 17:28
by VLC_help
Try to comment out InterlockedExchangeAdd from either winbase.h or from qatomic_windows.h

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 21 Sep 2008 10:45
by concheng
I comment out InterlockedExchangeAdd from winbase.h....but the same error still there...any other way?......O.O''

api/windows.h:50,
from ../../../include/vlc_common.h:484,
from qt4.hpp:32,
from qt4.cpp:37:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1663: er
ror: declaration of C function `LONG InterlockedCompareExchange(volatile LONG*,
LONG, LONG)' conflicts with
/usr/win32/include/qt4/QtCore/qatomic_windows.h:393: error: previous declaration
`long int InterlockedCompareExchange(long int*, long int, long int)' here
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1667: er
ror: declaration of C function `LONG InterlockedDecrement(volatile LONG*)' confl
icts with
/usr/win32/include/qt4/QtCore/qatomic_windows.h:395: error: previous declaration
`long int InterlockedDecrement(long int*)' here
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1668: er
ror: declaration of C function `LONG InterlockedExchange(volatile LONG*, LONG)'
conflicts with
/usr/win32/include/qt4/QtCore/qatomic_windows.h:396: error: previous declaration
`long int InterlockedExchange(long int*, long int)' here
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1676: er
ror: declaration of C function `LONG InterlockedIncrement(volatile LONG*)' confl
icts with
/usr/win32/include/qt4/QtCore/qatomic_windows.h:394: error: previous declaration
`long int InterlockedIncrement(long int*)' here
$
make[6]: Leaving directory `/cygdrive/c/vlc/modules/gui/qt4'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/cygdrive/c/vlc/modules/gui/qt4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/c/vlc/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/cygdrive/c/vlc/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/vlc'
make: *** [all] Error 2

Superman@Titan /cygdrive/c/vlc
$

I try looking for the answer on internet but with no luck........

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 21 Sep 2008 13:24
by VLC_help
winbase.h line 1663 still has the function as does qatomic_windows.h in line 393

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 22 Sep 2008 07:41
by concheng
I removed every duplicate functions in winbase.h, and then it come out with undeclared error....sorry to reply message that late....I got to work on weekend....O.O

filter.cpp: In member function `virtual ULONG CapturePin::Release()':
filter.cpp:427: error: `InterlockedDecrement' undeclared (first use this functio
n)
filter.cpp:427: error: (Each undeclared identifier is reported only once for eac
h function it appears in.)
filter.cpp: In member function `virtual ULONG CaptureFilter::Release()':
filter.cpp:871: error: `InterlockedDecrement' undeclared (first use this functio
n)
filter.cpp: In member function `virtual ULONG CaptureEnumPins::Release()':
filter.cpp:1064: error: `InterlockedDecrement' undeclared (first use this functi
on)
filter.cpp: In member function `virtual ULONG CaptureEnumMediaTypes::Release()':

filter.cpp:1194: error: `InterlockedDecrement' undeclared (first use this functi
on)
make[6]: *** [libdshow_plugin_la-filter.lo] Error 1
make[6]: Leaving directory `/cygdrive/c/vlc/modules/access/dshow'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/cygdrive/c/vlc/modules/access/dshow'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/c/vlc/modules/access'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/cygdrive/c/vlc/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/vlc'
make: *** [all] Error 2

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 22 Sep 2008 16:17
by VLC_help
Would it work other way around? (keep in winbase, remove from qt4)

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 23 Sep 2008 04:31
by concheng
I removed InterlockedDecrement from qatomic_windows.h and removed rest of duplicated functions from winbase, and then it came out with "error cannot find -lqjpeg", I check previous post and found a solution for this problem: use libqjpeg.a with new qt4(qt4-4.4.1-win32-bin.tar.bz2) contribution and merged with the existing bundle contribution. and then after a hour of running, I stuck into another error like following.......

bqt4_plugin.dll.a
.libs/libqt4_plugin_la-qt4.o: In function `_Z4InitP12vlc_object_t':
/usr/win32/include/qt4/QtCore/qstring.h:831: undefined reference to `QBasicAtomi
cInt::deref()'
/usr/win32/include/qt4/QtCore/qstring.h:831: undefined reference to `QBasicAtomi
cInt::deref()'
/usr/win32/include/qt4/QtCore/qstring.h:831: undefined reference to `QBasicAtomi
cInt::deref()'
/usr/win32/include/qt4/QtCore/qstring.h:831: undefined reference to `QBasicAtomi
cInt::deref()'
/usr/win32/include/qt4/QtCore/qstring.h:831: undefined reference to `QBasicAtomi
cInt::deref()'
.libs/libqt4_plugin_la-qt4.o:/usr/win32/include/qt4/QtCore/qstring.h:831: more u
ndefined references to `QBasicAtomicInt::deref()' follow
Creating library file: .libs/libqt4_plugin.dll.a
collect2: ld returned 1 exit status
make[6]: *** [libqt4_plugin.la] Error 1
make[6]: Leaving directory `/cygdrive/c/vlc/modules/gui/qt4'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/cygdrive/c/vlc/modules/gui/qt4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/c/vlc/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/cygdrive/c/vlc/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/vlc'
make: *** [all] Error 2

Superman@Titan /cygdrive/c/vlc
$

what wrong with this source code?! I used official release from videolan

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 23 Sep 2008 05:59
by Jean-Baptiste Kempf
I don't know, but your install of cygwin seems not good.

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 23 Sep 2008 06:55
by concheng
I reinstalled cygwin three time last week....following the instruction from http://wiki.videolan.org/Win32CompileCygwinNew step by step......I don't think I have installation problem on cygwin....O.O by the way, thank you for your help anyway.....

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 23 Sep 2008 07:00
by Jean-Baptiste Kempf
I am clueless then...

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 23 Sep 2008 13:07
by VLC_help
/usr/win32/include/qt4/QtCore/qstring.h:831: undefined reference to `QBasicAtomi
cInt::deref()'
IMO that means your QT4 is effed up because both qstring and QBasicAtomicInt are QT stuff (so working QT headers shouldn't create errors like that).

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 24 Sep 2008 16:58
by Boo025
I also have exact same problem as the OP. Is there a way around this issue?
I've tried using --disable-qt4 --disable-skins2 and it compiles fine. However, when I run the executable it runs under the command prompt (rc interface).

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 24 Sep 2008 21:34
by concheng
I did this before disable qt4 and skin2...it will compile and build but won't work because version 0.9.0 VLC include the Qt interface......

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 25 Sep 2008 11:26
by concheng
I found a solution for this problem...I added #ifndef __INTERLOCKED_DECLARED ... #endif around the block declarations Interlocked* functions at line 393 in qatomic_windows.h....the error is gone...and then I run into another error like following:

gin_la-dialogs_provider.Tpo -c dialogs_provider.cpp -DDLL_EXPORT -DPIC -o .libs
/libqt4_plugin_la-dialogs_provider.o
In file included from dialogs_provider.cpp:44:
dialogs/preferences.hpp:82: error: expected unqualified-id before "char"
dialogs/preferences.hpp:82: error: abstract declarator `QRadioButton*' used as d
eclaration
dialogs/preferences.hpp:82: error: expected `;' before "char"
make[6]: *** [libqt4_plugin_la-dialogs_provider.lo] Error 1
make[6]: Leaving directory `/cygdrive/c/vlc/modules/gui/qt4'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/cygdrive/c/vlc/modules/gui/qt4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/c/vlc/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/cygdrive/c/vlc/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/vlc'
make: *** [all] Error 2
I thought this source code is mature...why I have to spend so much time to debug it....O.O???

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 25 Sep 2008 15:14
by VLC_help
I thought this source code is mature...why I have to spend so much time to debug it....O.O???
VLC isn't stable nor mature if you do git builds. Specially Win32 builds are problematic because most Win32 devs are used to live with Microsoft compilers and IDEs.

It is easier for us to help you, if you could always paste the line that makes compiler die.
so line 82 from dialogs/preferences.hpp

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 26 Sep 2008 00:04
by concheng
Hi....the following is the preferences.hpp

/*****************************************************************************
* preferences.hpp : Preferences
*****************************************************************************
* Copyright (C) 2006-2007 the VideoLAN team
* $Id: 44260ff7f789fb86c1fbedf8c0326a9d0d721051 $
*
* Authors: Clément Stenac <zorglub@videolan.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/

#ifndef _PREFS_DIALOG_H_
#define _PREFS_DIALOG_H_

#include "util/qvlcframe.hpp"
#include "components/simple_preferences.hpp"

class PrefsTree;
class SPrefsCatList;
class AdvPrefsPanel;
class SPrefsPanel;
class QTreeWidgetItem;
class QTreeWidget;
class QHBoxLayout;
class QVBoxLayout;
class QGroupBox;
class QRadioButton;
class QWidget;
class QCheckBox;
class QLabel;

class PrefsDialog : public QVLCDialog
{
Q_OBJECT;
public:
static PrefsDialog * getInstance( intf_thread_t *p_intf )
{
if( !instance )
instance = new PrefsDialog( (QWidget *)p_intf->p_sys->p_mi, p_intf );
return instance;
}
virtual ~PrefsDialog() {};
#if 0
/*Called from extended settings, is not used anymore, but could be useful one day*/
void showModulePrefs( char* );
#endif

protected:
virtual void closeEvent( QCloseEvent *e ){ instance = NULL; close(); }
private:
PrefsDialog( QWidget *, intf_thread_t * );
QGridLayout *main_layout;

void destroyPanels();

QWidget *main_panel;
QHBoxLayout *main_panel_l;

AdvPrefsPanel *advanced_panel;
SPrefsPanel *current_simple_panel;
SPrefsPanel *simple_panels[SPrefsMax];

QWidget *tree_panel;
QHBoxLayout *tree_panel_l;

SPrefsCatList *simple_tree;
PrefsTree *advanced_tree;

QGroupBox *types;
QRadioButton *small,*all; <---- THIS IS THE LINE 82

static PrefsDialog *instance;

private slots:
void setAdvanced();
void setSmall();

void changeAdvPanel( QTreeWidgetItem * );
void changeSimplePanel( int );

void save();
void cancel();
void reset();
};

#endif




when I comment out QRadioButton from file, and then another error came out...as following, I don't know what to do....I am new on this....




m2 -DQT_NODLL -I/usr/win32/include/qt4 -I/usr/win32/include/qt4/QtCore -I/usr/wi
n32/include/qt4/QtGui -DQT4LOCALEDIR=\"/usr/win32/share/qt4/translations/\" -mms
-bitfields -MT dialogs/libqt4_plugin_la-preferences.lo -MD -MP -MF dialogs/.deps
/libqt4_plugin_la-preferences.Tpo -c dialogs/preferences.cpp -DDLL_EXPORT -DPIC
-o dialogs/.libs/libqt4_plugin_la-preferences.o
dialogs/preferences.cpp: In constructor `PrefsDialog::PrefsDialog(QWidget*, intf
_thread_t*)':
dialogs/preferences.cpp:70: error: expected primary-expression before "char"
dialogs/preferences.cpp:70: error: expected `;' before "char"
dialogs/preferences.cpp:71: error: expected primary-expression before "char"
dialogs/preferences.cpp:71: error: expected `;' before "char"
dialogs/preferences.cpp:72: error: expected primary-expression before "char"
dialogs/preferences.cpp:73: error: `all' undeclared (first use this function)
dialogs/preferences.cpp:73: error: (Each undeclared identifier is reported only
once for each function it appears in.)
dialogs/preferences.cpp:76: error: expected primary-expression before "char"
dialogs/preferences.cpp:76: error: expected `;' before "char"
dialogs/preferences.cpp:126: error: expected primary-expression before "char"
dialogs/preferences.cpp: In member function `void PrefsDialog::setAdvanced()':
dialogs/preferences.cpp:170: error: `all' undeclared (first use this function)
dialogs/preferences.cpp: In member function `void PrefsDialog::setSmall()':
dialogs/preferences.cpp:205: error: expected primary-expression before "char"
dialogs/preferences.cpp:205: error: expected `;' before "char"
dialogs/preferences.cpp: In member function `void PrefsDialog::save()':
dialogs/preferences.cpp:281: error: expected primary-expression before "char"
dialogs/preferences.cpp:281: error: expected `)' before "char"
dialogs/preferences.cpp:288: error: `all' undeclared (first use this function)
dialogs/preferences.cpp: In member function `void PrefsDialog::destroyPanels()':

dialogs/preferences.cpp:309: error: expected primary-expression before "char"
dialogs/preferences.cpp:309: error: expected `)' before "char"
dialogs/preferences.cpp:317: error: `all' undeclared (first use this function)
dialogs/preferences.cpp: In member function `virtual void PrefsDialog::cancel()'
:
dialogs/preferences.cpp:335: error: expected primary-expression before "char"
dialogs/preferences.cpp:335: error: expected `)' before "char"
dialogs/preferences.cpp:340: error: `all' undeclared (first use this function)
make[6]: *** [dialogs/libqt4_plugin_la-preferences.lo] Error 1
make[6]: Leaving directory `/cygdrive/c/vlc/modules/gui/qt4'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/cygdrive/c/vlc/modules/gui/qt4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/c/vlc/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/cygdrive/c/vlc/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/vlc'
make: *** [all] Error 2

Superman@Titan /cygdrive/c/vlc
$

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 26 Sep 2008 20:51
by Boo025
Tried with 0.9.3 and still having same problem.

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 26 Sep 2008 21:53
by Boo025
Based on my research, it seems QT4 is not supported in the Cygwin... maybe this is why it's not working?

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 26 Sep 2008 22:43
by VLC_help
Building works. I just completed it.

http://wiki.videolan.org/Win32CompileCygwinNew following that with one additional step changes.
After you have extracted contribs (use contrib-20080811-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2), download qt4-4.4.1-win32-bin.tar.bz2 and extract lib and include folders from there to /usr/win32 and overwrite all old or same files.

If you get undefined reference to `qt_plugin_instance_qjpeg()' error, then edit vlc/modules/gui/qt4/qt4.cpp and line 53 and comment out Q_IMPORT_PLUGIN(qjpeg)

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 30 Sep 2008 12:50
by concheng
Hi....I follow your way step by step...but it doesn't work....I use the latest release 0.9.3 and the qt4 package you mentioned above....but I still got following error

In file included from dialogs_provider.cpp:44:
dialogs/preferences.hpp:82: error: expected unqualified-id before "char"
dialogs/preferences.hpp:82: error: abstract declarator `QRadioButton*' used as d
eclaration
dialogs/preferences.hpp:82: error: expected `;' before "char"
make[6]: *** [libqt4_plugin_la-dialogs_provider.lo] Error 1
make[6]: Leaving directory `/cygdrive/c/vlc/modules/gui/qt4'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/cygdrive/c/vlc/modules/gui/qt4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/c/vlc/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/cygdrive/c/vlc/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/vlc'
make: *** [all] Error 2


did any other people successfully compile this source code under window xp home edition with cygwin...
by the way, the contrib-20080811-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2 mentions runtime-3.13 and gcc4.2.1, is that mean I can only use runtime 3.13? because cygwin setup.exe doesn't have the correspond version of mingw and gcc, it only have 3.14 and 3.15....

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 30 Sep 2008 13:06
by danish22
I downloaded qt4-4.4.1-win32-bin.tar.bz2 but I could not find the "source" folder in it. I patched "lib", "shared" and "include" folders of /usr/win32/ in cygwin (overwritten older files). I am still not able to compile VLC. I get same error.

========================================================

Making all in qt4
make[5]: Entering directory `/cygdrive/c/VLC/vlc-1.0.0-git/modules/gui/qt4'
make all-am
make[6]: Entering directory `/cygdrive/c/VLC/vlc-1.0.0-git/modules/gui/qt4'
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -mno-cygwin -DHAVE_CONFI
G_H -I. -I../../.. -I../../../include -I../../../include -I/usr/win32/include
-I/usr/win32/include/ebml -DSYS_MINGW32 `top_builddir="../../.." ../../../vlc-co
nfig --cxxflags plugin libqt4_plugin_la-qt4.lo` -mms-bitfields -MT libqt4_plugi
n_la-qt4.lo -MD -MP -MF .deps/libqt4_plugin_la-qt4.Tpo -c -o libqt4_plugin_la-qt
4.lo `test -f 'qt4.cpp' || echo './'`qt4.cpp
g++ -mno-cygwin -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../in
clude -I/usr/win32/include -I/usr/win32/include/ebml -DSYS_MINGW32 -I/usr/local/
include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT
-D_THREAD_SAFE -DDEBUG -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=qt4 -DMODULE_NAM
E_IS_qt4 -DMODULE_STRING=\"qt4\" -g -O2 -ffast-math -funroll-loops -mtune=pentiu
m2 -DQT_NODLL -I/usr/win32/include/qt4 -I/usr/win32/include/qt4/QtCore -I/usr/wi
n32/include/qt4/QtGui -DQT4LOCALEDIR=\"/usr/win32/share/qt4/translations/\" -mms
-bitfields -MT libqt4_plugin_la-qt4.lo -MD -MP -MF .deps/libqt4_plugin_la-qt4.Tp
o -c qt4.cpp -DDLL_EXPORT -DPIC -o .libs/libqt4_plugin_la-qt4.o
In file included from /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32
api/windows.h:50,
from ../../../include/vlc_common.h:504,
from qt4.hpp:32,
from qt4.cpp:37:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1663: er
ror: declaration of C function `LONG InterlockedCompareExchange(volatile LONG*,
LONG, LONG)' conflicts with
/usr/win32/include/qt4/QtCore/../src/corelib/arch/qatomic_windows.h:393: error:
previous declaration `long int InterlockedCompareExchange(long int*, long int, l
ong int)' here
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1667: er
ror: declaration of C function `LONG InterlockedDecrement(volatile LONG*)' confl
icts with
/usr/win32/include/qt4/QtCore/../src/corelib/arch/qatomic_windows.h:395: error:
previous declaration `long int InterlockedDecrement(long int*)' here
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1668: er
ror: declaration of C function `LONG InterlockedExchange(volatile LONG*, LONG)'
conflicts with
/usr/win32/include/qt4/QtCore/../src/corelib/arch/qatomic_windows.h:396: error:
previous declaration `long int InterlockedExchange(long int*, long int)' here
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1672: er
ror: declaration of C function `LONG InterlockedExchangeAdd(volatile LONG*, LONG
)' conflicts with
/usr/win32/include/qt4/QtCore/../src/corelib/arch/qatomic_windows.h:397: error:
previous declaration `long int InterlockedExchangeAdd(long int*, long int)' here

/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1676: er
ror: declaration of C function `LONG InterlockedIncrement(volatile LONG*)' confl
icts with
/usr/win32/include/qt4/QtCore/../src/corelib/arch/qatomic_windows.h:394: error:
previous declaration `long int InterlockedIncrement(long int*)' here
In file included from ../../../include/vlc_common.h:512,
from qt4.hpp:32,
from qt4.cpp:37:
../../../include/vlc_mtime.h:84: warning: `error' attribute directive ignored
../../../include/vlc_mtime.h:94: warning: `warning' attribute directive ignored
../../../include/vlc_mtime.h:112: warning: `error' attribute directive ignored
In file included from ../../../include/vlc_common.h:894,
from qt4.hpp:32,
from qt4.cpp:37:
../../../include/vlc_variables.h:143: warning: `error' attribute directive ignor
ed
make[6]: *** [libqt4_plugin_la-qt4.lo] Error 1
make[6]: Leaving directory `/cygdrive/c/VLC/vlc-1.0.0-git/modules/gui/qt4'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/cygdrive/c/VLC/vlc-1.0.0-git/modules/gui/qt4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/c/VLC/vlc-1.0.0-git/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/cygdrive/c/VLC/vlc-1.0.0-git/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/VLC/vlc-1.0.0-git/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/VLC/vlc-1.0.0-git'
make: *** [all] Error 2

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 30 Sep 2008 13:10
by concheng
I think the source folder mean "src" folder under C:\cygwin\usr\win32\include\qt4......

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 30 Sep 2008 15:28
by VLC_help
Sorry, I meant include (now fixed in previous post).

Could you check the checksum of your qatomic_windows.h?

Code: Select all

md5sum qatomic_windows.h

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 30 Sep 2008 15:53
by Boo025
I couldn't compile either. Also, do you mean qt-win-opensource-src-4.4.1.zip, not qt4-4.4.1-win32-bin.tar.bz2?

Re: VLC 0.9.2 compiling problem: problem with qt4

Posted: 30 Sep 2008 18:05
by Boo025
9124a08b966e37995c60aa92ba3f3128 *qatomic_windows.h

Also I tried your fixed method by extracting lib and include folders from QT package to the usr/win32/
Now I get a different error (actually alot of errors) that are not related to the 'Interlock' declaration.

If you want to look....

Code: Select all

In file included from /usr/win32/include/qt4/QtGui/qapplication.h:47, from /usr/win32/include/qt4/QtGui/QApplication:1, from qt4.cpp:28: In file included from /usr/win32/include/qt4/QtGui/qapplication.h:48, from /usr/win32/include/qt4/QtGui/QApplication:1, from qt4.cpp:28: In file included from /usr/win32/include/qt4/QtGui/qapplication.h:49, from /usr/win32/include/qt4/QtGui/QApplication:1, from qt4.cpp:28: In file included from /usr/win32/include/qt4/QtGui/qapplication.h:50, from /usr/win32/include/qt4/QtGui/QApplication:1, from qt4.cpp:28: In file included from /usr/win32/include/qt4/QtGui/qapplication.h:51, from /usr/win32/include/qt4/QtGui/QApplication:1, from qt4.cpp:28: In file included from /usr/win32/include/qt4/QtGui/QApplication:1, from qt4.cpp:28: In file included from /usr/win32/include/qt4/QtCore/qlocale.h:47, from /usr/win32/include/qt4/QtCore/QLocale:1, from qt4.cpp:29: In file included from /usr/win32/include/qt4/QtCore/qlocale.h:48, from /usr/win32/include/qt4/QtCore/QLocale:1, from qt4.cpp:29: In file included from /usr/win32/include/qt4/QtCore/QLocale:1, from qt4.cpp:29: In file included from /usr/win32/include/qt4/QtCore/qtranslator.h:47, from /usr/win32/include/qt4/QtCore/QTranslator:1, from qt4.cpp:30: In file included from /usr/win32/include/qt4/QtCore/qtranslator.h:48, from /usr/win32/include/qt4/QtCore/QTranslator:1, from qt4.cpp:30: In file included from /usr/win32/include/qt4/QtCore/QTranslator:1, from qt4.cpp:30: In file included from /usr/win32/include/qt4/QtCore/qdatetime.h:48, from /usr/win32/include/qt4/QtCore/QDate:1, from qt4.cpp:31: In file included from /usr/win32/include/qt4/QtCore/QDate:1, from qt4.cpp:31: In file included from /usr/win32/include/qt4/QtCore/qmutex.h:47, from /usr/win32/include/qt4/QtCore/QMutex:1, from qt4.cpp:32: In file included from /usr/win32/include/qt4/QtCore/qmutex.h:48, from /usr/win32/include/qt4/QtCore/QMutex:1, from qt4.cpp:32: In file included from /usr/win32/include/qt4/QtCore/QMutex:1, from qt4.cpp:32: In file included from /usr/win32/include/qt4/QtCore/QWaitCondition:1, from qt4.cpp:34: In file included from /usr/win32/include/qt4/QtCore/QPointer:1, from qt4.cpp:35: In file included from /usr/win32/include/qt4/QtCore/QEvent:1, from qt4.hpp:36, from qt4.cpp:37: In file included from /usr/win32/include/qt4/QtCore/qstring.h:47, from /usr/win32/include/qt4/QtCore/QString:1, from qt4.hpp:121, from qt4.cpp:37: In file included from /usr/win32/include/qt4/QtCore/qstring.h:49, from /usr/win32/include/qt4/QtCore/QString:1, from qt4.hpp:121, from qt4.cpp:37: In file included from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/string:47, from /usr/win32/include/qt4/QtCore/qstring.h:62, from /usr/win32/include/qt4/QtCore/QString:1, from qt4.hpp:121, from qt4.cpp:37: In file included from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/string:48, from /usr/win32/include/qt4/QtCore/qstring.h:62, from /usr/win32/include/qt4/QtCore/QString:1, from qt4.hpp:121, from qt4.cpp:37: In file included from /usr/win32/include/qt4/QtCore/QString:1, from qt4.hpp:121, from qt4.cpp:37: In file included from qt4.cpp:37: qt4.hpp: In constructor `DialogEvent::DialogEvent(int, int, intf_dialog_args_t*)': In file included from /usr/win32/include/qt4/QtGui/qwidget.h:49, from /usr/win32/include/qt4/QtGui/QWidget:1, from dialogs/interaction.hpp:34, from dialogs_provider.hpp:37, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qwidget.h:50, from /usr/win32/include/qt4/QtGui/QWidget:1, from dialogs/interaction.hpp:34, from dialogs_provider.hpp:37, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qwidget.h:51, from /usr/win32/include/qt4/QtGui/QWidget:1, from dialogs/interaction.hpp:34, from dialogs_provider.hpp:37, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qwidget.h:52, from /usr/win32/include/qt4/QtGui/QWidget:1, from dialogs/interaction.hpp:34, from dialogs_provider.hpp:37, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qwidget.h:53, from /usr/win32/include/qt4/QtGui/QWidget:1, from dialogs/interaction.hpp:34, from dialogs_provider.hpp:37, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qwidget.h:54, from /usr/win32/include/qt4/QtGui/QWidget:1, from dialogs/interaction.hpp:34, from dialogs_provider.hpp:37, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qwidget.h:55, from /usr/win32/include/qt4/QtGui/QWidget:1, from dialogs/interaction.hpp:34, from dialogs_provider.hpp:37, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qwidget.h:56, from /usr/win32/include/qt4/QtGui/QWidget:1, from dialogs/interaction.hpp:34, from dialogs_provider.hpp:37, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qwidget.h:58, from /usr/win32/include/qt4/QtGui/QWidget:1, from dialogs/interaction.hpp:34, from dialogs_provider.hpp:37, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/QWidget:1, from dialogs/interaction.hpp:34, from dialogs_provider.hpp:37, from qt4.cpp:38: In file included from dialogs_provider.hpp:37, from qt4.cpp:38: dialogs/interaction.hpp: In member function `void InteractionDialog::show()': dialogs/interaction.hpp: In member function `void InteractionDialog::hide()': In file included from /usr/win32/include/qt4/QtGui/qdialog.h:47, from /usr/win32/include/qt4/QtGui/QDialog:1, from ./util/qvlcframe.hpp:28, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/QDialog:1, from ./util/qvlcframe.hpp:28, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qlayoutitem.h:48, from /usr/win32/include/qt4/QtGui/QSpacerItem:1, from ./util/qvlcframe.hpp:29, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/QSpacerItem:1, from ./util/qvlcframe.hpp:29, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qboxlayout.h:47, from /usr/win32/include/qt4/QtGui/QHBoxLayout:1, from ./util/qvlcframe.hpp:30, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/QHBoxLayout:1, from ./util/qvlcframe.hpp:30, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/QMainWindow:1, from ./util/qvlcframe.hpp:32, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qpushbutton.h:47, from /usr/win32/include/qt4/QtGui/QPushButton:1, from ./util/qvlcframe.hpp:33, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/QPushButton:1, from ./util/qvlcframe.hpp:33, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qevent.h:53, from /usr/win32/include/qt4/QtGui/QKeyEvent:1, from ./util/qvlcframe.hpp:34, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qevent.h:54, from /usr/win32/include/qt4/QtGui/QKeyEvent:1, from ./util/qvlcframe.hpp:34, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qevent.h:55, from /usr/win32/include/qt4/QtGui/QKeyEvent:1, from ./util/qvlcframe.hpp:34, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qevent.h:56, from /usr/win32/include/qt4/QtGui/QKeyEvent:1, from ./util/qvlcframe.hpp:34, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/QKeyEvent:1, from ./util/qvlcframe.hpp:34, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/QDesktopWidget:1, from ./util/qvlcframe.hpp:35, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtCore/QSettings:1, from ./util/qvlcframe.hpp:36, from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from dialogs/open.hpp:33, from dialogs_provider.hpp:38, from qt4.cpp:38: ./util/qvlcframe.hpp: In static member function `static void QVLCTools::saveWidgetPosition(QSettings*, QWidget*)': ./util/qvlcframe.hpp: In static member function `static void QVLCTools::saveWidgetPosition(intf_thread_t*, int, QWidget*)': ./util/qvlcframe.hpp: In static member function `static bool QVLCTools::restoreWidgetPosition(QSettings*, QWidget*, int, int)': ./util/qvlcframe.hpp: In static member function `static bool QVLCTools::restoreWidgetPosition(intf_thread_t*, int, QWidget*, int, int)': ./util/qvlcframe.hpp: In static member function `static void QVLCTools::centerWidgetOnScreen(QWidget*)': ./util/qvlcframe.hpp: At global scope: ./util/qvlcframe.hpp: In constructor `QVLCFrame::QVLCFrame(intf_thread_t*)': ./util/qvlcframe.hpp: In member function `void QVLCFrame::toggleVisible()': ./util/qvlcframe.hpp: In member function `void QVLCFrame::readSettings(int, int, int)': ./util/qvlcframe.hpp:73: note: candidates are: static bool QVLCTools::restoreWidgetPosition(QSettings*, QWidget*, int, int) ./util/qvlcframe.hpp:92: note: static bool QVLCTools::restoreWidgetPosition(intf_thread_t*, int, QWidget*, int, int) ./util/qvlcframe.hpp: In member function `void QVLCFrame::writeSettings(int)': ./util/qvlcframe.hpp:52: note: candidates are: static void QVLCTools::saveWidgetPosition(QSettings*, QWidget*) ./util/qvlcframe.hpp:58: note: static void QVLCTools::saveWidgetPosition(intf_thread_t*, int, QWidget*) ./util/qvlcframe.hpp: In member function `virtual void QVLCFrame::cancel()': ./util/qvlcframe.hpp: In member function `virtual void QVLCFrame::close()': ./util/qvlcframe.hpp: In member function `virtual void QVLCFrame::keyPressEvent(QKeyEvent*)': ./util/qvlcframe.hpp: At global scope: ./util/qvlcframe.hpp: In constructor `QVLCDialog::QVLCDialog(QWidget*, intf_thread_t*)': ./util/qvlcframe.hpp: In member function `void QVLCDialog::toggleVisible()': ./util/qvlcframe.hpp: In member function `virtual void QVLCDialog::cancel()': ./util/qvlcframe.hpp: In member function `virtual void QVLCDialog::close()': ./util/qvlcframe.hpp: In member function `virtual void QVLCDialog::keyPressEvent(QKeyEvent*)': ./util/qvlcframe.hpp: At global scope: ./util/qvlcframe.hpp: In constructor `QVLCMW::QVLCMW(intf_thread_t*)': ./util/qvlcframe.hpp: In member function `void QVLCMW::toggleVisible()': ./util/qvlcframe.hpp: In member function `void QVLCMW::readSettings(int, int)': ./util/qvlcframe.hpp:73: note: candidates are: static bool QVLCTools::restoreWidgetPosition(QSettings*, QWidget*, int, int) ./util/qvlcframe.hpp:92: note: static bool QVLCTools::restoreWidgetPosition(intf_thread_t*, int, QWidget*, int, int) ./util/qvlcframe.hpp: In member function `void QVLCMW::readSettings(int)': ./util/qvlcframe.hpp:73: note: candidates are: static bool QVLCTools::restoreWidgetPosition(QSettings*, QWidget*, int, int) ./util/qvlcframe.hpp:92: note: static bool QVLCTools::restoreWidgetPosition(intf_thread_t*, int, QWidget*, int, int) ./util/qvlcframe.hpp: In member function `void QVLCMW::readSettings(QSettings*)': ./util/qvlcframe.hpp:73: note: candidates are: static bool QVLCTools::restoreWidgetPosition(QSettings*, QWidget*, int, int) ./util/qvlcframe.hpp:92: note: static bool QVLCTools::restoreWidgetPosition(intf_thread_t*, int, QWidget*, int, int) ./util/qvlcframe.hpp: In member function `void QVLCMW::readSettings(QSettings*, int)': ./util/qvlcframe.hpp:73: note: candidates are: static bool QVLCTools::restoreWidgetPosition(QSettings*, QWidget*, int, int) ./util/qvlcframe.hpp:92: note: static bool QVLCTools::restoreWidgetPosition(intf_thread_t*, int, QWidget*, int, int) ./util/qvlcframe.hpp: In member function `void QVLCMW::writeSettings(int)': ./util/qvlcframe.hpp:52: note: candidates are: static void QVLCTools::saveWidgetPosition(QSettings*, QWidget*) ./util/qvlcframe.hpp:58: note: static void QVLCTools::saveWidgetPosition(intf_thread_t*, int, QWidget*) ./util/qvlcframe.hpp: In member function `void QVLCMW::writeSettings(QSettings*)': ./util/qvlcframe.hpp:52: note: candidates are: static void QVLCTools::saveWidgetPosition(QSettings*, QWidget*) ./util/qvlcframe.hpp:58: note: static void QVLCTools::saveWidgetPosition(intf_thread_t*, int, QWidget*) In file included from /usr/win32/include/QtGui/QAction:1, from ./ui/open.h:15, from dialogs/open.hpp:35, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QApplication:1, from ./ui/open.h:16, from dialogs/open.hpp:35, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QButtonGroup:1, from ./ui/open.h:17, from dialogs/open.hpp:35, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QCheckBox:1, from ./ui/open.h:18, from dialogs/open.hpp:35, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QDialogButtonBox:1, from ./ui/open.h:19, from dialogs/open.hpp:35, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QFrame:1, from ./ui/open.h:20, from dialogs/open.hpp:35, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QGridLayout:1, from ./ui/open.h:21, from dialogs/open.hpp:35, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QGroupBox:1, from ./ui/open.h:22, from dialogs/open.hpp:35, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QLabel:1, from ./ui/open.h:23, from dialogs/open.hpp:35, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QLineEdit:1, from ./ui/open.h:24, from dialogs/open.hpp:35, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QPushButton:1, from ./ui/open.h:25, from dialogs/open.hpp:35, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QSpacerItem:1, from ./ui/open.h:26, from dialogs/open.hpp:35, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QSpinBox:1, from ./ui/open.h:27, from dialogs/open.hpp:35, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QTabWidget:1, from ./ui/open.h:28, from dialogs/open.hpp:35, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from dialogs/open.hpp:35, from dialogs_provider.hpp:38, from qt4.cpp:38: ./ui/open.h: At global scope: In file included from /usr/win32/include/qt4/QtGui/qfiledialog.h:47, from /usr/win32/include/qt4/QtGui/QFileDialog:1, from ./components/open_panels.hpp:37, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qfiledialog.h:49, from /usr/win32/include/qt4/QtGui/QFileDialog:1, from ./components/open_panels.hpp:37, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/QFileDialog:1, from ./components/open_panels.hpp:37, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QComboBox:1, from ./ui/open_file.h:19, from ./components/open_panels.hpp:39, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from ./components/open_panels.hpp:39, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QRadioButton:1, from ./ui/open_disk.h:25, from ./components/open_panels.hpp:40, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QToolButton:1, from ./ui/open_disk.h:28, from ./components/open_panels.hpp:40, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/QtGui/QVBoxLayout:1, from ./ui/open_disk.h:29, from ./components/open_panels.hpp:40, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from ./components/open_panels.hpp:40, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from ./components/open_panels.hpp:41, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from ./components/open_panels.hpp:42, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from ./components/preferences_widgets.hpp:36, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/QCheckBox:1, from ./components/preferences_widgets.hpp:40, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qcombobox.h:48, from /usr/win32/include/qt4/QtGui/QComboBox:1, from ./components/preferences_widgets.hpp:41, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qcombobox.h:49, from /usr/win32/include/qt4/QtGui/QComboBox:1, from ./components/preferences_widgets.hpp:41, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/QComboBox:1, from ./components/preferences_widgets.hpp:41, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/QLineEdit:1, from ./components/preferences_widgets.hpp:42, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qtreewidget.h:47, from /usr/win32/include/qt4/QtGui/QTreeWidget:1, from ./components/preferences_widgets.hpp:43, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qtreewidget.h:48, from /usr/win32/include/qt4/QtGui/QTreeWidget:1, from ./components/preferences_widgets.hpp:43, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qtreewidget.h:50, from /usr/win32/include/qt4/QtGui/QTreeWidget:1, from ./components/preferences_widgets.hpp:43, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/QTreeWidget:1, from ./components/preferences_widgets.hpp:43, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/qspinbox.h:47, from /usr/win32/include/qt4/QtGui/QSpinBox:1, from ./components/preferences_widgets.hpp:44, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/QSpinBox:1, from ./components/preferences_widgets.hpp:44, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtGui/QLabel:1, from ./components/preferences_widgets.hpp:45, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtCore/qvector.h:47, from /usr/win32/include/qt4/QtCore/QVector:1, from ./components/preferences_widgets.hpp:48, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtCore/qvector.h:49, from /usr/win32/include/qt4/QtCore/QVector:1, from ./components/preferences_widgets.hpp:48, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtCore/qvector.h:50, from /usr/win32/include/qt4/QtCore/QVector:1, from ./components/preferences_widgets.hpp:48, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtCore/QVector:1, from ./components/preferences_widgets.hpp:48, from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from ./components/open_panels.hpp:44, from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: ./components/preferences_widgets.hpp: In member function `virtual void ConfigControl::hide()': ./components/preferences_widgets.hpp: In member function `virtual void ConfigControl::show()': ./components/preferences_widgets.hpp: At global scope: ./components/preferences_widgets.hpp: In constructor `VIntConfigControl::VIntConfigControl(vlc_object_t*, module_config_t*)': ./components/preferences_widgets.hpp: In destructor `virtual VIntConfigControl::~VIntConfigControl()': ./components/preferences_widgets.hpp: At global scope: ./components/preferences_widgets.hpp: In destructor `virtual IntegerConfigControl::~IntegerConfigControl()': ./components/preferences_widgets.hpp: In member function `virtual void IntegerConfigControl::show()': ./components/preferences_widgets.hpp: In member function `virtual void IntegerConfigControl::hide()': ./components/preferences_widgets.hpp: At global scope: ./components/preferences_widgets.hpp: In destructor `virtual IntegerRangeSliderConfigControl::~IntegerRangeSliderConfigControl()': ./components/preferences_widgets.hpp: At global scope: ./components/preferences_widgets.hpp: In destructor `virtual IntegerListConfigControl::~IntegerListConfigControl()': ./components/preferences_widgets.hpp: In member function `virtual void IntegerListConfigControl::hide()': ./components/preferences_widgets.hpp: In member function `virtual void IntegerListConfigControl::show()': ./components/preferences_widgets.hpp: At global scope: ./components/preferences_widgets.hpp: In destructor `virtual BoolConfigControl::~BoolConfigControl()': ./components/preferences_widgets.hpp: In member function `virtual void BoolConfigControl::show()': ./components/preferences_widgets.hpp: In member function `virtual void BoolConfigControl::hide()': ./components/preferences_widgets.hpp: At global scope: ./components/preferences_widgets.hpp: In constructor `VFloatConfigControl::VFloatConfigControl(vlc_object_t*, module_config_t*)': ./components/preferences_widgets.hpp: In destructor `virtual VFloatConfigControl::~VFloatConfigControl()': ./components/preferences_widgets.hpp: At global scope: ./components/preferences_widgets.hpp: In destructor `virtual FloatConfigControl::~FloatConfigControl()': ./components/preferences_widgets.hpp: In member function `virtual void FloatConfigControl::show()': ./components/preferences_widgets.hpp: In member function `virtual void FloatConfigControl::hide()': ./components/preferences_widgets.hpp: At global scope: ./components/preferences_widgets.hpp: In constructor `VStringConfigControl::VStringConfigControl(vlc_object_t*, module_config_t*)': ./components/preferences_widgets.hpp: In destructor `virtual VStringConfigControl::~VStringConfigControl()': ./components/preferences_widgets.hpp: At global scope: ./components/preferences_widgets.hpp: In destructor `virtual StringConfigControl::~StringConfigControl()': ./components/preferences_widgets.hpp: In member function `virtual void StringConfigControl::show()': ./components/preferences_widgets.hpp: In member function `virtual void StringConfigControl::hide()': ./components/preferences_widgets.hpp: At global scope: ./components/preferences_widgets.hpp: In destructor `virtual FileConfigControl::~FileConfigControl()': ./components/preferences_widgets.hpp: In member function `virtual void FileConfigControl::show()': ./components/preferences_widgets.hpp: In member function `virtual void FileConfigControl::hide()': ./components/preferences_widgets.hpp: At global scope: ./components/preferences_widgets.hpp: In destructor `virtual ModuleConfigControl::~ModuleConfigControl()': ./components/preferences_widgets.hpp: In member function `virtual void ModuleConfigControl::hide()': ./components/preferences_widgets.hpp: In member function `virtual void ModuleConfigControl::show()': ./components/preferences_widgets.hpp: At global scope: ./components/preferences_widgets.hpp: In destructor `virtual StringListConfigControl::~StringListConfigControl()': ./components/preferences_widgets.hpp: In member function `virtual void StringListConfigControl::hide()': ./components/preferences_widgets.hpp: In member function `virtual void StringListConfigControl::show()': ./components/preferences_widgets.hpp: At global scope: ./components/preferences_widgets.hpp: In destructor `virtual KeySelectorControl::~KeySelectorControl()': ./components/preferences_widgets.hpp: In member function `virtual void KeySelectorControl::hide()': ./components/preferences_widgets.hpp: In member function `virtual void KeySelectorControl::show()': ./components/preferences_widgets.hpp: At global scope: In file included from dialogs/open.hpp:36, from dialogs_provider.hpp:38, from qt4.cpp:38: ./components/open_panels.hpp: In constructor `OpenPanel::OpenPanel(QWidget*, intf_thread_t*)': ./components/open_panels.hpp: At global scope: ./components/open_panels.hpp: In constructor `FileOpenBox::FileOpenBox(QWidget*, int)': ./components/open_panels.hpp: At global scope: In file included from dialogs_provider.hpp:38, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtCore/QObject:1, from dialogs_provider.hpp:40, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtCore/qtimer.h:49, from /usr/win32/include/qt4/QtCore/QTimer:1, from dialogs_provider.hpp:41, from qt4.cpp:38: In file included from /usr/win32/include/qt4/QtCore/QTimer:1, from dialogs_provider.hpp:41, from qt4.cpp:38: In file included from qt4.cpp:38: In file included from qt4.cpp:39: input_manager.hpp: In constructor `IMEvent::IMEvent(int, int)': input_manager.hpp: At global scope: In file included from /usr/win32/include/qt4/QtGui/qsystemtrayicon.h:51, from /usr/win32/include/qt4/QtGui/QSystemTrayIcon:1, from main_interface.hpp:34, from qt4.cpp:40: In file included from /usr/win32/include/qt4/QtGui/QSystemTrayIcon:1, from main_interface.hpp:34, from qt4.cpp:40: In file included from qt4.cpp:40: In file included from qt4.cpp:41: In file included from /usr/win32/include/qt4/QtCore/qplugin.h:48, from /usr/win32/include/qt4/QtCore/QtPlugin:1, from qt4.cpp:52: In file included from /usr/win32/include/qt4/QtCore/QtPlugin:1, from qt4.cpp:52: qt4.cpp: In constructor `StaticqjpegPluginInstance::StaticqjpegPluginInstance()': qt4.cpp: In function `void Close(vlc_object_t*)': qt4.cpp: At global scope: qt4.cpp: In function `void* Init(vlc_object_t*)': qt4.cpp:461: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. qt4.cpp:467: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. qt4.cpp: In function `void ShowDialog(intf_thread_t*, int, int, intf_dialog_args_t*)': qt4.cpp: In function `int WindowOpen(vlc_object_t*)': qt4.cpp: In function `int WindowControl(vout_window_t*, int, char*)': qt4.cpp: In function `void WindowClose(vlc_object_t*)': <internal>:0: note: candidates are: void* operator new(unsigned int) make: *** [all] Error 2