0
0

Good day,
trying to compile sample from FMOD 3.75 setup, …\samples\fmodce. I’m using Visual Studio 2005 and compiling it for Windows Modile 2005 Pocket PC emulator.
1. What kind of fmodce.lib I have to use (There are a lot of folders WinCE in lib directory)?
2. When compiling I have linker error messages:

fmodsamplece.obj : error LNK2019: unresolved external symbol FSOUND_Stream_Open referenced in function "void cdecl LoadSong(struct HWND *)" (?LoadSong@@YAXPAUHWND__@@@Z)
fmodsamplece.obj : error LNK2019: unresolved external symbol FMUSIC_LoadSong referenced in function "void cdecl LoadSong(struct HWND *)" (?LoadSong@@YAXPAUHWND__@@@Z)
fmodsamplece.obj : error LNK2019: unresolved external symbol FSOUND_Close referenced in function "long cdecl WndProc(struct HWND *,unsigned int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)
fmodsamplece.obj : error LNK2019: unresolved external symbol FSOUND_GetChannelsPlaying referenced in function "long cdecl WndProc(struct HWND *,unsigned int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)
fmodsamplece.obj : error LNK2019: unresolved external symbol FSOUND_GetCPUUsage referenced in function "long cdecl WndProc(struct HWND *,unsigned int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)
fmodsamplece.obj : error LNK2019: unresolved external symbol FSOUND_Init referenced in function "long cdecl WndProc(struct HWND *,unsigned int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)
fmodsamplece.obj : error LNK2019: unresolved external symbol FSOUND_SetBufferSize referenced in function "long cdecl WndProc(struct HWND *,unsigned int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)
fmodsamplece.obj : error LNK2019: unresolved external symbol FSOUND_SetPaused referenced in function "long cdecl WndProc(struct HWND *,unsigned int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)
fmodsamplece.obj : error LNK2019: unresolved external symbol FSOUND_GetPaused referenced in function "long cdecl WndProc(struct HWND *,unsigned int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)
fmodsamplece.obj : error LNK2019: unresolved external symbol FMUSIC_SetPaused referenced in function "long cdecl WndProc(struct HWND *,unsigned int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)
fmodsamplece.obj : error LNK2019: unresolved external symbol FMUSIC_GetPaused referenced in function "long cdecl WndProc(struct HWND *,unsigned int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)
fmodsamplece.obj : error LNK2019: unresolved external symbol FSOUND_Stream_Play referenced in function "long cdecl WndProc(struct HWND *,unsigned int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)
fmodsamplece.obj : error LNK2019: unresolved external symbol FMUSIC_PlaySong referenced in function "long cdecl WndProc(struct HWND *,unsigned int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)
fmodsamplece.obj : error LNK2019: unresolved external symbol FSOUND_Stream_Close referenced in function "long cdecl WndProc(struct HWND *,unsigned int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)
fmodsamplece.obj : error LNK2019: unresolved external symbol FMUSIC_FreeSong referenced in function "long cdecl WndProc(struct HWND *,unsigned int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)
ARMDbg/fmod-arm.exe : fatal error LNK1120: 19 unresolved externals

What project setting I have to make? Now path selected for fmodce.lib is ..\api\wce4\emuv4; for headers – ..\api\inc.

  • You must to post comments
0
0

it looks like an appropriate library hasnt been linked. We havent tried with 2005, I would just suggest linking to any x86 libs that you see. You may have to change the project settings in the example.

  • You must to post comments
0
0

Ok, thank you, I have discovered that the problem was in dll version. I had to use fmodce.dll (fmodce.lib) not from \api\wce4\amuv4, but from \api\wce4\armv4 subfolder, and all links perfectly. Another problem is – it doesn’t work in WinMobile 2005 emulator, but I have my own Pocket PC device and will work directly with it.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.