[問題] 使用zlib的library

看板C_and_CPP (C/C++)作者 (reiasu)時間15年前 (2011/05/27 12:10), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
gcc in cygwin to compile *.c 其中lib是static lib, version是125, library name是libz.a已經rename過 compile過程是如下 gcc -o mmm mmm.c -static -I./zlib/include -L./zlib/lib/ -lz 但是,仍舊是會有 undefined reference (zip function) 用其他方法也是不能 詢問看看是否有其他解法 感謝。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 60.248.201.66

05/27 12:57, , 1F
懂了= =library用錯
05/27 12:57, 1F
文章代碼(AID): #1DtoH1XE (C_and_CPP)
文章代碼(AID): #1DtoH1XE (C_and_CPP)