View Single Post
Old 15th September 2015, 14:06   #3  |  Link
jpsdr
Registered User
 
Join Date: Oct 2002
Location: France
Posts: 2,316
PART 1 : Building using MSYS2

Install of MSYS2

First, you have to install msys2, get the version you want (x86 and/or x64) here.
Once installed, if leave to default, the installation directory will be C:\msys32 or C:\msys64, according you've installed the x86 or x64 version (or both).
Whatever it is, i'll call it from now "msys2 dir".
You'll also have 3 icons in "MSYS2 32bit" (or "MSYS2 64bit") menu. The msys2 shell, one mingw32 shell to build for x86 and one mingw64 shell to build for x64.

You have to install the necessary packages to be able to build things.
Start the msys2 shell, and inside use the following commands :

Code:
pacman -Sy
pacman -S --needed make autoconf autogen diffutils git p7zip patch perl python2 ruby subversion yasm wget mingw-w64-i686-gcc mingw-w64-i686-gettext mingw-w64-i686-crt-git mingw-w64-i686-libtool mingw-w64-i686-libjpeg-turbo mingw-w64-i686-libpng mingw-w64-i686-libxml2 mingw-w64-i686-tools-git mingw-w64-i686-glib2 pkg-config mingw-w64-i686-cmake nasm
pacman -S --needed mingw-w64-x86_64-gcc mingw-w64-x86_64-gettext mingw-w64-x86_64-crt-git mingw-w64-x86_64-libtool mingw-w64-x86_64-libjpeg-turbo mingw-w64-x86_64-libpng mingw-w64-x86_64-libxml2 mingw-w64-x86_64-tools-git mingw-w64-x86_64-glib2 mingw-w64-x86_64-cmake
Close the shell with "exit".
Now, tools have been installed, now you should proceed with the update process, to be sure to have everything up to date.

Note : If you've installed both the x86 and x64 version of msys2, you have to do this for both versions.

Last edited by jpsdr; 2nd April 2017 at 10:12.
jpsdr is offline   Reply With Quote