Categories: Carbide | Carbide.c++ Developer | Testing | Training | Debugging | IDE/SDK | Architecture/Design
This page was last modified 09:22, 20 November 2007.
Small Carbide rss generation trouble
From Forum Nokia Wiki
Contents |
The trouble overview
When you create GUI or UI Design application in Carbide C++, the IDE generates a lots of files and texts for you.
After one of the such usual creation the error was detected:
"syntax error"
at line with instruction:
NAME ENUM
at .RSS file.
It was difficult to understand the problem. Especially for those who doesn't know about all specifics of Symbian programming
The reason of a trouble
The problem was that the project's name was "EnumeratedText".
After Carbide started generation of the code, it had taken first 4 letters from project's name (e.g. Enum) and translated them to Capital letters.
After that this 4 letters were assigned to a Name tag of .rss file:
NAME ENUM
But the ENUM (or enum) appear to be a keyword of .rss file syntax! That is why syntax error appeared.
Other discovered cases
I made a research and found out other keywords and projects names which can cause the same error at post-generation stage. See table 1.
| .Rss Keyword | project’s name example |
|---|---|
| ENUM | enumeration |
| NAME | namespace |
| WORD | wordwrap |
| LONG | longhorn |
| TEXT | texturebelt |
| LINK | links2url |
| BUF8 | BUF8 |
Solution of the trouble
Even if your project's name starts with 4 first letters that are listed in table 1, you can just change the Name tag value in your .rss file. For example:
NAME ENU2
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| image loading latency | metebalci | Mobile Java Media (Graphics & Sounds) | 2 | 2005-05-14 18:22 |
| the file 'HelloWorld.rsg' cannot be opened | pr1cey | Carbide.c++ and CodeWarrior Tools | 29 | 2007-03-09 05:52 |
| Carbide.vs 3.0.1 now released! | mitts | Symbian Tools & SDKs | 1 | 2008-02-01 08:53 |
| Carbide + Subclipse: Importing projects (MMP) | psuwara | Carbide.c++ and CodeWarrior Tools | 1 | 2007-01-18 15:34 |
| Show outline trouble | epocware | Carbide.c++ and CodeWarrior Tools | 1 | 2008-03-31 01:46 |
