forked from OpenLightingProject/ola
/
README.mingw32
70 lines (51 loc) · 2.41 KB
/
README.mingw32
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
70
!!! The Windows port of OLA is work-in-progress !!!
==================
Basic Requirements
==================
To build OLA on Windows with MinGW, you need an up-to-date installation. The MinGW project provides a package manager (MinGW Installation Manager, available at http://sourceforge.net/projects/mingw/files/Installer/).
You need to select:
- mingw-developer-toolkit
- msys-base
- msys-coreutils
- msys-wget
!!! TODO: Check and update the list above !!!
Open a MSYS shell an edit ~/.bashrc. Add the following lines:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export CPPFLAGS="-I/usr/local/include"
export LDFLAGS="-L/usr/local/lib"
In addition, edit ~/.profile and add
[ -f ~/.bashrc ] && . ~/.bashrc
==============================
Additional tools and libraries
==============================
pkg-config
----------
- Download pkg-config-lite from http://sourceforge.net/projects/pkgconfiglite/files/
- Extract to MinGW directory
msys-git
--------
- Download msysgit from https://code.google.com/p/msysgit/downloads/list
- Install and make sure to select "Check-out as is, commit UNIX-style"
libuuid
-------
- Download and extract the latest libuuid tarball from https://code.google.com/p/gnome-build-stage-1/downloads/list
- Configure, compile and install it using the MinGW MSYS shell
protobuf
--------
- Download and extract the latest protobuf tarball from https://code.google.com/p/protobuf/downloads/list
- Configure, compile and install it using the MinGW MSYS shell
cppunit
-------
- Download and extract the latest cppunit tarball from http://sourceforge.net/projects/cppunit/files/cppunit/
- Configure, compile and install it using the MinGW MSYS shell
============
Building OLA
============
* cd ~/your/development/directory
* git clone https://github.com/OpenLightingProject/ola.git ola
* cd ola
* autoreconf -i -f
* ./configure --disable-doxygen-doc --disable-examples --disable-http --disable-libftdi --disable-libusb --disable-osc --disable-root-check --disable-slp --disable-artnet --disable-dmx4linux --disable-dummy --disable-e131 --disable-espnet --disable-ftdidmx --disable-karate --disable-kinet --disable-milinst --disable-opendmx --disable-osc --disable-pathport --disable-renard --disable-sandnet --disable-shownet --disable-spi --disable-stageprofi --disable-usbpro --disable-usbdmx
* make
!!! TODO: Fix the minimal build described above !!!
!!! TODO: Continue porting to reduce the number of disabled features !!!