0
0

Hi everyone,
I wanted to know if it was possible to compile .c files using FMOD through gcc ? Thanks in advance.

  • You must to post comments
0
0

yes

  • You must to post comments
0
0

Are there any arguments I should add to my build line ?

  • You must to post comments
0
0

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).

  • You must to post comments
0
0

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)

  • You must to post comments
0
0

I did, but this compiles the examples with g++. I’m not having trouble compiling the examples, but I’m having trouble compiling them with gcc. Thank you again.

  • You must to post comments
0
0

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
[/code:3vygqlx6]
Any suggestions ?

  • You must to post comments
0
0

Ok, I can’t tell you how stupid I feel. I guess now I’ll have the reflex :/
Thanks so much

  • You must to post comments
Showing 7 results
Your Answer

Please first to submit.