×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    9

    Carbide 1.1 C++ : mbg file problem

    Hi,

    I imported my project(which was built using CW3.1) using Carbide 1.1, and built it. Several errors found which were all

    undefine identifier EMbmXXX

    I checked if mbg file in epoc32\include had any problem, and yes there was. The problem was

    >>> Carbide generated .mbg file
    enum TMbmXXX
    {
    EMbmXXX_A
    };

    >>> CW generated .mbg file
    enum TMbmXXX
    {
    EMbmXXX_A,
    EMbmXXX_B
    EMbmXXX_C
    };

    So it made EMbmXXX_B and C undefined identifier error. I have perl 5.6.1 and buildlog in Carbide didn't show any problem


    'Building file: D:/blabla/group/XXX.mbmdef'
    'Invoking: MBM Compiler'
    perl -S epocmbmdef.pl -p"D:\blabla" -hD:\Symbian\9.1\S60_3rd_MR\EPOC32\include\XXX.mbg -o"D:/Symbian/9.1/S60_3rd_MR/EPOC32/RELEASE/WINSCW/UDEB/Z/Resource/Apps/XXX.mbm" D:/blabla/group/XXX.mbmdef
    'Finished building: D:/blabla/group/XXX.mbmdef'

    And also mbmdef files(generated in group folder) does have several entries (looks ok).

    Can anyone let me know why this thing happens?

    Regards,
    Tay

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    9

    Re: Carbide 1.1 C++ : mbg file problem

    I made test project and made mbmdef manually, adding one by one. But the same problem. Only the first one is listed in .mbg file.

    This is so basic issue... How other's are dealing with this?
    1) make 1 mbm only by 1 bitmap?
    2) does not use bitmap at all in carbide?
    3) does not have this problem at all?
    4) use bmconv and hardcode the order?

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    9

    Re: Carbide 1.1 C++ : mbg file problem

    making a mifdef and adding more svg icons appends .mbg file with additional entries correctly. Why only happening for mbmdef?

  4. #4
    Registered User
    Join Date
    Mar 2006
    Posts
    28

    Re: Carbide 1.1 C++ : mbg file problem

    I have the same problem with 1.0.

    when adding a bitmap and mbmdef the EMbmNameBitmap is missing.

    nobody solve it?

  5. #5
    Registered User
    Join Date
    Jul 2008
    Posts
    1

    Post Re: Carbide 1.1 C++ : mbg file problem

    This happens in Codewarrior. Since in CW if you build the application it wont build mbm data. hence the solution for this is first you need to build in command prompt and then import it will work fine.

  6. #6
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,562

    Re: Carbide 1.1 C++ : mbg file problem

    Quote Originally Posted by shivananda View Post
    This happens in Codewarrior. Since in CW if you build the application it wont build mbm data. hence the solution for this is first you need to build in command prompt and then import it will work fine.
    Welcome to the Forum Shivananda!!

    Am sure the original thread being over a year and half old, and the last post being a year back, those problems might not be impending. Besides with Carbide.c++ 1.3 in the bag, am not sure if those problems faced in 1.1 (or 1.0) are too relevant in these days.

    But keep contributing..better still for the newer threads

    Good Luck!

Similar Threads

  1. A problem with the concept of generating icons in a separate makefile
    By svdwal in forum Tools and SDK Feedback (Closed)
    Replies: 1
    Last Post: 2006-07-19, 10:58
  2. Import\Export Project Problem in Carbide
    By mohsin.sohail in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2006-07-17, 20:20
  3. problem in carbide
    By sameerbkamble in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2006-07-06, 16:48
  4. Common problem: wrong file format "exception"
    By lukaszpl in forum Mobile Java General
    Replies: 0
    Last Post: 2005-12-05, 17:09
  5. Animation problem in 3D(m3g file)
    By Nailos in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2005-07-20, 14:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×