APatch icon indicating copy to clipboard operation
APatch copied to clipboard

在编译bootimgtools时候缺少很多依赖

Open thouger opened this issue 3 years ago • 3 comments

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

thouger avatar Aug 22 '23 04:08 thouger

我修改了一下午,还是改不动了,太多错误了 1.log

thouger avatar Aug 22 '23 09:08 thouger

+1,非常多的错误

opencaw avatar Aug 25 '23 07:08 opencaw

文档很久前写的,刚刚更新,bootimgtools 代码是从 magisk 改过来的,是为了解包 boot.img,暂时没有做过太多的适配。直接用app吧,或者用 magisk 解包,

bmax121 avatar Aug 26 '23 23:08 bmax121