HELP:error while compiling lib!

Login to reply to this topic.
Tue, 2006-05-30 09:38
Joined: 2006-05-30
Forum posts: 6
  I'm a newer in codewarrior, now I'm compiling lib file from a mmp file, using cw 3.1 on symbian SDK3.0.
  when I tried "gcce urel", it said"tool exit status == 255 EPOCROOT must end with a backslash"
  If I tried "winscw udeb",then it seems all right.
  I tried adding epocroot in environment variables and also tried using devices.xml and "devices" command, but the problem still exists.
  Any help will be appreciated!

Fri, 2006-06-02 20:36
Joined: 2006-05-08
Forum posts: 152
Re: HELP:error while compiling lib!
Where is your SDK installed, e.g. Full path and what is the EPOCROOT defined in your path environment variable?

Also can you build your lib from the command line?
Mon, 2006-06-05 03:57
Joined: 2006-05-30
Forum posts: 6
Re: HELP:error while compiling lib!
 I installed all tools and SDK in default setting-- locatiing in C driver.
I tried EPOCROOT definition like: none, "\Symbian\..\","c:\Symbian\...\","/Symbian/.../", etc. But none workes!
Also I tried thru command line and met many errors
Tue, 2006-06-13 12:31
Joined: 2006-05-08
Forum posts: 152
Re: HELP:error while compiling lib!
try defining EPOCROOT as \ and build from commandline. Should work.
Wed, 2006-09-13 14:15
Joined: 2006-09-13
Forum posts: 2
Re: HELP:error while compiling lib!
If you are still looking for the solution, here may be the one:

Please check your SDK's "epoc32\gcc\bin" folder to see if the "ar.exe" file exists there, which is used by CodeWarrior to link static libraries. If not, you may find a copy from CSL Arm Toolchain and put into the folder. The problem should be gone.

This is what I found as I met the same problem. Hope it helpful!
  • Login to reply to this topic.