Difference between revisions of "Compiling FileZilla 3 under Windows"

From FileZilla Wiki
Jump to navigationJump to search
Line 14: Line 14:
  
 
=Installing the compiler toolchain=
 
=Installing the compiler toolchain=
 
==  Tools and compiler ==
 
 
== Setting up the environment==
 
  
 
=Building dependencies=
 
=Building dependencies=

Revision as of 02:13, 12 October 2023

This documentation explains how to setup a build environment for FileZilla 3 and how to compile it under Windows using msys2. Msys2 is a cygwin environment. These instructions require you to run a 64bit Windows.

It will take some time to get everything working, but you will be able to use the build environment for other programs too.

For complete MSYS2 system and all needed dependencies installed, you will need 7GiB free space on your disk.

Note to wiki contributors: Do not change version numbers on your own. The build process is somewhat fragile and does break if you change things

Installing the MSYS2 environment

Download the 64bit MSYS2 installer and install it in a convenient location: msys2-x86_64-20220118.exe

Installing the compiler toolchain

Building dependencies

Building GMP

Building Nettle

Building zlib

Building GnuTLS

Building SQLite

Building wxWidgets

Building libfilezilla

Building Filezilla

Download FileZilla

Building FileZilla

Stripping debug symbols

Building the installer

Installing NSIS

Compile the installer script

Troubleshooting