次のリンクでグスタボが提起した質問とまったく同じ状況に直面しています。また、そのリンクやその他のタグに投稿されたすべての解決策 (ライブラリ名を opus.a から libopus.a に変更する、「\」を「/」に変更するなど) を試しましたが、どれも問題を解決できませんでした。 . ライブラリ ファイルのプロパティを開くと、次のようなものが表示されます。
パス: /demo/opusfile/libopusfile.a
タイプ: ファイル (静的ライブラリ)
場所: U:\data\Jag\eclipse\wrksp\demo\opusfile\libopusfile.a
Mingw によって表示されるエラー メッセージは次のとおりです。
15:56:57 **** Incremental Build of configuration Debug for project demo ****
Info: Internal Builder is used for build
gcc -o demo.exe "src\\demo.o" -lU:/data/Jag/eclipse/wrksp/demo/opusfile/libopusfile.a
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find -lU:/data/Jag/eclipse/wrksp/demo/opusfile/libopusfile.a
collect2.exe: error: ld returned 1 exit status
collect2.exe: error: ld returned 1 exit status
誰かが私に何が欠けているか教えてもらえますか? この問題を解決できません