خطأ أثناء ربط libvorbisfile.dylib في تطبيق Mac
-
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
المحلول
لقد وجدت المشكلة. اضطررت إلى تجميع فوربيس كإطار.
لا تنتمي إلى StackOverflow