-
Notifications
You must be signed in to change notification settings - Fork 10
/
README
35 lines (29 loc) · 1.19 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
ohMediaPlayer provides a software av.openhome media renderer.
See http://wiki.openhome.org/wiki/Av:Developer for an overview of the network services involved.
The code can be built for Windows, Linux or some embedded platforms.
System requirements:
- Python (v2.7)
- MSVC (Windows)
- GCC (Linux / embedded)
- clang (Mac)
- ohdevtools (source)
- ohNet (either binary or source)
- others (binary)
Before building, clone ohdevtools ([email protected]:openhome/ohdevtools.git) then run
'go fetch [--debug]'.
If you want to debug into ohNet classes, clone ohNet (https://github.com/openhome/ohNet)
and build it as described in its README.
To build ohMediaPlayer:
cd ohMediaPlayer
./waf configure --dest-platform=... --ohnet=... [--debug]
./waf build
where:
--dest-platform is one of Windows-x86, Linux-x86, Linux-ppc32, Core-ppc32, Core-armv6
--ohnet is optional and points to either your ohNet source directory or the fetched binaries
(under your ohMediaPlayer/dependencies directory)
--debug is optional and only required for debug builds.
The default build is ndebug (aka release)
To run unit tests:
./waf test
or
./dependencies/AnyPlatform/testharness/Test -m oncommit.test -p [platform name]