zoukankan      html  css  js  c++  java
  • tina libpng12错误

    错误日志:

    Making all in examples
    make[6]: Entering directory `/home/etouch/tina/out/banjo-R11_pref1/compile_dir/target/libmgi-2.0.4/examples'
    /bin/bash ../libtool   --mode=link arm-openwrt-linux-muslgnueabi-gcc  -Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -fno-caller-saves -Wno-unused-result -mfloat-abi=hard  -Wformat -w -Wl,-z,relro  -D__MGI_LIB__  -L/home/etouch/tina/out/banjo-R11_pref1/staging_dir/target/usr/lib -L/home/etouch/tina/out/banjo-R11_pref1/staging_dir/target/lib -L/home/etouch/tina/prebuiluch/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/lib -znow -zrelro -lts -luapi  -o phonetest mgphone_edit.o mgphonetest.o pen.o ../src/libmgi.la  -lpthread -L/home/etouchthread -ljpeg -lpng -lm -lts -lfreetype -lz -lpng12 -lfreetype -lpthread -ljpeg -lpng
    arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -fno-caller-saves -Wno-unused-result -mfloat-abi=hard -Wformat -Werror=format-security -fstack-protec-znow -zrelro -o .libs/phonetest mgphone_edit.o mgphonetest.o pen.o  -L/home/etouch/tina/out/banjo-R11_pref1/staging_dir/target/usr/lib -L/home/etouch/tina/out/banjo-R11_pref1/staging_dir/nxi-musl/toolchain/usr/lib -L/home/etouch/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/lib ../src/.libs/libmgi.so -luapi -lminigui_ths -lts -lfreetype -lpthread -ljpeg /u
    /usr/local/lib/libpng12.so: file not recognized: File format not recognized

    死活编译不过去,是编译libmgi-2.0.4/examples时发生的错误,没修改什么东西,原因是本应该引用tina编译输出目录里面的libpng12,但是不知道什么原因,会自动的引用系统/usr/local/lib/目录下的这个库文件。

    后来实在不行,在tina的out目录找到这个库文件,把这个库文件复制到/usr/local/lib/目录下,创建了一个软连接,重新make -j1,通过了。

  • 相关阅读:
    android图片优化
    Android多线程断点下载的代码流程解析
    文件下载
    图片上传
    DomHelper
    SAX解析类:SaxHelper
    Android开发之画图的实现
    匿名内部类与equals之学习要扎实
    方法构造和方法重载之奥特曼与大boss之战
    排序之那些令人凌乱的那些小程序
  • 原文地址:https://www.cnblogs.com/hanrp/p/11352802.html
Copyright © 2011-2022 走看看