<div dir="ltr"><br><div class="gmail_extra">  Following the instructions given <a href="https://wiki.videolan.org/Win32CompileMSYS/">https://wiki.videolan.org/Win32CompileMSYS/</a> </div><div class="gmail_extra">I was able to bring in almost everything needed.  I installed the compiler/mingw-w64 </div><div class="gmail_extra">in a subdirectory of the already-existing /mingw32 and created another "MSYSTEM" category shell to run.</div><div class="gmail_extra">So my directories looked like this:</div><div class="gmail_extra"><br></div><div class="gmail_extra">/msys32</div><div class="gmail_extra">   /usr</div><div class="gmail_extra">   /mingw64</div><div class="gmail_extra">   /mingw32</div><div class="gmail_extra">        /mingw32-win32sjlj</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">I made the sub-directory installation because I assume I would have had trouble with different thread/exception if I used the defaults for msys2, </div><div class="gmail_extra">which are posix/dwarf2 for 32-bits and posix/seh for 64-bit mingw builds. So the instruction where it says, to install via pacman</div>mingw-w64-i686-lua and mingw-w64-i686-headers, I instead unpacked a previously downloaded package and copied the contents over <div><offbeat path>/mingw32/* =>  /mingw32/mingw32-win32sjlj/.  This will be ok assuming lua is all C, not C++. </div><div> I also copied mingw32-win32sjlj/opt/* => /mingw32/mingw32-win32sjlj/ so everything that came with the compiler was available without extra efforts.</div><div><br></div></div><div class="gmail_extra">and the PATH was</div><div class="gmail_extra"> /mingw32/mingw32-win32sjlj/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:</div><div class="gmail_extra">       /c/Windows:/c/Windows/system32:/c/Windows/system32/Wbem:</div><div class="gmail_extra">      /usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl</div><div class="gmail_extra"><br></div><div class="gmail_extra">RCC problem:</div><div class="gmail_extra">  The /mingw64/bin portion of the path was thrown in because in the build process I didn't receive an rcc.exe which is needed for</div><div class="gmail_extra">processing, and I had an MSYS2 qt4 installation in the /mingw64 side.  Once I did this, the rest of the make went well.  That's the only reason for</div><div class="gmail_extra">/mingw64; if I had qt installed in the /mingw32 tree I'd be using that one.</div><div class="gmail_extra">I don't know how hard this is doing Linux cross-compile, but this way was a relative breeze for such a big assembly.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Now if I knew more about vlc I'd do more!<br></div><div><br></div><div>Regards,</div><div>Greg</div></div>