<br><br><div class="gmail_quote">I used the debian package for mingw 3.0 compiler and installed it along with gcc and g++ compilers<br><div><br></div><div><div>$sudo dpkg -i mingw-w64-i686-dev_3.0~svn5408-1_all.deb </div><div>
[sudo] password for flodhi: </div>
<div>(Reading database ... 247109 files and directories currently installed.)</div><div>Preparing to replace mingw-w64-i686-dev 3.0~svn5408-1 (using mingw-w64-i686-dev_3.0~svn5408-1_all.deb) ...</div><div>Unpacking replacement mingw-w64-i686-dev ...</div>

<div>Setting up mingw-w64-i686-dev (3.0~svn5408-1) ...</div></div><div>$</div><div><br></div><div>and followed all steps sequentially from</div><div><a href="http://wiki.videolan.org/Win32Compile#Obtaining_the_toolchain" target="_blank">http://wiki.videolan.org/Win32Compile</a><br>

</div><div><br></div><div>I also recompiled qt4 with vlc-2.0.4. </div><div><br></div><div>then <span style="line-height:1.1em;background-color:rgb(249,249,249)">rm -f ../i686-mingw32/bin/{moc,uic,rcc}</span></div>
<div><span style="line-height:1.1em;background-color:rgb(249,249,249)"><br></span></div><div><span style="line-height:1.1em;background-color:rgb(249,249,249)">then ./bootstrap again</span></div>
<div><span style="line-height:1.1em;background-color:rgb(249,249,249)"><br></span></div><div>Then configured with </div><div><br></div><div><pre style="line-height:1.1em;overflow:auto;background-color:rgb(249,249,249);border:1px dashed rgb(47,111,171);padding:1em">
../extras/package/win32/configure.sh --host=<i style="font-family:sans-serif;font-size:13px;line-height:19.049999237060547px">i686-w64-mingw32</i></pre></div><div><br></div><div>But then again make failed with following errors<br>

</div><div><br></div><div><br></div><div><div>objects.h:81) [-Wdeprecated-declarations]</div><div>  CXX    libqt4_plugin_la-main_interface.moc.lo</div><div>In file included from ../../../../modules/gui/qt4/qt4.hpp:32:0,</div>

<div>                 from ../../../../modules/gui/qt4/main_interface.hpp:28,</div><div>                 from main_interface.moc.cpp:10:</div><div>../../../../extras/package/win32/../../../include/vlc_common.h:405:0: warning: "stat" redefined [enabled by default]</div>

<div>/usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition</div><div>../../../../extras/package/win32/../../../include/vlc_common.h:406:0: warning: "fstat" redefined [enabled by default]</div>

<div>/usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/sys/stat.h:256:0: note: this is the location of the previous definition</div><div><b>main_interface.moc.cpp:14:2: error: #error "This file was generated using the moc from 4.7.4. It"</b></div>

<div>main_interface.moc.cpp:15:2: error: #error "cannot be used with the include files from this version of Qt."</div><div>main_interface.moc.cpp:16:2: error: #error "(The moc has changed too much.)"</div>

<div>make[6]: *** [libqt4_plugin_la-main_interface.moc.lo] Error 1</div><div>make[6]: Leaving directory `/home/flodhi/Downloads/VLC/vlc-2.0.4-win32/win32/modules/gui/qt4'</div><div>make[5]: *** [all] Error 2</div><div>

make[5]: Leaving directory `/home/flodhi/Downloads/VLC/vlc-2.0.4-win32/win32/modules/gui/qt4'</div><div>make[4]: *** [all-recursive] Error 1</div><div>make[4]: Leaving directory `/home/flodhi/Downloads/VLC/vlc-2.0.4-win32/win32/modules/gui'</div>

<div>make[3]: *** [all] Error 2</div><div>make[3]: Leaving directory `/home/flodhi/Downloads/VLC/vlc-2.0.4-win32/win32/modules/gui'</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory `/home/flodhi/Downloads/VLC/vlc-2.0.4-win32/win32/modules'</div>

<div>make[1]: *** [all-recursive] Error 1</div></div><div><br></div><div><br></div><div>----</div><div><br></div><div>What i don't understand is that making qt4 brings qt4.8.2</div><div><br></div><div>and seen this diff <a href="http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cd0148a5a1d5e5875f525c04225add1975a9dd78" target="_blank">http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cd0148a5a1d5e5875f525c04225add1975a9dd78</a></div>

<div><br></div><div>What i check my contrib/src/qt folder for this diff i already find the latest values.</div><div><br></div><div>Where is this .moc 4.7.4 coming from?</div><div><br></div><div><br></div><div>I am literary nuts over this since others seem to have been successful with this <a href="http://forum.videolan.org/viewtopic.php?f=14&t=106846" target="_blank">http://forum.videolan.org/viewtopic.php?f=14&t=106846</a></div>

<div><br></div><div>Fail to find what is wrong. I am using Linux mint 12 (Lisa) 64bit  though i have tried to same on ubuntu 12.04 and forums show people have been successful with ubuntu</div><div><br></div><div>On Thu, Dec 13, 2012 at 8:51 PM, Rafaël Carré <span dir="ltr"><<a href="mailto:funman@videolan.org" target="_blank">funman@videolan.org</a>></span> wrote:<br>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">yes, trunk<br>
<br>
Le 13/12/2012 12:00, fayyaz lodhi a écrit :<br>
<div><div>> Thank you for the suggestion<br>
><br>
> This suggests<br>
> <a href="http://sourceforge.net/projects/mingw-w64/files/" target="_blank">http://sourceforge.net/projects/mingw-w64/files/</a><br>
><br>
> v2.0.7 (r5421) ====> 5421 > 5408 but it is still labelled 2.0.7<br>
><br>
> Also <a href="https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/tags/" target="_blank">https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/tags/</a><br>
><br>
> only has upto 2.0.7 or some rc<x> candidates but no 3.0. Are you referring<br>
> to it's trunk or experimental versions?<br>
><br>
><br>
> On Thu, Dec 13, 2012 at 3:19 PM, Rafaël Carré <<a href="mailto:funman@videolan.org" target="_blank">funman@videolan.org</a>> wrote:<br>
><br>
>> Le 12/12/2012 11:14, fayyaz lodhi a écrit :<br>
>>> I am cross compiling vlc for windows on linux mint 64 bit machine.<br>
>>><br>
>>> Used the instructions here<br>
>>> <a href="http://wiki.videolan.org/Win32Compile#Obtaining_the_toolchain" target="_blank">http://wiki.videolan.org/Win32Compile#Obtaining_the_toolchain</a><br>
>>><br>
>>> and used the following tool chain<br>
>>> *x86_64-w64-mingw32* for Windows 64-bits, using the Mingw-w64 toolchain<br>
>>><br>
>>> as indicated in instructions.<br>
>>><br>
>>> First, the configure gives error of libgcrypt which i could only bypass<br>
>> by<br>
>>> disabling it i..e adding --disable-libgcrypt to configure script.<br>
>>><br>
>>> Next make fails with following log. Can some one help with figuring out<br>
>>> what's the problem?<br>
>>><br>
>>> WARNING :<br>
>>><br>
>> ../../../../extras/package/win32/../../../modules/access/dshow/dshow.cpp:1805:<br>
>>> 14:  'bool vlc_object_alive(const vlc_object_t*)' is deprecated (declared<br>
>>> at ../../../../extras/package/win32/../../../include/vlc_objects.h:81)<br>
>>> [-Wdeprecated-declarations]<br>
>>> Creating library file: .libs/libdshow_plugin.dll.a<br>
>>>  COMPILE : libcdda_plugin_la-cdda.lo<br>
>>>  COMPILE : libcdda_plugin_la-cdrom.lo<br>
>>><br>
>>> **** Warning: Linking the shared library <a href="http://libcdda_plugin.la" target="_blank">libcdda_plugin.la</a> against the*<br>
>>> **** static library<br>
>>> ../VLC/vlc-2.0.4-windows/contrib/x86_64-w64-mingw32/lib/libregex.a is not<br>
>>> portable!*<br>
>>> *Creating library file:<br>
>>><br>
>> *.libs/libcdda_plugin.dll.a/../VLC/vlc-2.0.4-windows/contrib/x86_64-w64-mingw32/lib/libcddb.a(cddb_conn.o):cddb_conn.c:(.text+0x3e):<br>
>>> undefined reference to `__ms_vsnprintf'<br>
>>><br>
>> ../VLC/vlc-2.0.4-windows/contrib/x86_64-w64-mingw32/lib/libcddb.a(cddb_cmd.o):cddb_cmd.c:(.text+0x32):<br>
>>> undefined reference to `__ms_vsnprintf'<br>
>>><br>
>> ../VLC/vlc-2.0.4-windows/contrib/x86_64-w64-mingw32/lib/libcddb.a(cddb_cmd.o):cddb_cmd.c:(.text+0x7a):<br>
>>> undefined reference to `__ms_vsnprintf'<br>
>>><br>
>> ../VLC/vlc-2.0.4-windows/contrib/x86_64-w64-mingw32/lib/libcddb.a(cddb_log.o):cddb_log.c:(.text+0x32):<br>
>>> undefined reference to `__ms_vsnprintf'<br>
>>><br>
>> ../VLC/vlc-2.0.4-windows/contrib/x86_64-w64-mingw32/lib/libcddb.a(cddb_net.o):cddb_net.c:(.text+0x32):<br>
>>> undefined reference to `__ms_vsnprintf'<br>
>>> collect2: ld returned 1 exit status<br>
>><br>
>> Make sure you use at least SVN r5408 revision of mingw-w64 (i.e. 3.x,<br>
>> NOT 2.x)<br>
>> _______________________________________________<br>
>> vlc-devel mailing list<br>
>> To unsubscribe or modify your subscription options:<br>
>> <a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
>><br>
><br>
><br>
><br>
> _______________________________________________<br>
> vlc-devel mailing list<br>
> To unsubscribe or modify your subscription options:<br>
> <a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
><br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br></div>
</div></div></div><br>