How I do it is:
*make sure /usr/local/lib is listed in /etc/ld.so.conf
*copy the fmod lib into /usr/local/lib
*make an “fmod” directory in /usr/local/include
*copy the fmod headers into /usr/local/include/fmod
You have to be root for most of these steps.
“run ldconfig” means “as the root user, type ‘ldconfig’ at the command line, then hit ‘enter'”.
ldconfig manages a cache of shared libraries on your system (“ld” is the linker). Running ldconfig updates that cache, and is needed whenever you install a new shared library (.so) file on your system. Normally this is done by the install script, however with a manual install you need to do it by hand.
If you want more info type “man ldconfig” and “man ld” at the command prompt.
I did exactly what you said but i have an error when i compile a sample :
/home/ticho/tmp/ccLqlHAQ.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0′
collect2: ld returned 1 exit status
I use the followig command line to compile : gcc Main.cpp -lfmod-3.71
Whant can i do ?
thx for your help
*[b:1hmnf5bj]make sure[/b:1hmnf5bj] /usr/local/lib is listed in /etc/ld.so.conf[/quote:1hmnf5bj]
I need help to get it done. How? Shall I only write in the /etc/ld.so.conf file this:
*copy the [b:1hmnf5bj]fmod headers[/b:1hmnf5bj] into /usr/local/include/fmod
Where can I download it from?
I have the file fmodapi374linux.tar.gz is this including the headers?
Thanks a lot,
- szerencsefia answered 13 years ago
Please login first to submit.