Maybe I didn’t give enough information :
I’m using Ubuntu 5.10.
This is what I got after trying to compile fmodapi40300linux/example/playstream/ directory after having installed FMOD :
[code:3vygqlx6]root@gina:/home/jibz/Desktop/fmodapi40300linux/examples/playstream# gcc -W -Wall main.c -o playstream -L../../api/lib/ -libfmodexp.so.4.03.00
main.c:27: warning: unused parameter ‘argc’
main.c:27: warning: unused parameter ‘argv’
/usr/bin/ld: cannot find -libfmodexp.so.4.03.00
collect2: ld returned 1 exit status
Any suggestions ?
Assuming you already done an alias (a .so file pointing to the .so.build file), you just have to add -lfmod in your makefile or in your gcc command.
Don’t forget to do a ldconfig to update your lib directory before anything (not obligatory but may helps).
I must say that I have not made an alias yet, as I am still trying to figure out how to get it to work with the examples (I’ll be honest in saying that I’m not an expert really).
Could someone briefly run me through the commands to compile the example PLAYSTREAM with gcc so that I may base further progress on that ? I would really appreciate it.
Thanks in advance.
(sorry to be so noobish)
Please login first to submit.