Pages : 1
#1 Le 11/05/2008, à 14:43
- benji92
fmod
slt
j'ai installer fmod se matin et depuis j'essaye de compiler mais sa ne marche pas sa me met :
/tmp/ccYy4SoZ.o: In function `main':
gun.c:(.text+0x29): undefined reference to `FSOUND_Init'
gun.c:(.text+0x5c): undefined reference to `FSOUND_Sample_Load'
gun.c:(.text+0x64): undefined reference to `FSOUND_Close'
collect2: ld a retourné 1 code d'état d'exécution
Compilation échouée.
quelqu'un pourrait m'aide
merci
benji
PS:g deja pas mal chercher sur google
Dernière modification par benji92 (Le 11/05/2008, à 19:39)
Hors ligne
#2 Le 11/05/2008, à 16:44
- nicolas66
Re : fmod
A mon avis, t'as oublié de linker ou bien t'as mal indiqué le chemin de la lib fmod au linker. Faut linker avec ces options :
32 bits
-Lchemin_de_la_lib -lfmodex
64 bits
-Lchemin_de_la_lib -lfmodex64
Nico.
"The computer was born to solve problems that did not exist before." (B. Gates)
Hors ligne
#3 Le 11/05/2008, à 18:04
- LittleWhite
Re : fmod
gcc prog.c -o prog -lfmod
Linux ou mourir
Pour avoir des problemes : demarrer Windows
Script de compression multi archive : http://forum.ubuntu-fr.org/viewtopic.php?id=225297
Hors ligne
#4 Le 11/05/2008, à 19:39
- benji92
Re : fmod
ca marche
merci
Hors ligne
Pages : 1