Fehler beim Verknüpfen libvorbisfile.dylib in Mac-Anwendung
-
26-09-2019 - |
Frage
Ich arbeite an einem Programm, dass Lasten Klänge von Ogg Vorbis-Dateien, aber was auch immer ich die XCode-Projekt zu tun, scheint einfach nicht zu Link libvorbisfile.a in mein Programm zu wollen. Ich erhalte Verknüpfungsfehler:
"_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
Lösung
Ich fand das Problem. Ich hatte Vorbis als Rahmen zu kompilieren.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow