0
0

Hi,
i have some question about compilation with dev C++
i put fmod*.hpp in inc directory, libfmodex.a to lib directory and i use linker option _fmodex but i have linker error :

[code:jn4qf9ru]Compilateur: Default compiler
Exécution de g++.exe...
g++.exe "C:\Program Files\FMOD SoundSystem\FMOD Programmers API\examples\recordtodisk\main.cpp" -o "C:\Program Files\FMOD SoundSystem\FMOD Programmers API\examples\recordtodisk\main.exe" -I"C:\GTK\INCLUDE" -I"C:\GTK\INCLUDE\GTK-2.0" -I"C:\GTK\INCLUDE\GLIB-2.0" -I"C:\GTK\INCLUDE\PANGO-1.0" -I"C:\GTK\INCLUDE\CAIRO" -I"C:\GTK\INCLUDE\ATK-1.0" -I"C:\GTK\INCLUDE\GTKGLEXT-1.0" -I"C:\GTK\LIB\GTK-2.0\INCLUDE" -I"C:\GTK\LIB\GLIB-2.0\INCLUDE" -I"C:\GTK\LIB\GTKGLEXT-1.0\INCLUDE" -I"C:\GTK\INCLUDE\LIBGLADE-2.0" -I"C:\GTK\INCLUDE\LIBXML2" -L"C:\GTK\LIB" -L"lib" -L"C:\Program Files\FMOD SoundSystem\FMOD Programmers API\api\lib" -lfmodex
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0x3cc):main.cpp: undefined reference to _ZN4FMOD5Sound9getFormatEP15FMOD_SOUND_TYPEP17FMOD_SOUND_FORMATPiS5_@20'
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0x3f9):main.cpp: undefined reference to
_ZN4FMOD5Sound11getDefaultsEPfS1_S1_Pi@20′
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0x5dc):main.cpp: undefined reference to _ZN4FMOD6System10getVersionEPj@8'
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0x6e0):main.cpp: undefined reference to
_ZN4FMOD6System9setOutputE15FMOD_OUTPUTTYPE@8′

C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0x6fb):main.cpp: undefined reference to _ZN4FMOD6System9setOutputE15FMOD_OUTPUTTYPE@8'
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0x716):main.cpp: undefined reference to
_ZN4FMOD6System9setOutputE15FMOD_OUTPUTTYPE@8′
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0x74a):main.cpp: undefined reference to _ZN4FMOD6System19getRecordNumDriversEPi@8'
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0x7b2):main.cpp: undefined reference to
_ZN4FMOD6System19getRecordDriverNameEiPci@16′
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0x852):main.cpp: undefined reference to _ZN4FMOD6System15setRecordDriverEi@8'
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0x886):main.cpp: undefined reference to
_ZN4FMOD6System4initEijPv@16′
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0x904):main.cpp: undefined reference to _ZN4FMOD6System11createSoundEPKcjP22FMOD_CREATESOUNDEXINFOPPNS_5SoundE@20'
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0x97c):main.cpp: undefined reference to
_ZN4FMOD6System11recordStartEPNS_5SoundEb@12′
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0xa16):main.cpp: undefined reference to _ZN4FMOD5Sound9getLengthEPjj@12'
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0xa57):main.cpp: undefined reference to
_ZN4FMOD6System17getRecordPositionEPj@8′
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0xaf6):main.cpp: undefined reference to _ZN4FMOD5Sound4lockEjjPPvS2_PjS3_@28'
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0xbb2):main.cpp: undefined reference to
_ZN4FMOD5Sound6unlockEPvS1_jj@20′
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0xbc5):main.cpp: undefined reference to timeGetTime@0'
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0xcf3):main.cpp: undefined reference to
_ZN4FMOD6System6updateEv@4′
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0xd4e):main.cpp: undefined reference to _ZN4FMOD5Sound7releaseEv@4'
C:\DOCUME~1\Simon\LOCALS~1\Temp/ccgjbaaa.o(.text+0xd6a):main.cpp: undefined reference to
_ZN4FMOD6System7releaseEv@4′
collect2: ld returned 1 exit status

Exécution terminée
[/code:jn4qf9ru]

Someone have an idea of the problem ?

  • You must to post comments
0
0

You can’t use the c++ interface with dev C++, have a look at the big sticky thread at the top of the forum,
BCB6 C++ / Dev c++ / MinGW linker issues (READ)

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.