Unable to build the Sound Example for ARM target device

Login to reply to this topic.
Tue, 2005-08-16 11:18
Joined: 2005-04-29
Forum posts: 65
Hi
  I am able to build for winscw env. for the Sound App provided by the sdk

But when I am going to build it for ARMI UREL  It's showing these type of erros shown below













Error   : In file included from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\Mda\\\\Client\\\\Resource.h:14,

Error   :                  from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\MdaAudioSampleEditor.h:27,

Error   :                  from C:\\SYMBIAN\\SERIES60_1_2_CW\\SERIES60EX\\SOUND\\INC\\recorderadapter.h:7,

Error   :                  from C:\\SYMBIAN\\SERIES60_1_2_CW\\SERIES60EX\\SOUND\\SRC\\RECORDERADAPTER.cpp:7:

Warning :  ANSI C++ forbids declaration `RMdaTimer' with no type
unknown file line 120   

Error   : `RMdaTimer' is neither function nor method; cannot be declared friend
unknown file line 120   

Warning :  ANSI C++ forbids declaration `RMdaTimerFactory' with no type
unknown file line 121   

Error   : `RMdaTimerFactory' is neither function nor method; cannot be declared friend
unknown file line 121   

Error   : \\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\Mda\\Client\\Base.inl: In method `RMdaTimerFactory::RMdaTimerFactory(class RMdaSession &)':

Error   : In file included from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\Mda\\\\Client\\\\Base.h:300,

Error   :                  from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\Mda\\\\Client\\\\Resource.h:14,

Error   :                  from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\MdaAudioSampleEditor.h:27,

Error   :                  from C:\\SYMBIAN\\SERIES60_1_2_CW\\SERIES60EX\\SOUND\\INC\\recorderadapter.h:7,

Error   :                  from C:\\SYMBIAN\\SERIES60_1_2_CW\\SERIES60EX\\SOUND\\SRC\\RECORDERADAPTER.cpp:7:

Error   : member `iObjectHandle' is private
unknown file line 35   

Error   : member `iSession' is private
unknown file line 36   

Error   : Compile failed

Error   : In file included from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\Mda\\Client\\Controller.h:13,

Error   :                  from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\MdaAudioTonePlayer.h:24,

Error   :                  from C:\\SYMBIAN\\SERIES60_1_2_CW\\SERIES60EX\\SOUND\\INC\\toneadapter.h:7,

Error   :                  from C:\\SYMBIAN\\SERIES60_1_2_CW\\SERIES60EX\\SOUND\\SRC\\SOUNDAPPUI.cpp:11:

Warning :  ANSI C++ forbids declaration `RMdaTimer' with no type
unknown file line 120   

Error   : `RMdaTimer' is neither function nor method; cannot be declared friend
unknown file line 120   

Warning :  ANSI C++ forbids declaration `RMdaTimerFactory' with no type
unknown file line 121   

Error   : `RMdaTimerFactory' is neither function nor method; cannot be declared friend
unknown file line 121   

Error   : \\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\Mda\\Client\\Base.inl: In method `RMdaTimerFactory::RMdaTimerFactory(class RMdaSession &)':

Error   : In file included from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\Mda\\\\Client\\\\Base.h:300,

Error   :                  from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\Mda\\Client\\Controller.h:13,

Error   :                  from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\MdaAudioTonePlayer.h:24,

Error   :                  from C:\\SYMBIAN\\SERIES60_1_2_CW\\SERIES60EX\\SOUND\\INC\\toneadapter.h:7,

Error   :                  from C:\\SYMBIAN\\SERIES60_1_2_CW\\SERIES60EX\\SOUND\\SRC\\SOUNDAPPUI.cpp:11:

Error   : member `iObjectHandle' is private
unknown file line 35   

Error   : member `iSession' is private
unknown file line 36   

Error   : Compile failed

Error   : In file included from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\Mda\\Client\\Controller.h:13,

Error   :                  from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\MdaAudioTonePlayer.h:24,

Error   :                  from C:\\SYMBIAN\\SERIES60_1_2_CW\\SERIES60EX\\SOUND\\INC\\toneadapter.h:7,

Error   :                  from C:\\SYMBIAN\\SERIES60_1_2_CW\\SERIES60EX\\SOUND\\SRC\\TONEADAPTER.cpp:7:

Warning :  ANSI C++ forbids declaration `RMdaTimer' with no type
unknown file line 120   

Error   : `RMdaTimer' is neither function nor method; cannot be declared friend
unknown file line 120   

Warning :  ANSI C++ forbids declaration `RMdaTimerFactory' with no type
unknown file line 121   

Error   : `RMdaTimerFactory' is neither function nor method; cannot be declared friend
unknown file line 121   

Error   : \\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\Mda\\Client\\Base.inl: In method `RMdaTimerFactory::RMdaTimerFactory(class RMdaSession &)':

Error   : In file included from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\Mda\\\\Client\\\\Base.h:300,

Error   :                  from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\Mda\\Client\\Controller.h:13,

Error   :                  from C:\\Symbian\\Series60_1_2_CW\\EPOC32\\INCLUDE\\MdaAudioTonePlayer.h:24,

Error   :                  from C:\\SYMBIAN\\SERIES60_1_2_CW\\SERIES60EX\\SOUND\\INC\\toneadapter.h:7,

Error   :                  from C:\\SYMBIAN\\SERIES60_1_2_CW\\SERIES60EX\\SOUND\\SRC\\TONEADAPTER.cpp:7:

Error   : member `iObjectHandle' is private
unknown file line 35   

Error   : member `iSession' is private
unknown file line 36   

Error   : Compile failed




I am not able to know ,Actually where lies th error ?

Plz help me
Thank u

Sat, 2005-09-17 20:06
Joined: 2005-01-22
Forum posts: 60
Re: Unable to build the Sound Example for ARM target device
i had the same problem, looks like it's 1.2 SDK for CodeWarrior specific. What i did to fix it is very simple, i just took Base.h include file from 1.2 SDK for Visual Studio and copied it to %EPOCROOT%\Epoc32\Include\Mda\Client\ and it worked for me then..

cheers,
a.

algis

  • Login to reply to this topic.