1 This library provides support for the Pulse-Eight USB-CEC adapter.
3 ===============================================================================
5 ===============================================================================
7 libCEC needs the following dependencies in order to work correctly:
9 * cdc-acm support compiled into the kernel or available as module
10 * liblockdev 1.0 or later
12 To compile libCEC on Linux, you'll need the following dependencies:
13 * autoconf 2.13 or later
14 * automake 1.11 or later
17 * udev development headers v151 or later
19 * liblockdev 1.0 development headers
21 To compile, execute the following commands:
27 ===============================================================================
29 ===============================================================================
31 To compile libCEC on OS-X, you'll need the following dependencies:
32 * autoconf 2.13 or later
33 * automake 1.11 or later
35 * xcode 3.2.6 or later
37 To compile, execute the following commands (TODO: please verify):
43 # Note: You may need to copy pkg.m4 to your m4 sources directory
45 ===============================================================================
47 ===============================================================================
49 To compile libCEC on Windows, you'll need Visual C++ 2010 or Visual Studio 2010
50 The installer needs the Windows DDK (Driver Development Kit) and Nullsoft's
53 To compile LibCecSharp on Windows, you'll need Visual C++ 2008 or Visual Studio
54 2008, because it is compiled against .NET 2.0.
56 To compile libCEC, follow these instructions:
57 * open /project/libcec.sln with Visual C++ 2010 or Visual Studio 2010.
60 To build an installer on Windows:
61 * download and install NSIS.
62 * go to /project and execute create-installer.bat to create the installer.
63 * the installer is stored as /build/libCEC-installer.exe
65 You will need both Visual Studio 2008 and Visual Studio 2010 to build the
66 installer from the command line. To build with Visual C++ 2008 and 2010,
67 you will need to manually build libcec with Visual C++ 2010 and then
68 build LibCecSharp.sln with Visual Studio 2008. See create-installer.bat
69 for the required steps.
71 ===============================================================================
72 === Debugging / Testing ===
73 ===============================================================================
75 We provide a test client, named cec-client, to debug the device.
76 To check whether the device can be detected, execute the following command:
79 "cec-client -h" shows a list of commands and options that are available.
81 ===============================================================================
83 ===============================================================================
85 We provide a C, C++ and .NET CLR interface to the adapter.
88 * the API can be found in /include/cec.h
89 * an example implementation can be found in /src/testclient/main.cpp
92 * the API can be found in /include/cecc.h
95 * add a reference to LibCecSharp.dll
96 * an example can be found in \src\CecSharpTester\CecSharpClient.cs
98 ===============================================================================
99 === Developers Agreement ===
100 ===============================================================================
102 If you wish to contribute to this project, you must first sign our contributors
103 agreement. Please see http://www.pulse-eight.net/contributors for more