Install: out/host/linux-x86/bin/edify
host C++: etc1tool <= development/tools/etc1tool/etc1tool.cpp
development/tools/etc1tool/etc1tool.cpp:22:23: error: ETC1/etc1.h: 没有那个文件或目录
development/tools/etc1tool/etc1tool.cpp:136: error: ‘etc1_byte’ has not been declared
development/tools/etc1tool/etc1tool.cpp:137: error: ‘etc1_uint32’ has not been declared
development/tools/etc1tool/etc1tool.cpp:137: error: ‘etc1_uint32’ has not been declared
development/tools/etc1tool/etc1tool.cpp: In function ‘int read_PNG_File(const char*, int**, int*, int*)’:
development/tools/etc1tool/etc1tool.cpp:146: error: ‘etc1_byte’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:146: error: ‘pSourceImage’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:202: error: expected type-specifier before ‘etc1_byte’
development/tools/etc1tool/etc1tool.cpp:202: error: expected ‘;’ before ‘etc1_byte’
development/tools/etc1tool/etc1tool.cpp:208: error: ‘etc1_uint32’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:208: error: expected ‘;’ before ‘y’
development/tools/etc1tool/etc1tool.cpp:208: error: ‘y’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:219: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
development/tools/etc1tool/etc1tool.cpp: At global scope:
development/tools/etc1tool/etc1tool.cpp:234: error: ‘etc1_byte’ has not been declared
development/tools/etc1tool/etc1tool.cpp:235: error: ‘etc1_uint32’ has not been declared
development/tools/etc1tool/etc1tool.cpp:235: error: ‘etc1_uint32’ has not been declared
development/tools/etc1tool/etc1tool.cpp: In function ‘int readPKMFile(const char*, int**, int*, int*)’:
development/tools/etc1tool/etc1tool.cpp:238: error: ‘etc1_byte’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:238: error: expected ‘;’ before ‘header’
development/tools/etc1tool/etc1tool.cpp:253: error: ‘header’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:259: error: ‘header’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:259: error: ‘etc1_pkm_is_valid’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:264: error: ‘header’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:264: error: ‘etc1_pkm_get_width’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:265: error: ‘etc1_pkm_get_height’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:266: error: ‘etc1_get_encoded_data_size’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:290: error: ‘etc1_decode_image’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:294: error: cannot convert ‘png_byte*’ to ‘int*’ in assignment
development/tools/etc1tool/etc1tool.cpp: In function ‘int encode(const char*, const char*, bool, const char*)’:
development/tools/etc1tool/etc1tool.cpp:315: error: ‘etc1_uint32’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:315: error: expected ‘;’ before ‘width’
development/tools/etc1tool/etc1tool.cpp:316: error: expected ‘;’ before ‘height’
development/tools/etc1tool/etc1tool.cpp:317: error: expected ‘;’ before ‘encodedSize’
development/tools/etc1tool/etc1tool.cpp:319: error: ‘etc1_byte’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:319: error: ‘pSourceImage’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:320: error: ‘pEncodedData’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:321: error: ‘pDiffImage’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:323: error: ‘width’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:323: error: ‘height’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:327: error: ‘encodedSize’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:327: error: ‘width’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:327: error: ‘height’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:327: error: ‘etc1_get_encoded_data_size’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:328: error: expected type-specifier before ‘etc1_byte’
development/tools/etc1tool/etc1tool.cpp:328: error: expected ‘;’ before ‘etc1_byte’
development/tools/etc1tool/etc1tool.cpp:335: error: ‘etc1_encode_image’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:343: error: expected ‘;’ before ‘header’
development/tools/etc1tool/etc1tool.cpp:344: error: ‘header’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:344: error: ‘etc1_pkm_format_header’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:364: error: expected ‘;’ before ‘outWidth’
development/tools/etc1tool/etc1tool.cpp:365: error: expected ‘;’ before ‘outHeight’
development/tools/etc1tool/etc1tool.cpp:366: error: ‘outWidth’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:366: error: ‘outHeight’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:369: error: ‘outWidth’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:369: error: ‘outHeight’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:374: error: expected initializer before ‘*’ token
development/tools/etc1tool/etc1tool.cpp:375: error: ‘pDest’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:376: error: expected ‘;’ before ‘size’
development/tools/etc1tool/etc1tool.cpp:377: error: expected ‘;’ before ‘i’
development/tools/etc1tool/etc1tool.cpp:377: error: ‘i’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:377: error: ‘size’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:378: error: ‘pSrc’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:388: error: ‘outWidth’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:388: error: ‘outHeight’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:395: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
development/tools/etc1tool/etc1tool.cpp:396: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
development/tools/etc1tool/etc1tool.cpp:397: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
development/tools/etc1tool/etc1tool.cpp: In function ‘int decode(const char*, const char*)’:
development/tools/etc1tool/etc1tool.cpp:456: error: ‘etc1_uint32’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:456: error: expected ‘;’ before ‘width’
development/tools/etc1tool/etc1tool.cpp:457: error: expected ‘;’ before ‘height’
development/tools/etc1tool/etc1tool.cpp:459: error: ‘width’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:459: error: ‘height’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:463: error: ‘width’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp:463: error: ‘height’ was not declared in this scope
development/tools/etc1tool/etc1tool.cpp: In function ‘void multipleEncodeDecodeCheck(bool*)’:
development/tools/etc1tool/etc1tool.cpp:477: warning: deprecated conversion from string constant to ‘char*’
development/tools/etc1tool/etc1tool.cpp: In function ‘int main(int, char**)’:
development/tools/etc1tool/etc1tool.cpp:502: warning: deprecated conversion from string constant to ‘char*’
development/tools/etc1tool/etc1tool.cpp:505: warning: deprecated conversion from string constant to ‘char*’
development/tools/etc1tool/etc1tool.cpp:523: warning: deprecated conversion from string constant to ‘char*’
development/tools/etc1tool/etc1tool.cpp:527: warning: deprecated conversion from string constant to ‘char*’
development/tools/etc1tool/etc1tool.cpp:533: warning: deprecated conversion from string constant to ‘char*’
development/tools/etc1tool/etc1tool.cpp:538: warning: deprecated conversion from string constant to ‘char*’
development/tools/etc1tool/etc1tool.cpp:545: warning: deprecated conversion from string constant to ‘char*’
development/tools/etc1tool/etc1tool.cpp:556: warning: deprecated conversion from string constant to ‘char*’
development/tools/etc1tool/etc1tool.cpp:560: warning: deprecated conversion from string constant to ‘char*’
development/tools/etc1tool/etc1tool.cpp:569: warning: deprecated conversion from string constant to ‘char*’
make: *** [out/host/linux-x86/obj/EXECUTABLES/etc1tool_intermediates/etc1tool.o] 错误 1
如上,折腾了一周了,还是搞不好这问题 ,请高手帮忙
编译hero ROM的错误
编译打包和其他
前往
- 公告/注意事项
- ↳ 新闻和通知
- ↳ 软件推荐
- 系统安装
- ↳ 教学和常见问答
- ↳ 系统安装和升级
- ↳ 启动和引导
- ↳ 网卡无线拨号
- ↳ 硬件与内核
- ↳ 笔记本及便携设备
- ↳ Ubuntu衍生版
- ↳ 其他类Unix OS发行版
- ↳ Debian发行版
- 配置美化
- ↳ 中文显示和输入法
- ↳ 个人配置文件存放点
- ↳ 软件文档翻译
- ↳ 窗口管理器及美化
- ↳ 桌面展示
- 软件使用
- ↳ 办公、图像、机械电子设计等
- ↳ Vim和Emacs
- ↳ 开源模板库
- ↳ 互联网相关软件
- ↳ 影音多媒体
- ↳ 游戏和模拟器
- ↳ 虚拟机和虚拟化
- ↳ Wine及其分支
- ↳ 其它类软件
- 服务器管理
- ↳ 服务器运维
- ↳ 云计算和容器(K8S/KVM/Docker/WSL等)
- ↳ Ubuntu VPS
- 程序设计与开发
- ↳ Shell脚本
- ↳ 软件/网站开发
- ↳ 内核及嵌入式开发
- ↳ Ubuntu编译和打包
- ↳ 开源小工具
- ↳ 挑战任务
- 感想与交流
- ↳ 深度PK版
- ↳ Ubuntu故事和感慨
- ↳ 同城交流
- ↳ 校园社团
- ↳ 港澳台校区
- ↳ 国外校区
- 站务区
- ↳ 论坛管理
- ↳ Ubuntu中文网上商店