-
mbm missing
hi all,,
presently am working on symbian c++ s60 3rd edition applications. Now we hav switched our ide to carbide.c++ version.1.3. while trying to create mbm using its mmp editor,,, mbm was missing even if following code was updated into the mmp editor..
[code - inside mmp file ]
START BITMAP test.mbm
TARGETPATH resource\apps
HEADER
SOURCEPATH ..\testimg
SOURCE c8,1 sampl.bmp sampl_mask.bmp
END
but couldn't find mbm file and mbg file ..
waiting for ur speedy reply.
thnx
aswathy.
-
Re: mbm missing
Refresh, then clean the project. Build again and look for the file or for some error message in the console.
-
Re: mbm missing
hi ltomuta ,,
thnx 4 ur speedy reply .. i hav done all the steps mentioned above.. Also no error was showing in the console window topoo,,, .Still these files r missng. checked the epoc32/include path ,, which was set as default for mbg file..
still the files r missing.. any help frm ur part wud be appreciated.
thnx,
aswathy.
-
Re: mbm missing
Hi,
I see some problem at this line.
SOURCE c8,1 sampl.bmp sampl_mask.bmp
just remove ,1
use something like as follows:
START BITMAP my.mbm
HEADER
TARGETPATH \Resource\Apps //Target path of .mbm file
SOURCEPATH ..\images // Source path for icons to buil dmbm file
SOURCE c24 MyImg_Small.bmp
SOURCE 8 MyImg_Small_mask.bmp
SOURCE c24 MyImg_Large.bmp
SOURCE 8 MyImg_Large_mask.bmp
END
-
Re: mbm missing
I would try one of the following:
- use of Carbide.c++'s add MBM entry wizard (right click on .MMP or .MK file to get access to it)
- use of hand made extension makefiles
- command line build with "-v" added to all commands and a careful inspection of the output
-
Re: mbm missing
NevePankaj,,
thnx 4 ur reply . as per ur code ,, i hav edited the mmp file (even if am using default mmp editor)..still failed to generate files..
pls find the code below .. i hav bmp files in app's gfx folder.
START BITMAP test.mbm
HEADER
TARGETPATH \resource\apps
SOURCEPATH ..\gfx
SOURCE c8 sampl.bmp .bmp
SOURCE 1 sampl.bmp_mask.bmp
END
is that anything to do with compiler. once again thnx 4 ur help.
aswathy.
-
Re: mbm missing
[QUOTE=NevePankaj;446571]Hi,
I see some problem at this line.
SOURCE c8,1 sampl.bmp sampl_mask.bmp
[/QUOTE]
No problem there I'm afraid...
-
Re: mbm missing
Try doing like...
insted of 1 bit for mask image use 8 bit.
-
Re: mbm missing
The addition of the following statements to the MMP file
[CODE]
START BITMAP Test.mbm
TARGETPATH resource\apps
HEADER
SOURCEPATH ..\gfx
SOURCE c24,1 b.bmp b_msk.bmp
END
[/CODE]
has the following result
[CODE]
***Invoking abld command
perl.exe -S ABLD.PL \Work\Test\group\ resource winscw udeb
make -r -f "\Symbian\9.3\S60_3rd_FP2_SDK\EPOC32\BUILD\Work\Test\group\WINSCW.make" RESOURCE CFG=UDEB VERBOSE=-s
[COLOR="Red"]Created \Symbian\9.3\S60_3rd_FP2_SDK\epoc32\include\Test.mbg
Created \Symbian\9.3\S60_3rd_FP2_SDK\epoc32\release\WINSCW\udeb\z\resource\apps\Test.mbm
[/COLOR]make -s -C \Work\Test\group -f "ICONS_SCALABLE_DC.MK" TO_ROOT=..\..\.. EPOCBLD=..\..\..\Symbian\9.3\S60_3rd_FP2_SDK\EPOC32\BUILD\Work\Test\group\ICONS_SCALABLE_DC\WINSCW TO_BLDINF=..\..\..\Work\Test\group PLATFORM=WINSCW CFG=UDEB RESOURCE
make -s -C \Work\Test\HELP -f "BUILD_HELP.MK" TO_ROOT=..\..\.. EPOCBLD=..\..\..\Symbian\9.3\S60_3rd_FP2_SDK\EPOC32\BUILD\Work\Test\group\BUILD_HELP\WINSCW TO_BLDINF=..\..\..\Work\Test\group PLATFORM=WINSCW CFG=UDEB RESOURCE
make -s -r -f "\Symbian\9.3\S60_3rd_FP2_SDK\EPOC32\BUILD\Work\Test\group\TEST\WINSCW\TEST.WINSCW" RESOURCEUDEB
[/CODE]
-
Re: mbm missing
hi all,,
there was no mbm file creation command in the console window but not showing any errors . Also tried giving 8 bit image mask instead of 1 bit mask. Still not working . wat could be the reason.. am using carbide.c++ version .v.1.3 . is there any thind to do with compiler/build settings ??? plsss advice..
thnx ,
aswathy.
-
Re: mbm missing
Hi Sheenaj,
go to your application group directory from command prompt.
and give these command..
[QUOTE=sheenaj;446625]hi all,,
there was no mbm file creation command in the console window but not showing any errors . Also tried giving 8 bit image mask instead of 1 bit mask. Still not working . wat could be the reason.. am using carbide.c++ version .v.1.3 . is there any thind to do with compiler/build settings ??? plsss advice..
[/QUOTE]
abld reallyclean
bldmake bldfiles
abld resource .. and report us the output of this command.
and check if there are any errors reported for this command.
if everything is successful
abld build (winscw/gcce/armv5) which ever your building for.
provide more information so that anyone can look at it and respond you back. As told by lucian describes your situation with an example.
Regards,
Mateen Maldar
-
Re: mbm missing
as you are using carbide ide, its easy to create mbm
1st step- create a folder under your project path
and put all your image there.
2nd step - open ur .mmp file, and click source tab.
then look at right side ,
right there one Bitmaps folder'll be there,
3rd step- click Add button , then one MBM/MIF editor'll open
write there target folder name otherwise click default.
then go for AddFromProject button(click)
4th step- you can see your image there what you have put in your project/Folder path.
select and ok..
Save and compile
it'll be created automatically
-
Re: mbm missing
while giving abld reallyclean,, following error occured
\Symbian\Carbide\workspace\test\group> abld reallyclean
ABLD ERROR: "\Symbian\9.1\S60_3rd\EPOC32\BUILD\Symbian\Carbide\workspace\test
\group\ARMV5.make" not yet created
-
Re: mbm missing
You can also try re-importing your project (right-click + Delete - make sure that you "Do not delete contents" -, then File/Import). Currently one or both of Carbide and the toolchain probably believes that the .mbm/.mbg files are already created.
-
Re: mbm missing
[QUOTE=sheenaj;446650]while giving abld reallyclean,, following error occured
\Symbian\Carbide\workspace\test\group> abld reallyclean
ABLD ERROR: "\Symbian\9.1\S60_3rd\EPOC32\BUILD\Symbian\Carbide\workspace\test
\group\ARMV5.make" not yet created[/QUOTE]That is not a problem, it just notifies you that you have not built for ARMV5 yet. The 'clean'/'reallyclean' command of abld.bat also accepts target+release, like 'build' does. If no target+release is specified, it tries to build/clean/reallyclean every possible targets, including the ones you have not used (so the makefile is not generated), or you can not even use (like the ARMV5 target without RVCT).