Page 1 of 1

Building for 64 bit windows and FireFox 64 bit

Posted: 04 Oct 2016 22:06
by jimmyjinkles
Hello. I am taking over a 32 bit custom build of VLC (minor codec changes and additions to the source). This was previously built with 2.1.3 VLC and it was primarly for the FireFox plugin. Now that most users are using 64 bit versions of FireFox, our build does not work (or even show up in FireFox plugins). I am hoping this is because it is 32 bit (even though that doesn't make sense to me.. 32 bit should work on 64 bit). If this is not the case, please stop me here.

Otherwise, I am not asking for steps on how to build 64 bit, but maybe some advice. I have not seen anything in the wiki that says anything about 64 bit in general, so I am assuming there may not really be any major issues. But if anyone has experience with building a 64 bit version of VLC Player for the intention of using it as a FireFox plugin, I would appreciate any gotchas and things to consider before jumping in.

Thank you.

Re: Building for 64 bit windows and FireFox 64 bit

Posted: 05 Oct 2016 13:04
by RĂ©mi Denis-Courmont
The VLC web plugin must have the same bit-ness as the browser. And then the VLC run-time must have the same bit-ness as the web plugin. So you can use VLC 32-bits on Windows 64-bits - provided you use a 32-bits browser. This is because a 64-bits EXE cannot load 32-bits DLL (or vice versa).

As for compiling VLC 64-bits, it's essentially the same procedure as 32-bits, just with a different host triplet. But note that Mingw support for 64-bits is generally not on par with 32-bits, so expect problems.