0
0

hello,

i’m new to this so sorry if i’m doing something really stupid. I’ve just installed the new version of fmod ex(4.04.08, was previously on 4.03.09) and i’m getting warnings on compilation I haven’t seen before, i had previously been compiling fine under 4.03.09. I’m using os x 10.4.6 and gcc 4.0.0. These warnings are happening on my code as well as the examples provided with fmod. Here is an example of the warnings i am receiving:

playsound $make
g++ -O3 -o playsound main.cpp ../../api/lib/libfmodex.dylib
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _atan2f used from dynamic library /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libSystem.dylib(floating.o) not from earlier dynamic library /usr/lib/libmx.A.dylib(single module)

this then goes on for quite a while for various symbols…

I have looked around on here for similar questions but couldn’t find anything. Also I am interested in the geometry example that has been mentioned (with openGL) but i can’t find anything in the examples that came with fmod called geometry or using openGL do I download this from somewhere?

Thanks,
Scott.

  • You must to post comments
0
0

have you tried passing the "-bind_at_load" option to the linker?

  • You must to post comments
0
0

[quote:fyrtsfiw]have you tried passing the "-bind_at_load" option to the linker?[/quote:fyrtsfiw]

If i knew how to do this I would, I’ve never worked with dynamic libraries before. To me the strange thing is that I wasn’t getting these warnings prior to updating to 4.04.08. It doesn’t stop any of the programs from running but it sure doesn’t look nice when I compile and I do normally like to fix warnings.

  • You must to post comments
0
0

Try,

[code:1ljx3r5i]
g++ -O3 -Wl,-bind_at_load -o playsound main.cpp ../../api/lib/libfmodex.dylib
[/code:1ljx3r5i]

  • You must to post comments
0
0

thanks that worked. unless it is just something weird i have done you might want to update your makefiles in your examples.
thanks again,
scott.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.