Well,
since I am finally up and running with Carbide C++ Express and S60 SDK 2nd edition FP3, aftwer wasting hours and hours due to problems/bugs I would like to give the few hints that should help beginners to start with the "right foot". It must be a catholic thing: do for the others what you hoped the others did for you. I wished indeed to have a similar check list before. So, here it is what I discovered until now:
1) Do NOT include SPACES in the path of your workspace: simply Carbide won't be able to compile the AIF files, you will get strange errors and you will feel miserable.
2) Put the workspace in the SAME disk of Carbide and/or SDK: as above but this time the $(EPOCROOT) variable is not recognized anymore.
3) To add a project, let's say from the S60ex SDK's directory simply import (menù File/import) the bld.inf or (project).mmp file usually in the (project)/group directory. Carbide will do the rest for you.
4) To make the SIS file you need to add the (project).pkg file, usually found in the (project)/sis directory. Just drag and drop such directory from Explorer into the package root in Carbide. Don't ask me why this is not done automatically.
4a) To make the SIS file you must build the project using the ARMI or THUMB configuration. You can easily select them from the panel in the upper right corner.
5) To install the SIS file in your phone it is higly desiderable that you have Nokia PC suite installed. Just double click in the *.sis icon and PC Suite will do the job for you (well, you need to finish the installation using your phone).
6) Sometime the changes to the *.loc files do not seem to be applied (especially true with the "Hello World Plus" example). This is due to an error (bug?) when importing the project. The include path directories point to the ones where the example resides and not to the ones in the workspace. Fix it going to menù Project/properties, select "C/C++Build" and then "system option" (which is the default when you open it). Change the "user inlude paths" to the one of the workspace. You may use the variable ${ProjDirPath} usually defined by Carbide itself. Ex: ${ProjDirPath}\data
If you followed these steps correctly you should be able to start building, running in your phone and modifying all the examples. At least it works for me.
Now I have few questions:
a) How can I have the *.pkg file included when importing the project?
b) Is that possible to make automaticaly the build/mmp files from an existing project? And the *.pkg file?
c) To start a project from scratch do I always need to load a template?
d) Where are the proj. templates located and how can I add (mytemplate)to them?
e) Do I always need to add by hand the needed libraries or the system can automatically add the link dependencies just looking at the *.h files included?
Thanx for any answer. Obviously suggestions and/or corrections are very welcome.
Ciao,
Michele

but I still have some basic questions:



