I’m trying to make FMOD Ex works with Mac os X but it still not work.
… it seems that he did not link (dynamic?) library …
I need help .. Is there anybody with static library compiled on macosx ?
Thanks for your help
(By the way, in the fmod.h from the .dmg, there was no definition for fmod types (FMUSIC_MODULE, …), and it gave me some error, I had to take another header from internet)
- menou asked 10 years ago
It is FMOD Ex and I’m using gcc.
It works with Fmod 3, but when I had to run ranlib I got
"ranlib: file: api/lib/libfmod.a(system_debug.o) has no symbols
ranlib: file: api/lib/libfmod.a(mixer_c_spline.o) has no symbols
ranlib: file: api/lib/libfmod.a(mixer_c_cubic.o) has no symbols"
I don’t know if it is important but it compiled … (I got other undefined reference but I saw in your example that you linked framework Carbon, and it was that …)
Thanks for your help brett ! 😆
- menou answered 10 years ago
I have the same ranlib error as above, but linking the Carbon framework did not solve the problem for me, still getting the following:
g++ -O3 -o audioTag main.cpp mac/api/lib/libfmod.a -framework Carbon
/usr/bin/ld: Undefined symbols:
TagLib::String::String(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, TagLib::String::Type)
TagLib::FileRef::FileRef(char const*, bool, TagLib::AudioProperties::ReadStyle)
collect2: ld returned 1 exit status
make: *** [darwin] Error 1
Can anyone help?
Please login first to submit.