Difference between revisions of "Installation MSYS2"

From GNUstepWiki
Jump to navigation Jump to search
Line 13: Line 13:
 
Essential base libraries, headers included:
 
Essential base libraries, headers included:
 
<code>
 
<code>
msys/libxslt-devel 1.1.34-1 (development) [installed]
+
msys/libxslt-devel 1.1.34-1 (development) [installed]
msys/libxslt 1.1.34-1 (libraries) [installed]
+
msys/libxslt 1.1.34-1 (libraries) [installed]
mingw64/mingw-w64-x86_64-libxslt 1.1.34-2 [installed]
+
mingw64/mingw-w64-x86_64-libxslt 1.1.34-2 [installed]
 
 
msys/libffi 3.2.1-3 (libraries) [installed]
 
mingw64/mingw-w64-x86_64-libffi 3.2.1-4 [installed]
 
msys/libffi-devel 3.2.1-3 (development) [installed]
 
  
 +
msys/libffi 3.2.1-3 (libraries) [installed]
 +
mingw64/mingw-w64-x86_64-libffi 3.2.1-4 [installed]
 +
msys/libffi-devel 3.2.1-3 (development) [installed]
  
 +
msys/libxml2-devel 2.9.10-2 (development) [installed]
 +
msys/libxml2 2.9.10-2 (libraries) [installed]
 +
mingw64/mingw-w64-x86_64-libxml2 2.9.10-3 [installed]
 
</code>
 
</code>
  

Revision as of 22:16, 10 March 2020

Packages needed

Be very sure to install the packages correct for your architecture. The Guide refers to intel-64bit. Using the same procedure with the respective packages for 32bit failed currently. One package is msys, the other for mingw64

Be sure to work in the correct shell: for the 64bit example, launch and work inside MSYS2 MinGW 64-bit

Essential tools: msys/make 4.3-1 (base-devel) [installed]

Essential base libraries, headers included:

msys/libxslt-devel 1.1.34-1 (development) [installed]
msys/libxslt 1.1.34-1 (libraries) [installed]
mingw64/mingw-w64-x86_64-libxslt 1.1.34-2 [installed]
msys/libffi 3.2.1-3 (libraries) [installed]
mingw64/mingw-w64-x86_64-libffi 3.2.1-4 [installed]
msys/libffi-devel 3.2.1-3 (development) [installed]
msys/libxml2-devel 2.9.10-2 (development) [installed]
msys/libxml2 2.9.10-2 (libraries) [installed]
mingw64/mingw-w64-x86_64-libxml2 2.9.10-3 [installed]

For GCC

mingw64/mingw-w64-x86_64-gcc 9.2.0-2 (mingw-w64-x86_64-toolchain) mingw64/mingw-w64-x86_64-gcc-objc 9.2.0-2 (mingw-w64-x86_64-toolchain) [installed]

msys/gcc-libs 9.1.0-2 (base) [installed] mingw32/mingw-w64-i686-gcc-libs 9.2.0-2 (mingw-w64-i686-toolchain) [installed]

For Clang + libobjc2

TBD

Patches needed

shlwapi.h Fix

For a successful build, MSYS2 headers need to be patched. Please apply following proposed fix:


Build instructions

Make

Base

Gui