This page was last modified 18:52, 23 July 2007.
Carbide.c++ FAQ
From Forum Nokia Wiki
Getting Support
Where can I find the latest information on known problems and workarounds for Carbide.c++?
Read the release notes! Go to Help > Help Contents > Carbide.c++ User Guide > Release Notes. Many common problems are described there, along with workarounds.
How do I submit feedback to the Carbide.c++ Team?
Send all feedback to feedback.carbide@nokia.com.
How do I contact the Carbide.c++ support team?
Questions and bug reports should be entered into the Carbide support site on Forum Nokia at https://pro.forum.nokia.com/myHome.do.
Building Projects
I have a project with hundreds of source files in it. When I try to build it, I get a linker error stating that the command line is too long. How do I fix this?
Shortening the project path should help. Either move it up as many levels as you can or simply rename the project folder and the folders above it so they contain fewer characters. Note that if you change the path you will need to add it to your workspace again via File > Import > Existing Projects Into Workspace.
I just upgraded from Express to Developer/Pro and when I open Carbide I get warnings for an "Invalid Project Paths: Include path not found" and my project won't compile.
Be sure to switch to a different workspace instead of using the same one as you did in Express. You can choose "File" and "Switch Workspace" to create another one.
I get linker errors when I try to use more than one static library in a Carbide.c++ v1.1 project.
This is a known problem with Carbide.c++ version 1.1. To add more than one static library, go into the project's linker preferences and try including the static library in the "Libraries" section instead of the "Static Libraries" section. As long as you are sure to specify the .lib extension it should work. (Otherwise it will assume .dso)
Configuring Carbide
I'm trying to add a cust kit to the SDK Preferences window, but there is no Add button there, only a Remove one. How do I add a cust kit?
This feature is enabled by your license file, so there is probably something wrong with it. Please contact Carbide licensing support at license.carbide@nokia.com so they can help you troubleshoot your license problem.
I changed the variant .hrh file for my SDK but the changes do not appear to take. Why?
The macros from the *.hrh file(s) are collected and cached. To force a re-parse of the *.hrh file(s) you need to rescan SDKs by clicking Window->Preferences->Carbide.c++->SDK Preferences->Rescan All SDKs.
Debugging
How can I debug an executable with one or more DLLs?
In v1.1 open your EXE and all of its DLL projects in Carbide.c++. Build the DLLs. Then select File > Import > Symbian OS Executable, and add each DLL binary to the .EXE project. Then when you debug all your symbolics will be loaded and your EXE and DLL breakpoints will be usable.
In v1.2 an Executables page was added to the launch configuration that automatically makes executables in the workspace available for debugging.
How do I see debug messages with RDebug:Print in the console view?
Check "View Process Output" in the debug configurations panel. With that enabled, the debug messages will be shown in the "Debug Messages" console view.
Why doesn't the emulator debugger stop anymore when the user app panics?
This can be set in the emulator preferences by checking Tools->Preferences->C/C++ Debug->Just in time, or by setting the option directly in the epoc32\data\epoc.ini file by adding the line 'JustInTime debug'.
Importing Projects
I can't import any projects! Every time I try I get a lot of strange errors. What's wrong?
Be sure that there are no spaces in your workspace path. You can change your workspace path by selecting File > Switch Workspace.
When I import an mmp file in carbide I get the warning 'CTags not installed or not in path.' Have you encountered this problem before?
CTags is the default parser that is used in Eclipse, the warning is because you don't have it installed. If you want to get rid of the warning, open up the help system and look in the release notes for the information about this warning. There is a link in the release notes showing where to download CTags.
License Questions
Where can I get answers to any licensing issues?
Send email to license.carbide@nokia.com.
How can I find the MAC address of my computer?
To get the Ethernet MAC address of your Windows computer.
- From the Start Menu select "Run ..."
- Enter "cmd" and click "OK"
- Enter this command and press the Return key
- ipconfig /all
- Look for the "Physical Address". It will look like this.
- Physical Address. . . . . . . . . : 00-0D-60-FC-64-2F
How can I find the disk ID (Volume Serial Number) of my computer?
To get the disk ID of your Windows computer:
- From the Start menu, click "Run..."
- Enter "cmd" and click "OK"
- Enter this command and press the Return key
- vol C:
- You should see a message like this.
- Volume Serial Number is 2879-77B0
Profiler (Performance Investigator)
Is it possible to use the Profiler to see the Device Startup and AppShell Startup times?
Currently this isn't possible with the Developer/Pro versions. However, we are working to make this available in the next version of the tool.
Version Control
I'm using the Subclipse plugin and I get this error: "Workspace Path Validation Error"
Your Eclipse workspace path is c:\Symbian\Carbide\workspace
But the actual file system path is C:\Symbian\Carbide\workspace
The only difference between the two is the capitalized drive letter in the actual file system path. According to http://subclipse.tigris.org/faq.html#path-case, this is an issue with the Eclipse 3.1 (and probably earlier) platform.
It is very important to enter a capitalized drive letter in the workspace path to be able to use this plugin.
Editor
Why pressing the F3 key doesn't lead me to the definition of the symbol?
Try to right click on your project and select property, select "C/C++ Indexer" item and check the detail on right side: "Full C/C++ Indexer" should be the right value.
How do I force Carbide to use spaces rather than tabs?
Change the code style by going to Window->Preferences->C/C++->Code Style->Edit, and then change the tab policy to 'Spaces only'.
Can I apply the code style to existing source?
Yes, you can apply the code style from Window->Preferences->C/C++->Code Style to any text selection, or to an entire file, simply by using Edit->Format.
See also
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java JRE error in Carbide | ash_21 | Carbide.c++ and CodeWarrior Tools | 0 | 2007-09-04 06:00 |
| carbide c++ 1.1 compiling problem | wally_32 | Carbide.c++ and CodeWarrior Tools | 4 | 2008-04-29 19:12 |
| Carbide.c++ 1.3 error - Carbide could not dtermine which edition was installed... | zdenko | Carbide.c++ and CodeWarrior Tools | 1 | 2008-03-11 08:35 |
| Java JRE error in Carbide | ash_21 | Carbide.c++ and CodeWarrior Tools | 0 | 2007-09-04 06:16 |
| What I HATE in CodeWarior Metrowerks 3.1 | stenlik | Carbide.c++ and CodeWarrior Tools | 10 | 2007-01-29 04:42 |
