0
0

Hello there,

I’m working on a music player project for several weeks, and I’m trying to build the test program of my audio library (using C version of Fmodex) since Saturday, by many ways, without any success.

The library was built successfully (linked with fmodex), but the test (linked with fmodex and my library) wasn’t linked. Even with full paths, order changes and so on, it still doesn’t work !

Here is the linker log :
[quote:1s4lxct5]:: === Test, Release ===
.\libSAM.a(SAM.o):SAM.cpp:(.text+0x6a8):: undefined reference to FMOD_System_Create@4'
.\libSAM.a(SAM.o):SAM.cpp:(.text+0x6d8):: undefined reference to
FMOD_System_Init@16′
.\libSAM.a(SAM.o):SAM.cpp:(.text+0x6f9):: undefined reference to FMOD_System_Release@4'
.\libSAM.a(SAM.o):SAM.cpp:(.text+0x719):: undefined reference to
FMOD_Sound_Release@4′
.\libSAM.a(SAM.o):SAM.cpp:(.text+0x739):: undefined reference to FMOD_Sound_Release@4'
.\libSAM.a(SAM.o):SAM.cpp:(.text+0x78d):: undefined reference to
FMOD_System_CreateStream@20′
.\libSAM.a(SAM.o):SAM.cpp:(.text+0x7fe):: undefined reference to FMOD_Channel_IsPlaying@8'
.\libSAM.a(SAM.o):SAM.cpp:(.text+0x834):: undefined reference to
FMOD_Channel_GetPaused@8′
.\libSAM.a(SAM.o):SAM.cpp:(.text+0x8d4):: undefined reference to FMOD_System_PlaySound@20'
.\libSAM.a(SAM.o):SAM.cpp:(.text+0x943):: undefined reference to
FMOD_Channel_Stop@4′
.\libSAM.a(SAM.o):SAM.cpp:(.text+0x9cb):: undefined reference to FMOD_Channel_SetPaused@8'
.\libSAM.a(SAM.o):SAM.cpp:(.text+0xa12):: undefined reference to
FMOD_Sound_GetLength@12′
.\libSAM.a(SAM.o):SAM.cpp:(.text+0xa97):: undefined reference to FMOD_Channel_SetPosition@12'
.\libSAM.a(SAM.o):SAM.cpp:(.text+0xad8):: undefined reference to
FMOD_Channel_GetPosition@12′
.\libSAM.a(SAM.o):SAM.cpp:(.text+0xb67):: undefined reference to FMOD_Sound_GetTag@16'
.\libSAM.a(SAM.o):SAM.cpp:(.text+0xba8):: undefined reference to
FMOD_Sound_GetTag@16′
.\libSAM.a(SAM.o):SAM.cpp:(.text+0xc47):: undefined reference to FMOD_Channel_SetVolume@8'
.\libSAM.a(SAM.o):SAM.cpp:(.text+0xc6f):: undefined reference to
FMOD_Channel_GetVolume@8′
)]+0x30):: undefined reference to FMOD_Sound_GetFormat@20'
)]+0x61):: undefined reference to
FMOD_Sound_GetFormat@20′
:: === Build finished: 20 errors, 0 warnings ===[/quote:1s4lxct5]

Help me, please. I can’t go further without it…

Thanks aforehand.

P.S: I’m using Code::Blocks with Mingw32 compiler.

  • You must to post comments
0
0

Nevermind, I had two versions of Fmodex, and I mixed both (not on purpose, of course ^^ ). That’s a shame I notice it just now.

Please scuse me, and if you’ve got an aswer to the second question, do it 😉

  • You must to post comments
0
0

You haven’t actually asked any questions, just 1 statement that your app didnt link. What was the second question?

  • You must to post comments
0
0

I just wanted to know wether a FMOD_SOUND * value (after being released by FMOD_Sound_Release()) was NULL or not…

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.