Command line errors
Article Metadata
"No rule to make target"
If the only IDE you have installed is Carbide.c++, command line builds for WINSCW (Windows Single process with CodeWarrior) target fail with a bunch of “No rule to make target” errors. If you need command line compilation for this target, you have to set up the environment variables as follows:
1. Select Start Menu > Settings > Control Panel > System > Advanced > Environment Variables (or: Start Menu > Windows Explorer > right click on My Computer > Properties > Advanced > Environment Variables).
2. Add a new system variable called CWFolder. Set its value to Carbide.c++ base install directory (the default is "C:\Program Files\Nokia\Carbide.c++ Express v1.2").
3. Add the following value to Path:
“%CWFolder%\x86Build\Symbian_Tools\Command_Line_Tools”
4. Add new system variable called MWCSym2Includes. Add the following paths to its value (separate them with semicolons):
%CWFolder%\x86Build\Symbian_Support\MSL
%CWFolder%\x86Build\Symbian_Support\MSL\MSL_C\MSL_Common\Include
%CWFolder%\x86Build\Symbian_Support\MSL\MSL_C\MSL_Win32\Include
%CWFolder%\x86Build\Symbian_Support\MSL\MSL_C\MSL_X86
%CWFolder%\x86Build\Symbian_Support\MSL\MSL_C++\MSL_Common\Include
%CWFolder%\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Common\Include
%CWFolder%\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Win32\Include
%CWFolder%\x86Build\Symbian_Support\Win32-x86 Support\Headers\Win32 SDK
5. Add a new system variable called MWSym2Libraries. Add the following paths to its value (separate them with semicolons):
%CWFolder%\x86Build\Symbian_Support\Win32-x86 Support\Libraries\Win32 SDK
%CWFolder%\x86Build\Symbian_Support\Runtime\Runtime_x86\Runtime_Win32\Libs
6. Add a new system variable called MWSym2LibraryFiles. Add the following libraries to its value (separate them with semicolons):
MSL_ALL_MSE_Symbian_D.lib
gdi32.lib
user32.lib
kernel32.lib
After setting up the environment variables, you can verify that the command line tools function correctly by following these steps:
1. Open the Command Prompt.
2. If you have several SDKs installed on your computer, set S60 3rd Edition SDK FP1 as the default device with the command
"devices -setdefault @S60_3rd_FP1:com.nokia.S60"
Otherwise, you can skip this step.
3. cd into
"C:\Symbian\9.2\S60_3rd_FP1\S60Ex\HelloWorldBasic\group".
4. Type:
"bldmake bldfiles".
5. Type:
"abld build"
(“ABLD.BAT build”, to be precise). Notice that the build created in this phase is a WINSCW debug build, viewable only in the emulator.
6. If your environment has been set up correctly, the build goes through without errors.
7. To run the Hello World Basic application in the emulator, issue the epoc command. After a while, the emulator screen opens
8. If this is the first time you run the emulator, you will have to set locale information.
9. Navigate into Menu > Installed.
10. Run HelloWorld. If you are able to do this, the application has been compiled and can be run on the emulator. In other words, the command line tools of your SDK installation are OK.
Tip: It is not necessary to restart the emulator every time you make changes to your application. Just exit from the application, re-compile it, and manually re-run it from the emulator’s menu. However, there is an exception to this that concerns resource files.


After making the environment variable , still my system is giving the same error.
make[1]: *** No rule to make target `\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\SymbianApps\CarbideWS\New1\group\NEW1\WINSCW\NEW1.WINSCW'. Stop. New1 line 0 1197881437577 216
I am using Series 60 3rd Ed. FP2 and Active Perl 5.8.7. The carbide Version is 1.2.
If I am creating a console application , its able to build. But the GUI application the build is giving error.
Please suggest a solution for this.
AmbikaSingh - ON SYMBIAN^3 SDK1.0
is this same for SYMBIAN^3 SDK1.0........... Please advice!AmbikaSingh 16:31, 19 September 2011 (EEST)
Hamishwillee - Suggest you ask on the discussion forums ...
As I recall it there is a start bar option installed with the SDK that sets the CW compiler options for command line use. It has some obvious name.hamishwillee 04:15, 21 September 2011 (EEST)