×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    148

    Problem with importing a bld.inf file in Carbide C++ express

    I have a bld.inf file that looks like this

    #ifdef EKA2

    PRJ_PLATFORMS
    WINSCW GCCE ARMV5

    PRJ_MMPFILES
    RecPdf_EKA2.mmp

    #else

    PRJ_MMPFILES
    RecPdf.mmp

    #endif

    This means that there are two mmp files, one for the pre-Symbian 9.1 SDK"s and one for the 9.1 and later SDK's.

    The pre -9.1 sdk recpdf.mmp file looks like
    <<<<
    target RecPDF.mdl
    targettype mdl
    targetpath \system\recogs\

    uid 0x10003A19 0x10005DE7

    sourcepath ..\..\RecPDF\src

    source PDFDataRecognizer.cpp
    source RecPDF.cpp

    userinclude ..\..\RecPDF\src
    systeminclude \EPOC32\INCLUDE

    library EUSER.LIB
    library APMIME.LIB
    >>>>>

    and the post one recpdf_eka2.mmp looks like

    <<<<
    target RecPDF_20000B81.dll
    targettype PLUGIN

    UID 0x10009D8D 0x20000B81

    capability ProtServ


    sourcepath ..\..\RecPDF\src

    source PDFDataRecognizer.cpp
    source RecPDF.cpp


    systeminclude \EPOC32\INCLUDE
    systeminclude \Epoc32\Include\ECom


    sourcepath ..\..\RecPDF\src

    start resource 20000B81.rss

    #ifdef SYMBIAN_SECURE_ECOM

    TARGETPATH \resource\plugins
    TARGET RecPdf_20000B81.rsc

    #endif

    END

    library EUSER.LIB
    library APMIME.LIB
    >>>

    Basically the same files, as there are no real differences between pre and post 9.1 recognizers, apart from using the ECom plugin framework. And that difference is easily handled with some #ifdef's

    If I import the bld.inf file, Carbide complains about a file RecPdf.cpp being imported twice. It isn't, but it is stated in the two mmp files. Apparently Carbide doesn't look at the ifdef's in the bld.inf file. It can't because at that point it doesn't know which SDK is going to be used.

    Importing the eka 1 mmp file works fine. I do get the S60 3rd ed FP1 sdk (which is post Symbian OS 9.1), but I do not have to select it.

    However, Importing the eka 2 mmp file doesn't work. I do not get a list of SDK's in the SDK and build config box. This means I can't import the post 9.1 variant of the project.

  2. #2
    Registered User
    Join Date
    Jul 2005
    Location
    Bangalore
    Posts
    45

    Re: Problem with importing a bld.inf file in Carbide C++ express

    try with importing mmp file it works fine...

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    148

    Re: Problem with importing a bld.inf file in Carbide C++ express

    Quote Originally Posted by rameshguna
    try with importing mmp file it works fine...
    No, only importing the pre 9.1 mmp file works. Importing the post 9.1 mmp file doesn't work because there are no SDK's listed.

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

    Re: Problem with importing a bld.inf file in Carbide C++ express

    Quote Originally Posted by svdwal
    No, only importing the pre 9.1 mmp file works. Importing the post 9.1 mmp file doesn't work because there are no SDK's listed.

    i believe you have answered yourself there

    Good luck
    Cheers
    Neil

  5. #5
    Registered User
    Join Date
    Mar 2003
    Posts
    148

    Re: Problem with importing a bld.inf file in Carbide C++ express

    Quote Originally Posted by Symbian_Neil
    i believe you have answered yourself there

    Good luck
    Cheers
    Neil
    Errr, I am reporting a defect, not asking a question.

  6. #6
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    185

    Exclamation Re: Problem with importing a bld.inf file in Carbide C++ express

    Please help me when I Import Bld.Inf or MMP.file for btobjectexchange source code from Series60Ex also when I edit the codes is appears a message:
    CTags not installed or not in path
    and during build the project I have many errors:
    http://img153.imageshack.us/img153/4...xchangexr1.gif
    Last edited by Zero 6630; 2006-12-07 at 11:26.

Similar Threads

  1. read string from text file problem
    By sim.sim in forum Symbian
    Replies: 9
    Last Post: 2006-05-24, 07:41
  2. problem installing sis file
    By lucidness in forum Symbian
    Replies: 8
    Last Post: 2006-04-20, 17:51
  3. Replies: 1
    Last Post: 2005-05-26, 14:22
  4. problem while making sis file
    By kunal_the_one in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-08-04, 03:36

Posting Permissions

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