0
0

That should just be a detail but I have a game working in emulator with embbeded VC 4.0. Now I try to compile in ARM4 and I get linkers errors :

CMusic.obj : error LNK2019: unresolved external symbol FSOUND_Init referenced in function “public: __cdecl CMusic::CMusic(void)” (??0CMusic@@QAA@XZ)
CSound.obj : error LNK2019: unresolved external symbol FSOUND_Init referenced in function “public: __cdecl CSound::CSound(void)” (??0CSound@@QAA@XZ)

My options directories link to …\API\WCE4\ARMV4 and I added fmodce.lib in library modules.

So is there a trick I should know to get this ARM4 version linking?

Thanks for your help.

Germversity

  • You must to post comments
0
0

Here is the full error log I have :

CMusic.obj : error LNK2019: unresolved external symbol FSOUND_Init referenced in function “public: __cdecl CMusic::CMusic(void)” (??0CMusic@@QAA@XZ)
CSound.obj : error LNK2019: unresolved external symbol FSOUND_Init referenced in function “public: __cdecl CSound::CSound(void)” (??0CSound@@QAA@XZ)
CMusic.obj : error LNK2019: unresolved external symbol FMUSIC_FreeSong referenced in function “public: __cdecl CMusic::~CMusic(void)” (??1CMusic@@QAA@XZ)
CMusic.obj : error LNK2019: unresolved external symbol FMUSIC_PlaySong referenced in function “public: void __cdecl CMusic::Play(void)” (?Play@CMusic@@QAAXXZ)
CMusic.obj : error LNK2019: unresolved external symbol FMUSIC_SetMasterVolume referenced in function “public: void __cdecl CMusic::Play(void)” (?Play@CMusic@@QAAXXZ)
CMusic.obj : error LNK2019: unresolved external symbol FMUSIC_IsPlaying referenced in function “public: bool __cdecl CMusic::IsPlaying(void)” (?IsPlaying@CMusic@@QAA_NXZ)
CMusic.obj : error LNK2019: unresolved external symbol FMUSIC_SetLooping referenced in function “public: void __cdecl CMusic::SetLoop(bool)” (?SetLoop@CMusic@@QAAX_N@Z)
CMusic.obj : error LNK2019: unresolved external symbol FMUSIC_StopSong referenced in function “public: void __cdecl CMusic::Stop(void)” (?Stop@CMusic@@QAAXXZ)
CMusic.obj : error LNK2019: unresolved external symbol FMUSIC_SetPanSeperation referenced in function “public: bool __cdecl CMusic::SetData(char const *)” (?SetData@CMusic@@QAA_NPBD@Z)
CMusic.obj : error LNK2019: unresolved external symbol FMUSIC_GetType referenced in function “public: bool __cdecl CMusic::SetData(char const *)” (?SetData@CMusic@@QAA_NPBD@Z)
CMusic.obj : error LNK2019: unresolved external symbol FMUSIC_LoadSong referenced in function “public: bool __cdecl CMusic::SetData(char const *)” (?SetData@CMusic@@QAA_NPBD@Z)
CSound.obj : error LNK2019: unresolved external symbol FSOUND_Sample_Free referenced in function “public: __cdecl CSound::~CSound(void)” (??1CSound@@QAA@XZ)
CSound.obj : error LNK2019: unresolved external symbol FSOUND_PlaySound referenced in function “public: void __cdecl CSound::Play(void)” (?Play@CSound@@QAAXXZ)
CSound.obj : error LNK2019: unresolved external symbol FSOUND_SetVolume referenced in function “public: void __cdecl CSound::Play(void)” (?Play@CSound@@QAAXXZ)
CSound.obj : error LNK2019: unresolved external symbol FSOUND_IsPlaying referenced in function “public: bool __cdecl CSound::IsPlaying(void)” (?IsPlaying@CSound@@QAA_NXZ)
CSound.obj : error LNK2019: unresolved external symbol FSOUND_Sample_SetMode referenced in function “public: void __cdecl CSound::SetLoop(bool)” (?SetLoop@CSound@@QAAX_N@Z)
CSound.obj : error LNK2019: unresolved external symbol FSOUND_StopSound referenced in function “public: void __cdecl CSound::Stop(void)” (?Stop@CSound@@QAAXXZ)
CSound.obj : error LNK2019: unresolved external symbol FSOUND_Sample_Load referenced in function “public: bool __cdecl CSound::SetData(char const *)” (?SetData@CSound@@QAA_NPBD@Z)
ARMV4Rel/Orbital.exe : fatal error LNK1120: 17 unresolved externals

Nothing seems to link… If I want my game to work on a smartphone, it have to be ARM compiled, right? The emulator version won’t work?

S.O.S

Germveristy

  • You must to post comments
0
0

It’s because I had an old fmodce.lib in my application path so it was linking with this file instead of linking with the one in the arm4 folder…

Thanks a lot for you help…

Germversity

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.