**搭建这个环境主要是由于需要在Linux下使用tinyalsa做些音频方面的处理,本人搭建过程中,让人有点头疼的可能就是最后的环境变量那块,因为刚开始还不了解,所以费了很多事才将整个环境搭建好,所以如果有需要的朋友在搭建此环境时,配置环境变量那块要注意点。
以下图片是环境搭建好后测试的指引,如果跟图片结果一样,恭喜你!最后,我的环境还是有点小问题,就是图片中的标记8,但是不影响正常的工作可以忽略,我的Linux版本的是12.04,环境的安装目录个人建议放在主环境目录下。
其中有一个包,可能网上渠道很难找而且很大,如果有人需要请私信我;
Amlogic开发环境搭建说明
Amlogic官方资料:
http://openlinux.amlogic.com/Docs/Common/How_to_build_compiled_server
1、确保下面几个工具都有,并查看版本是否匹配,没有安装的请安装:
Python 2.6 – 2.7, which you can download from python.org.
GNU Make 3.81 – 3.82, which you can download from gnu.org,
JDK 6 if you wish to build Gingerbread or newer; JDK 5 for Froyo or older. You can download both from java.sun.com.
Git 1.7 or newer. You can find it at git-scm.com.
2、安装下面两个工具否则第三步会报错:
libv4lconvert0_1.0.0-1_i386.deb (先装这个否则后面那个会安装失败)
下载地址:http://packages.debian.org/zh-cn/sid/i386/libv4lconvert0/download
libv4l-0_1.0.0-1_i386.deb
下载地址:http://packages.debian.org/sid/i386/libv4l-0/download
3、安装官网说明的一些工具包:
Installing required packages (Ubuntu 10.04 – 11.10)
You will need a 64-bit version of Ubuntu. Ubuntu 10.04 is recommended. Building using a newer version of Ubuntu is currently only experimentally supported and is not guaranteed to work on branches other than master.
sudoapt−getinstallgit−coregnupgflexbisongperfbuild−essential zipcurlzlib1g−devlibc6−devlib32ncurses5−devia32−libs x11proto−core−devlibx