Browse Source

Merge pull request #271 from kmatheussen/master

Fix mingw compilation
tags/v1.9.12
Filipe Coelho GitHub 7 years ago
parent
commit
2c57685ccc
2 changed files with 15 additions and 0 deletions
  1. +11
    -0
      README
  2. +4
    -0
      common/jack/systemdeps.h

+ 11
- 0
README View File

@@ -106,6 +106,17 @@ Windows version

The published version uses named event for server/client synchronization. Named pipes are used for server/client communications. A PortAudio (V19) based driver is used. It allows to access either MME, DirectSound or ASIO supported cards.


To cross compile using mingw, do the following in the top folder:

ARCH=x86_64-w64-mingw32.shared # e.g.

PKGCONFIG=$ARCH-pkg-config CC=$ARCH-gcc CXX=$ARCH-g++ ./waf configure --platform=win32

PKGCONFIG=$ARCH-pkg-config CC=$ARCH-gcc CXX=$ARCH-g++ ./waf build -v



The binary elements are :

- jackd.exe : the JACK server


+ 4
- 0
common/jack/systemdeps.h View File

@@ -60,6 +60,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(GNU_WIN32)

#ifdef __MINGW32__
# include <winsock2.h> // mingw gives warning if we include windows.h before winsock2.h
#endif

#include <windows.h>

#ifdef _MSC_VER /* Microsoft compiler */


Loading…
Cancel
Save