build apv

APV源码编译指南

1、获取源码 hg clone https://code.google.com/p/apv/ (最新的版本,需要使用比较新的NDK,比如r9c,r6无法编译x86,可以编译arm)
2、配置好NDK,进入cygwin,cd到源码目录,一直cd到scripts
3、运行../scripts/build_native.sh,进行building
说明:APV有两个版本,一个是pro,一个是lite,默认是lite。如果要使用pro,可以使用python2.7(必须使用2.7或者以上版本) "python2.7 ./scripts/pjpp.py --configuration pro" 可以使用python2.7 ./scripts/pjpp.py --configuration lite切换到pro。pjpp.py脚本其实就是把注释掉的pro代码放开


解释File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/usr/lib64/python3.6/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/usr/lib64/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/usr/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 78, in run _build_ext.run(self) File "/usr/lib64/python3.6/distutils/command/build_ext.py", line 339, in run self.build_extensions() File "/tmp/pip-build-q6wy0apv/pillow/setup.py", line 790, in build_extensions raise RequiredDependencyException(f) __main__.RequiredDependencyException: jpeg During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-q6wy0apv/pillow/setup.py", line 1037, in <module> raise RequiredDependencyException(msg) __main__.RequiredDependencyException: The headers or library files could not be found for jpeg, a required dependency when compiling Pillow from source. Please see the install instructions at: https://pillow.readthedocs.io/en/latest/installation.html ---------------------------------------- Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-q6wy0apv/pillow/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-h87aa0cq-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-q6wy0apv/pillow/
最新发布
06-28
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值