Plz help me on abld build armi urel

Login to reply to this topic.
Sat, 2005-01-29 20:56
Joined: 2003-12-09
Forum posts: 11
    ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: `AType' was not declared in this scope
    ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: `AData' was not declared in this scope
    ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: `AData' was not declared in this scope
    ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: template argument 1 is invalid
    ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: stray '\' in program
    ...
    [/list:u]

    I use SDK 1.2. With the same code, I can build on wins udeb with no problem. But when i try to build armi urel, the error occur. After i tried to re-install sdk,  It did not work. And I try to use another computer to compile the same code, it work well.  
    This happen, after i try to add icon to helloworld from tutuorial. All projects include e32std.h cannot compile on armi urel. How do I solve this?

    Thanks


Fri, 2005-02-04 20:35
Joined: 2004-06-02
Forum posts: 31
Plz help me on abld build armi urel
I can't tell what's going on from those error messages, but the thing to remember is that the udeb and urel builds use different compilers. What works on one may not work on the other. For example, I can create static variables in udeb builds but not urel.

As you point out, e32std.h is used in all the examples, so that's not what causing the problem. It's probably something you added that is conflicting with e32std.h; try #ifdef-ing out sections of your code until it compiles in urel. Then narrow down the section that doesn't compile until you find what's causing the errors.
Sat, 2005-02-05 00:40
Anonymous (not verified)
Forum posts: 2043
Plz help me on abld build armi urel
Udeb and urel use different compilers?
Please explain.
Sat, 2005-02-05 02:45
Anonymous (not verified)
Forum posts: 2043
Plz help me on abld build armi urel
Udeb and urel build don't use different compilers, emulator and target builds do. Urel doesn't mean target build and udeb doesn't mean emulator build, you can have a wins urel build just as you can have an armi etc. udeb build.
Sat, 2005-02-05 06:19
Joined: 2004-06-02
Forum posts: 31
Plz help me on abld build armi urel
Oops, a brain fart. Guest is right.

Still, try #ifdef-ing out sections of code to narrow down what is causing the error.
Mon, 2005-04-11 22:28
Joined: 2005-04-07
Forum posts: 6
Plz help me on abld build armi urel
Make sure Visual Studio and Symbian are both installed on the same drive.
I've had the same problem (and more) when Symbian was on drive C: and Visual Studio on drive E:. By moving Symbian to E: all problems were gone.
Tue, 2005-04-12 07:14
Joined: 2003-12-05
Forum posts: 683
Plz help me on abld build armi urel
Quote from: krasnobaev
Make sure Visual Studio and Symbian are both installed on the same drive.
I've had the same problem (and more) when Symbian was on drive C: and Visual Studio on drive E:. By moving Symbian to E: all problems were gone.

This should not be a problem. Probably you moved your source code to the same disk where the Symbian SDK is -- that is a requirement. All source code must be on the same disk as the Symbian SDK.
Fri, 2005-08-05 11:39
Joined: 2003-12-09
Forum posts: 11
Re: Plz help me on abld build armi urel
The problem was solved by reinstalling windows. I tried to compile the same code. but it work fine. So i think some registers in windows have to conflict the gcc or something likes that.

Thanks

Fri, 2005-08-05 12:27
Joined: 2004-07-12
Forum posts: 90
Re: Plz help me on abld build armi urel
LoL, you have to be shitting me? Cheezy

For quality Symbian idling, join #symbian at irc.freenode.net

Sun, 2005-08-07 08:35
Joined: 2005-07-27
Forum posts: 5
Re: Plz help me on abld build armi urel
I have the same problem... e32std.h multiple errors at build, cannot compile any project  Undecided
Symbian and Visual Studio 2003 are on the same drive. Guess I have to reinstall Windows  Undecided
Mon, 2005-11-07 17:57
Joined: 2005-08-17
Forum posts: 5
Re: Plz help me on abld build armi urel
Its to do with the cygwin.dll in c:\windows\. You need to copy the one out of the sdk into c:\windows. I guess the sdk doesn't like cygwin.
Moral of the story, don't update your pc after installing the sdk Cheezy
Fri, 2006-11-17 21:15
Joined: 2005-02-24
Forum posts: 278
Re: Plz help me on abld build armi urel
Another solution is to prepend path to "correct" GCC.EXE in PATH environment variable, i.e.:
set PATH=C:\Symbian\UIQ_70\epoc32\gcc;%PATH%  Wink

-- JumpJack --

  • Login to reply to this topic.