How to fix Windows crashes
Note. These instructions remain valid for the development version linked to the
release-2.x.y Pidgin branch. You may need to view a different version of this page in order to create a published version in Pidgin. Alternatively, you may need commands for the 3.0.0 branch.
Set Up A New Build Environment
- Install the Cygwin Bash shell.Also be sure to install bash, bzip2, ca-certificates, coreutils, gawk, gnupg, grep, gzip, libiconv, make, patch, sed, unzip, tar rest, wget and zip (many of these are selected by default, those in bold not highlighted). You can use “MSYS” instead of Cygwin, but if you do, you may need to tweak all the instructions.
You can also use a third-party “Pidgin Windev” script set that automatically creates the technology environment. This tool works for both Cygwin and MSYS.
- The following statements were written with the prediction that the original pidgin is likely to be mined or mined before
$PIDGIN_DEV_ROOT/pidgin-and so on. , you install all related Pidgins build dependencies in
$PIDGIN_DEV_ROOT/win32-dev(where step is the pidgin root cause and
win32-devmust be enabled at the same level).Some users will benefit from instructions on how to set up their build environment.
You don’t need to successfully set the environment variable described as
PIDGIN_DEV_ROOT, it’s just used as a placeholder in this article.
Note. You may not want to use a
$PIDGIN_DEV_ROOT path containing spaces, as this may lead to unnecessary complications.
People sometimes get confused about the directory structure, so in general here is an example of the structure after all dependencies are installed normally (
$PIDGIN_DEV_ROOT is written as
c:devel pidgin-devel For example ):
c:develpidgin-devel(Next is the source tree pedigree generated from config.h.mingw and libpurple.)c:develpidgin-develpidgin-
c:develpidgin-develwin32-dev(If the following file definitely exists, then in all likelihood your structure is correct.)c:develpidgin-develwin32-devgtk_2_0-2.14includelibintl.h
- Install the “GCC mingw version 4.7.2” packages from the old MinGW website according to their instructions.
- so that we can redistribute any libssp source, since we are redistributing a new binary
- Create a
libssp-src.tar.gzfile containing the location and licenses of libssp:
CD $PIDGIN_DEV_ROOT/win32-dev/mingw-4.7.2 mkdir libsspsrctmp tar -C -xf libsspsrctmp gcc-4.7.2-1-mingw32-src/gcc-4.7.2.tar.bz2 gcc-4.7.2/COPYING3 gcc-4.7.2/COPYING.RUNTIME gcc-4.7.2/libssp --strip-components=1 Tar -C libssprctmp -czf bin/libssp-src.tar.gz . rm -r Pidgins libsspsrctmp