X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=README;h=5c7364b19882ad5b765448ab7097e4ef45ad2179;hb=9c72728bd85e738350d8bd28fc9fd5cc26b80e1e;hp=a0ced0aa5408766a4dde602faba5e46d81ca32aa;hpb=4b215264a83c02d00e5e505af8fffda9eb6a787e;p=deb_libcec.git diff --git a/README b/README index a0ced0a..5c7364b 100644 --- a/README +++ b/README @@ -1,5 +1,8 @@ This library provides support for the Pulse-Eight USB-CEC adapter. +You can find a list of frequently asked questions on the following page: + http://libcec.pulse-eight.com/faq + =============================================================================== === Linux === =============================================================================== @@ -12,15 +15,18 @@ libCEC needs the following dependencies in order to work correctly: To compile libCEC on Linux, you'll need the following dependencies: * autoconf 2.13 or later * automake 1.11 or later -* pkg-config * libtool -* udev development headers v151 or later * gcc 4.2 or later * liblockdev 1.0 development headers +The following dependencies are recommended. Without them, the adapter can not +be auto-detected. +* pkg-config +* udev development headers v151 or later + To compile, execute the following commands: # autoreconf -vif -# ./configure --prefix=/usr +# ./configure # make # sudo make install @@ -36,7 +42,7 @@ To compile libCEC on OS-X, you'll need the following dependencies: To compile, execute the following commands (TODO: please verify): # autoreconf -vif -# ./configure --prefix=/usr +# ./configure # make # sudo make install @@ -68,6 +74,31 @@ you will need to manually build libcec with Visual C++ 2010 and then build LibCecSharp.sln with Visual Studio 2008. See create-installer.bat for the required steps. +=============================================================================== + === Raspberry Pi === +=============================================================================== + +We've included a script that builds libCEC with support for the Raspberry Pi +in /project/RPi/build.sh. This script pulls in the latest toolchain and +firmware, builds the necessary dependencies, and finally builds libCEC. The +result will be a softfp build. + +To build libCEc on your development machine, follow these instructions: +* run '/project/RPi/build.sh /desired/destination/path/for/binaries' +* run 'make install' + +To build libCEC on the Pi itself, just follow the instructions for Linux. +The configure script automatically checks whether the required headers and +libraries can be found. + +To specify the path of the Raspberry Pi's development headers, use the +following option for 'configure': +--with-rpi-include-path="/path/to/opt/vc/include" + +To specify the path of the Raspberry Pi's libraries, use the following option +for 'configure': +--with-rpi-lib-path="/path/to/libbcm_host.so" + =============================================================================== === Debugging / Testing === ===============================================================================