Read-only archive of the All About Symbian forum (2001–2013) · About this archive

[VS2003]BMCONV - Bad destination file!

0 replies · 2,814 views · Started 05 September 2005

Hello guys!

That's my first post so sorry if i'm missing something :P

I'm a newbie to Symbian development and i'm experiencing this issue since this morning: 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


/* [+] */ START BITMAP GFXTest.mbm
/* [+] */ HEADER
/* [+] */ SOURCEPATH ..\images
/* [+] */ SOURCE c12 cursore256.bmp

/* [+] */ END

It doesnt compile anymore. Visual Studio 2003 fails. That's my build log:

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
Converting bitmaps...
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\system\apps\GFXTest\GFXTest.mbm /c12\KG\GFXTest\images\cursore256.bmp
BMCONV version 112.
Compiling...
Multiple bitmap store type: File store
Epoc file: \Symbian\8.1a\S60_2nd_FP3_B\Epoc32\release\winscw\UDEB\z\system\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\system\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!