forked from wahjam/wahjam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
69 lines (46 loc) · 2.04 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Wahjam client and server (http://wahjam.org/)
---------------------------------------------
This software allows musicians to play music together over the internet. It is
compatible with and based on NINJAM (http://ninjam.com/).
This code is licensed GPL v2 or later:
http://www.gnu.org/licenses/gpl-2.0.html
Source tree layout
------------------
common/ Core code
qtclient/ GUI client using Qt framework
server/ Server
WDL/ Cockos common library, see www.cockos.com/wdl/
How to build the Qt client
--------------------------
Install the Qt5 cross-platform application and UI toolkit from http://qt.nokia.com/.
Install Ogg and Vorbis audio codec libraries from http://xiph.org/.
Then run the following commands:
qmake
make
On Windows the recommended build environment for libogg and libvorbis is MinGW
and MSYS from http://www.mingw.org/. Build libogg and libvorbis inside MSYS,
then use the Qt build environment to compile qtclient. You may need to add the
MSYS include/ and lib/ paths as QMAKE_CXXFLAGS -I and LIBS -L flags in
qtclient/qtclient.pro.
Cross-compiling the Qt client for Windows
-----------------------------------------
The MinGW compiler can be used as a cross-compiler to build Windows executables
from a Linux host. This allows us to set up a Linux build server capable of
building Windows executables.
The mxe project provides a cross-compiler and many popular libraries, including
Wahjam's dependencies on ogg, vorbis, the Qt framework, and PortAudio.
1. Clone mxe:
git clone https://github.com/mxe/mxe.git
1. Build the cross-compiler and dependencies:
cd mxe
make gcc ogg vorbis qt5 portaudio portmidi
1. If you encounter any build errors try reducing optional dependencies.
For example, try disabling SQL drivers and DBUS on the ./configure line in
mxe/src/qt.mk.
NINJAM fork information:
The original source trees were taken from http://www.ninjam.com/. The files
were:
ninjam_winclient_0.06.zip
ninjam_osxclient_0.02a.tar.gz
cclient_src_v0.01a.tar.gz
ninjam_server_0.06.tar.gz