Error:ImageIOpng.cpp:(.text+0x5b9): undefined reference to `png_create_write_struct'等
来源:互联网 发布:西门子plc编程培训 编辑:程序博客网 时间:2024/05/16 11:02
编译MRF-benchmark的时候,刚开始没安装libpng,直接用的代码提供/imageLib/lpng文件夹里面的libpng库,把它拷到了/imageLib/下面,后面自己又重新安装了zlib和libpng,导致在make的时候链接libpng的时候程序不知道该链接哪一个,所以出现了以下的错误:
../imageLib/libImg.a(ImageIOpng.o): In function `WriteFilePNG(CImageOf<unsigned
char>, char const*)':
ImageIOpng.cpp:(.text+0x5b9): undefined reference to `png_create_write_struct'
ImageIOpng.cpp:(.text+0x5ce): undefined reference to `png_create_info_struct'
ImageIOpng.cpp:(.text+0x5ec): undefined reference to `png_init_io'
ImageIOpng.cpp:(.text+0x652): undefined reference to `png_set_IHDR'
ImageIOpng.cpp:(.text+0x668): undefined reference to `png_write_info'
ImageIOpng.cpp:(.text+0x675): undefined reference to `png_set_bgr'
ImageIOpng.cpp:(.text+0x6e1): undefined reference to `png_write_image'
ImageIOpng.cpp:(.text+0x6f7): undefined reference to `png_write_end'
ImageIOpng.cpp:(.text+0x70b): undefined reference to `png_destroy_write_struct'
- Error:ImageIOpng.cpp:(.text+0x5b9): undefined reference to `png_create_write_struct'等
- undefined reference to `png_create_write_struct'问题解决
- undefined reference to `png_create_write_struct'问题解决
- undefined reference to `png_create_write_struct'问题解决
- 解决undefined reference to `png_create_write_struct'等的问题
- test.cpp:(.text+0x66): undefined reference to `event_init'
- output.cpp:(.text+0x3a29): undefined reference to `std::basic_ostream<char, std::char_traits<char>
- mainwindow.cpp:(.text+0x91b2): undefined reference to `endpoint_se(QVector<double>, int,............
- 关于demo.cpp:(.text.startup+0x8f): undefined reference to `vtable for SlotObject' ,问题探究
- jni/../../Classes/AppDelegate.cpp:29: error: undefined reference to
- (.text+0xb3a): undefined reference to `clock_gettime'
- (.text+0x11): undefined reference to `mysql_init'
- (.text+0x168): undefined reference to `uart0_init'
- (.text+0x159d):undefined reference to `va_start'
- 编译linux 内核时:decompress.c:(.text+0x25c4): undefined reference to `error'的解决办法
- _start:crtbrand.c(.text+0x78): error: undefined reference to 'main'
- crtbegin_dynamic.o: in function _start:crtbrand.c(.text+0x78): error: undefined reference to 'main
- Qt4.8.5编译qvfb出现undefined reference to `png_create_write_struct'问题解决办法
- Unity代码混淆方案
- 无源晶振和有源晶振输出波形
- 注解@PostConstruct与@PreDestroy
- Android中设置中文粗体的方法
- 日期时间比较
- Error:ImageIOpng.cpp:(.text+0x5b9): undefined reference to `png_create_write_struct'等
- 在发布网站后,出现“未将对象引用设置到对象的实例”的错误时,是什么原因?
- 程序员疫苗:代码注入
- 基于MapReduce实现并行化K-means算法
- apache+tomcat 负载均衡+session绑定 配置集群环境
- java.lang.IllegalArgumentException: Positional parameter does not exist: 1 in query解决
- Class method
- 背包问题九讲之二 完全背包问题
- C# Winfrom 默认输入法的设置