如何仅使用gcc在Windows中构建libpng和zlib(适用于jabcode)?

时间:2019-06-02 01:47:12

标签: zlib libpng

我试图通过在src / jabcodeWriter中运行make命令来构建JAB代码编写器,但是它一直弹出如下错误:

C:\MinGW\bin/ld.exe: ../jabcode/build/libjabcode.a(image.o):image.c:(.text+0x75): undefined reference to `png_image_write_to_file'
C:\MinGW\bin/ld.exe: ../jabcode/build/libjabcode.a(image.o):image.c:(.text+0xf0): undefined reference to `png_image_begin_read_from_file'
C:\MinGW\bin/ld.exe: ../jabcode/build/libjabcode.a(image.o):image.c:(.text+0x173): undefined reference to `png_image_finish_read'
C:\MinGW\bin/ld.exe: ../jabcode/build/libjabcode.a(image.o):image.c:(.text+0x1e8): undefined reference to `png_image_free'
collect2.exe: error: ld returned 1 exit status
make: *** [bin/jabcodeWriter] Error 1

也请不要向我推荐使用Microsoft Visual Studio之类的东西,因为下载它需要很长时间。

0 个答案:

没有答案