All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

  #1  
Old 07-05-2004, 08:10 AM
^Sharky ^Sharky is offline
Registered User
 
Join Date: May 2004
Posts: 2
^Sharky is on a distinguished road
Please Hellp me aif error build cpp error code 2

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
Ads

  #2  
Old 26-05-2004, 08:51 AM
denisgeorge denisgeorge is offline
Registered User
 
Join Date: May 2004
Posts: 2
denisgeorge is on a distinguished road
Same problem

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?

  #3  
Old 29-09-2004, 04:34 PM
caff caff is offline
Registered User
 
Join Date: Aug 2004
Posts: 20
caff is on a distinguished road
anyone have any luck with this... same problem

  #4  
Old 10-05-2005, 03:54 PM
toseefawan
Guest
 
Posts: n/a
Quote:
Originally Posted by caff
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.
 

Bookmarks

Tags
aif, build, code, cpp, error, hellp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT. The time now is 09:52 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy