Hi all
I am new to Symbian and mobile phone applications and I have a problem.
When I set up my .aifb in AIFBuilder to generate all the required files and
press generate I get the message:
Internal error - cpp.exe has returned the error code 2
I am developing in Java and have my application running in the emulator and am now attempting to set it up for deployment. My knowledge of C++ is almost non-existent.
Anyone have any ideas?
Thanks
Sharky
Hello Sharky,
I have the problem as you... and i can't figure out why the generation doesn't work.
Maybe it's because, i'm running it on WindowsXP... i don't know...
Is there a mean to get debug traces or information on this internal code?
anyone have any luck with this... same problem
caff wrote:anyone have any luck with this... same problem
First ensure you have made your UIQ 2.x SDK the default device using the devices command. For example
devices -setdefault @UIQ_21:com.symbian.UIQ
If you have correctly set the current UIQ SDK as the default device and still get the error message, then you are probably launching AIF Builder from the
<sdk-root>\epoc32\tools
directory. Instead choose any other directory to launch AIF Builder.
Post Symbian OS Version 6.0, Symbian changed the SDK tools configuration to cope better with multiple SDK installations. All tool invocations (AIFBuilder, makesis etc) resolve, via the Path environment variable, to a set of generic stub files located at C:\Program Files\Common Files\Symbian\Tools. When the appropriate tool stub file is launched it checks for the default device, and then launches the corresponding tool for that SDK (located at <that-SDK-root>\epoc32\tools), as well as initializing EPOCROOT appropriately. By launching your tool directly from the <sdk-root>\epoc32\tools directory you by-pass the stub file and therefore the EPOCROOT initialization. Hence the resulting error message.