errors while compiling HelloWorld from command line - (S60 3rd + Carbide.c++)

Login to reply to this topic.
Sat, 2006-05-13 13:08
Joined: 2006-05-13
Forum posts: 9
Hi !

Some kind of a newb here, so please bear with me  Tongue

Configuration :
Active Perl : 5.8.8
Java : 1.4.2
SDK : S60 3rd
IDE : Carbide.c++

The "hello world" example compiles and runs fine from within Carbide.

But trying to compile from the command line gives errors.
I searched in the forum and on forum nokia, those errors seems to be quite common, but I couldn't find a working answer.

I'm doing :
>abld build winscw udeb
(from the helloworldbasic group directory)

I get the following :

Code:
ERROR: Unable to identify a valid CodeWarrior for Symbian OS installation

make[1]: *** No rule to make target `\Symbian\9.1\S60_3rd\EPOC32\BUILD\Symbian\9
.1\S60_3rd\S60Ex\helloworldbasic\group\HELLOWORLDBASIC\WINSCW\HELLOWORLDBASIC.WI
NSCW'.  Stop.

I'm not willing to install CodeWarrior on this machine. I guess Carbide.c++ is standalone, so I must be missing something.
Can you point me in the right direction ?

I tried to download the Nokia Developer Suite and to follow the trick explained here, but the nds .exe seems to be somewhat corrupted.

Thanks for any help Grin





Mon, 2006-05-22 12:35
Joined: 2006-05-22
Forum posts: 37
Re: errors while compiling HelloWorld from command line - (S60 3
You can compile in command line for WINSCW only with installed CodeWarrior. For target you can compile also without so it doesn't matter.
But you can try to edit epoc32\tools\cl_codewarrior.pl in sub PMCheckPlatformL and delete the line

die "ERROR: Unable to identify a valid CodeWarrior for Symbian OS installation\n";

Probably you also have to do that on other files also but this should solve your problem.

have fun...

Rayko Enz
www.sic-software.com

Fri, 2006-06-02 21:53
Joined: 2006-05-08
Forum posts: 162
Re: errors while compiling HelloWorld from command line - (S60 3
Quote
You can compile in command line for WINSCW only with installed CodeWarrior.

I don't think that's correct at all. I'm using Carbide.c+++UIQ 3.0 and it working from within the IDE and commad line, no problem!

Tue, 2006-09-05 12:19
Joined: 2004-11-08
Forum posts: 1
Re: errors while compiling HelloWorld from command line - (S60 3
Hi Guys,

I have CW and Carbide installed so have not had this kind of problem earlier. Anyway, this should help:

To use the command-line tools, you must change some environment variables and rename some files

CWFolder Environment Variable
set CWFolder=C:\Win\Carbide (where to find your carbide.exe)

MWLibraries Environment variable

set MWLibraries= C:\Win\Carbide\plugins\com.nokia.carbide.cpp.support_1.0.0\Symbian_Support\Win32-x86 Support\Libraries\Win32 SDK (where to find windows related libraries)

Setting the PATH Environment Variable (point to folder that contain mwccsym2.exe and other x.86 related tools)

Set path=%PATH%;C:\Win\Carbide\plugins\com.nokia.carbide.cpp.support_1.0.0\Symbian_Tools\Command_Line_Tools;


In C:\Win\Carbide\plugins\com.nokia.carbide.cpp.support_1.0.0\Symbian_Tools\Command_Line_Tools –folder make copy of mwccsym2.exe and mwldsym2.exe files and rename copies: mwcc.exe and mwld.exe

So no CW or Carbide.vs needed.
  • Login to reply to this topic.