Carbide: how to copy data files to the emulator directory
From Forum Nokia Wiki
Introduction
Sometimes it is necessary to use external files in an application, for example, .jpeg files for sprites in a game.
The PRJ_EXPORTS section of the bld.inf file can be used to specify files to be copied to the emulator directory. For example:
PRJ_EXPORTS "..\data\alien1.jpeg" "\Epoc32\winscw\c\private\eb4e3a98\alien1.jpeg"
That line instructs the build process to copy the alien1.jpeg file from the project data folder to the specified emulator directory. However, when using current versions of Carbide (c++ and vs, for Windows), this section is ignored during the build process.
A possible workaround for this problem is to create a simple script file (.bat under Windows) to compile the project using the command-line tools, which correctly copies the data files to the emulator directory.
Here is the script file content:
bldmake bldfiles abld build winscw udeb
Then, just click on the script file and the files will be copied. With this workaround, you can avoid having to manually copy the files.
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 6131 NFC with File API (JSR075) | mariosas | Near Field Communication | 7 | 2007-06-18 09:29 |
| Icon files in S60 3rd MR and Carbide.vs 3.0 | akrapacs | Symbian Tools & SDKs | 7 | 2008-01-29 08:34 |
| Prob. with Carbide Dev. build process: deletes other files | Ishibo San | Carbide.c++ and CodeWarrior Tools | 0 | 2006-10-19 15:00 |
| Carbide.ui Loading Error | mikatechs | Graphics & Video & Streaming | 3 | 2006-10-30 12:46 |
| NDS causes my app to crash immediately | aehrath | Symbian Tools & SDKs | 3 | 2005-05-31 09:37 |
