0
私のCアプリケーションでの参照の追加に問題がありました。私はデータ圧縮器project.Iで "libiconv"へのリンカ参照を追加することができません。 "libiconv"ライブラリをダウンロードしましたが、コンパイル時にエラーを表示する参照を混同します。私はDev C++を使って圧縮アプリケーションを開発しています。ここ#include <iconv.h>、 `libiconv_open '、` libiconv'、 `libiconv_close 'の定義されていない参照
は、コンパイルログです:
ビルのMakefile: "C:\のDev-CPP \例eottest \ Makefile.win \"
Executing make...
make.exe -f "C:\Dev-Cpp\Examples\eottest\Makefile.win" all
gcc.exe eot.o libeot.o properties.o -o "Project1.exe" -L"C:/Dev-Cpp/lib"
libeot.o(.text+0x19):libeot.c: undefined reference to `libiconv_open'
libeot.o(.text+0x36):libeot.c: undefined reference to `libiconv_close'
libeot.o(.text+0x67):libeot.c: undefined reference to `libiconv'
collect2: ld returned 1 exit status`
私はzipファイルのIを抽出した後...... http://ftp.gnu.org/gnu/libiconv/libiconv-1.13.1.tar.gzからライブラリ 'libiconvを' ダウンロードしました"libiconv"フォルダは、多くのサブフォルダで構成されています。どのライブラリを参照すべきか混乱しています。 – MikMark