Macアプリケーションにlibvorbisfile.dylibをリンクしているときにエラー

StackOverflow https://stackoverflow.com/questions/2823745

  •  26-09-2019
  •  | 
  •  

質問

Ogg Vorbisのファイルからロード音という

私はプログラムに取り組んでいますが、何でも私は、Xcodeプロジェクトは、ちょうど私のプログラムにリンクlibvorbisfile.aにしたいとは思われません。私はリンクエラーを得続けるます:

"_ov_read", referenced from:
    GSound::GSound(GWorld*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in GSound.o
    GSound::GSound(GWorld*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in GSound.o
"_ov_clear", referenced from:
    GSound::GSound(GWorld*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in GSound.o
    GSound::GSound(GWorld*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in GSound.o
"_ov_info", referenced from:
    GSound::GSound(GWorld*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in GSound.o
    GSound::GSound(GWorld*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in GSound.o
"_ov_open", referenced from:
    GSound::GSound(GWorld*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in GSound.o
    GSound::GSound(GWorld*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in GSound.o
ld: symbol(s) not found
役に立ちましたか?

解決

私は問題を発見しました。私は、フレームワークとしてのVorbisをコンパイルする必要がありました。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top