Hi,
I’ve found that iOS lowlevel fmod library contains symbols from vorbis library. So my app has both libraries and xcode gives me these warnings:
ld: warning: duplicate symbol ‘_drft_backward’ in:
/vorbis/lib/ios/Release-iphoneos/libvorbis.a(smallft.o)
/fmod/ios/api/lowlevel/lib/Release-iphoneos/libfmod.a(libfmod_iphoneos.a-arm64-master.o)
ld: warning: duplicate symbol ‘_drft_clear’ in:
/Users/Maksim/Playrix/Utils/engine/dependencies/vorbis/lib/ios/Release-iphoneos/libvorbis.a(smallft.o)
/Users/Maksim/Playrix/Utils/engine/dependencies/fmod/ios/api/lowlevel/lib/Release-iphoneos/libfmod.a(libfmod_iphoneos.a-arm64-master.o)
ld: warning: duplicate symbol ‘_drft_forward’ in:
/vorbis/lib/ios/Release-iphoneos/libvorbis.a(smallft.o)
/fmod/ios/api/lowlevel/lib/Release-iphoneos/libfmod.a(libfmod_iphoneos.a-arm64-master.o)
ld: warning: duplicate symbol ‘_drft_init’ in:
/vorbis/lib/ios/Release-iphoneos/libvorbis.a(smallft.o)
/fmod/ios/api/lowlevel/lib/Release-iphoneos/libfmod.a(libfmod_iphoneos.a-arm64-master.o)
ld: warning: duplicate symbol ‘_vorbis_lpc_from_data’ in:
/vorbis/lib/ios/Release-iphoneos/libvorbis.a(lpc.o)
/fmod/ios/api/lowlevel/lib/Release-iphoneos/libfmod.a(libfmod_iphoneos.a-arm64-master.o)
ld: warning: duplicate symbol ‘_vorbis_lpc_predict’ in:
/vorbis/lib/ios/Release-iphoneos/libvorbis.a(lpc.o)
/fmod/ios/api/lowlevel/lib/Release-iphoneos/libfmod.a(libfmod_iphoneos.a-arm64-master.o)
I’ve checked fmod librarywith “nm -g” command and it gives me such result:
00000000000bb450 T _drft_backward
00000000000bb900 T _drft_clear
00000000000bb230 T _drft_forward
00000000000bb6b8 T _drft_init
00000000000b5e84 T _vorbis_lpc_from_data
00000000000b60f4 T _vorbis_lpc_predict
Can you exclude vorbis symbols from fmod library? Or give me a hint how to solve it.
I’ve tried all 2.0 fmod libs and all of them have such problems.
Thanks.