updated README. closes #14
[deb_libcec.git] / README
CommitLineData
e4e13f5b
LOK
1This library provides support for the Pulse-Eight USB-CEC adapter.
2
0e8ac6a7
LOK
3===============================================================================
4 === Linux ===
5===============================================================================
6
7libCEC needs the following dependencies in order to work correctly:
8* udev v151 or later
9* cdc-acm support compiled into the kernel or available as module
10
11To compile libCEC on Linux, you'll need the following dependencies:
12* autoconf 2.13 or later
13* automake 1.11 or later
14* udev development headers v151 or later
15* gcc 4.2 or later
16
17To compile, execute the following commands:
18# autoreconf -vif
19# ./configure --prefix=/usr
20# make
21# sudo make install
22
23===============================================================================
24 === OS-X ===
25===============================================================================
26
27To compile libCEC on OS-X, you'll need the following dependencies:
28* autoconf 2.13 or later
29* automake 1.11 or later
30* xcode (TODO: version?)
31
32To compile, execute the following commands (TODO: please verify):
f5ccf647
LOK
33# autoreconf -vif
34# ./configure --prefix=/usr
35# make
36# sudo make install
abbca718 37
0e8ac6a7
LOK
38===============================================================================
39 === Windows ===
40===============================================================================
41
42To compile libCEC on Windows, you'll need Visual C++ 2010 or Visual Studio 2010
43The installer needs the Windows DDK (Driver Development Kit) and Nullsoft's
44NSIS.
45
46To compile libCEC, follow these instructions:
f5ccf647
LOK
47* open /project/libcec.sln with Visual C++ 2010 or Visual Studio 2010.
48* build the project.
e4e13f5b
LOK
49
50To build an installer on Windows:
f5ccf647
LOK
51* download and install the Windows DDK.
52* download and install NSIS.
f5ccf647
LOK
53* go to /project and execute create-installer.cmd to create the installer.
54* the installer is stored as /project/libCEC-installer.exe
abbca718 55
0e8ac6a7
LOK
56===============================================================================
57 === Debugging / Testing ===
58===============================================================================
59
60We provide a test client, named cec-client, to debug the device.
61To check whether the device can be detected, execute the following command:
62* cec-client -l
63
64"cec-client -h" shows a list of commands and options that are available.
abbca718 65
0e8ac6a7
LOK
66===============================================================================
67 === Developers ===
68===============================================================================
61f3c2ad 69
0e8ac6a7
LOK
70We provide a C, C++ and .NET CLR interface to the adapter.
71
72C++ developers:
73* the API can be found in /include/cec.h
74* an example implementation can be found in /src/testclient/main.cpp
75
76C developers:
77* the API can be found in /include/cecc.h
78
79.NET developers:
61f3c2ad 80* add a reference to LibCecSharp.dll
0e8ac6a7
LOK
81* an example can be found in \src\CecSharpTester\CecSharpClient.cs
82
83===============================================================================
84 === Developers Agreement ===
85===============================================================================
cc30d5c9 86
0e8ac6a7
LOK
87If you wish to contribute to this project, you must first sign our contributors
88agreement. Please see http://www.pulse-eight.net/contributors for more
89information.