Building for 64 bit windows and FireFox 64 bit

*nix specific usage questions
jimmyjinkles
New Cone
New Cone
Posts: 3
Joined: 04 Oct 2016 22:00

Building for 64 bit windows and FireFox 64 bit

Postby jimmyjinkles » 04 Oct 2016 22:06

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Building for 64 bit windows and FireFox 64 bit

Postby Rémi Denis-Courmont » 05 Oct 2016 13:04

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 11 guests