在编译bootimgtools时候缺少很多依赖
thouger opened this issue · 3 comments
thouger commented
cd imgtools mkdir build; cd build cmake .. make
在最后make的时候出现很多出错,我尝试修改了一下,比如
android error: ‘strlen’ was not declared in this scope
我将#include <string>
改成#include <cstring>
,
error: ‘sDIR’ does not name a type; did you mean ‘DIR’?
,我改成#include <dirent.h>,但是问题太多了,要改很多东西
make.log
abbuaus commented
+1,非常多的错误
bmax121 commented
文档很久前写的,刚刚更新,bootimgtools 代码是从 magisk 改过来的,是为了解包 boot.img,暂时没有做过太多的适配。直接用app吧,或者用 magisk 解包,