I'm a newbie to Symbian development and i'm experiencing this issue since yesterday and i really cant figure out what's wrong: i created a standard Document/View project and it came without any bitmap in it. To load bitmaps from code, i needed to compile the mbm file (right?); after i've added this section to my mmp project file
It doesnt compile anymore. Visual Studio 2003 fails. That's my build log:
/* [+] */ START BITMAP GFXTest.mbm
/* [+] */ HEADER
/* [+] */ SOURCEPATH ..\images
/* [+] */ SOURCE c12 cursore256.bmp
/* [+] */ END
Updating GFXTest.mmp based on Deb_S60_23_WINSCW
Making a backup of the mmp file with the name 'GFXTest.mmp'.bak
Mmp file has been updated
WINS (emulator) build
------ Build started: Project: GFXTest, Configuration: Deb_S60_23_WINSCW Win32 ------
Performing Pre-Build Event...
* Current build configuration: WINSCW UDEB
epocroot = \Symbian\8.1a\S60_2nd_FP3_B\
* C:\Symbian\8.1a\S60_2nd_FP3_B\epoc32\tools\bmconv.exe /h\KG\GFXTest\inc\GFXTest.mbg \Symbian\8.1a\S60_2nd_FP3_B\Epoc32\release\winscw\UDEB\z\syst em\apps\GFXTest\GFXTest.mbm /c12\KG\GFXTest\images\cursore256.bmp
BMCONV version 112.
Multiple bitmap store type: File store
Epoc file: \Symbian\8.1a\S60_2nd_FP3_B\Epoc32\release\winscw\UDEB\z\syst em\apps\GFXTest\GFXTest.mbm
Bitmap file 1 : /c12\KG\GFXTest\images\cursore256.bmp
Bad destination file(s).
ERROR: RCMake failed: (Bitmaps): bmconv.exe failed with code 5
Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."
Build log was saved at "file://i:\Kg\GFXTest\Deb_S60_23_WINSCW\BuildLog.htm"
GFXTest - 1 error(s), 0 warning(s)
---------------------- Done ----------------------
Build: 0 succeeded, 1 failed, 0 skipped
I found out by executing "bmconv.exe /h\KG\GFXTest\inc\GFXTest.mbg \Symbian\8.1a\S60_2nd_FP3_B\Epoc32\release\winscw\UDEB\z\syst em\apps\GFXTest\GFXTest.mbm /c12\KG\GFXTest\images\cursore256.bmp" that the problem is given by the destination path... if i stick a "c:" before the "\Symbian\..." thing it works. But just on command line... IDE compilation still doesnt work!
Thanks in advance!