×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Carbide.c++ express import of .mmp "Error detected on token usage"

    Carbide.c++ express import of .mmp "Error detected on token usage"
    I was attempting to import a UIQ project when I got this Error.

    Problem: Yes it MAY be a vaild error but where or what is the symbol.

    Please send the error symbol or the text line to the problems console

    I cannot find the error without documentation on what is the invalid symbol.

    I will find it by eliminating whats right/wrong but this is 2 hours work and time wasted for such a simple error.

    I am putting in the code to of .mmp to allow Carbide developers to see the carbide error an perhaps cahnge the error message in future versions.


    PHP Code:
    // DynGuiElem.mmp
    //
    //

    TARGET          DynGuiElem.app
    TARGETTYPE      app
    UID             0x100039ce 0x10208E5E

    TARGETPATH      
    \system\apps\DynGuiElem

    SOURCEPATH      
    ..\group

    USERINCLUDE     
    ..\inc

    RESOURCE        DynGuiElem
    .rss

    SOURCEPATH      
    ..\src

    SYSTEMINCLUDE   
    \epoc32\include

    SOURCE          DynGuiElem.cpp
    SOURCE          DynGuiElem_Application
    .cpp
    SOURCE          DynGuiElem_AppUi
    .cpp 
    SOURCE          DynGuiElem_ViewOne
    .cpp
    SOURCE          DynGuiElem_ViewTwo
    .cpp
    SOURCE          DynGuiElem_ViewThree
    .cpp
    SOURCE          DynGuiElem_ViewFour
    .cpp
    SOURCE          DynGuiElem_Document
    .cpp
    SOURCE          MyInfoWin
    .cpp

    LIBRARY         euser
    .lib
    LIBRARY         apparc
    .lib
    LIBRARY         cone
    .lib
    LIBRARY         eikcore
    .lib
    LIBRARY            qikctl
    .lib
    LIBRARY            eikcoctl
    .lib
    LIBRARY            bafl
    .lib
    LIBRARY            egul
    .lib
    LIBRARY            eikctl
    .lib
    LIBRARY            eikdlg
    .lib


    START BITMAP DynGuielem
    .mbm
    HEADER
    TARGETPATH   
    \system\apps\DynGuiElem
    SOURCEPATH   
    ..\Images
    SOURCE       2  img_m
    .bmp
    SOURCE       c8 img_0
    .bmp
    SOURCE       c8 img_1
    .bmp
    END


    // AIF filename
    AIF  DynGuiElem.aif ..\aif DynGuiElemAif.rss \
        
    c8 DynGuiElem.bmp DynGuiElem_m.bmp 
    Thanks,
    Jim

  2. #2
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Unhappy Re: Carbide.c++ express import error: How to find error

    Hi,
    For those of you looking for an answer to the import errors ,or how to get round the error.
    Simply come out of carbide and do this line

    C:\DynGuiElem\DynGuiElem\group>abld build thumb urel

    and I get

    WARNING: Can't find following headers in System Include Path
    <QIKDOCUMENT.H> <QIKAPPLICATION.H> <QIKAPPUI.H>
    (Sys Inc Paths "\Symbian\8.1a\S60_2nd_FP3\EPOC32\INCLUDE\")
    Dependency list for "\DYNGUIELEM\DYNGUIELEM\SRC\DYNGUIELEM.CPP" may be incomplete

    and

    In file included from ..\SRC\Dynguielem.cpp:5:
    ..\INC\DynGuiElem.h:10: qikdocument.h: No such file or directory
    ..\INC\DynGuiElem.h:11: qikapplication.h: No such file or directory
    ..\INC\DynGuiElem.h:12: qikappui.h: No such file or directory

    These errors in the problem console window would be so much better than

    "Error detected on token usage"

    Well this obivously means "..\INC\DynGuiElem.h:10: qikdocument.h: No such file or directory"


    Jim

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,697

    Re: Carbide.c++ express import error: How to find error

    S60 SDK-s do not contain UIQ-specific headers. As a first step, try replacing qiksomething.h with the corresponding aknsomething.h (akndoc, aknapp, aknappui). After a while it will complain about non-existing classes such as C...Application, C...AppUi, C...Document (where the ... is UIQ-specific - I do not know -, replace it with Akn). And so on...

  4. #4
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Re: Carbide.c++ express import of .mmp "Error detected on token usage"

    Well at least Carbide.C++ Developer imports.mmp file and find the error and sends it to the screen and its Sensible error mesage!. Its Right UIQ_2_1 is and old TARGETTYPE.


    Severity Description Resource In Folder Location Creation Time Id 1 Importer limitation - TARGETTYPE app is deprecated in Symbian OS 9.x DynGuiElem 18 September 2006 17:13:59 0
    Jim

Similar Threads

  1. Import .mmp
    By PankajNeve in forum Symbian
    Replies: 7
    Last Post: 2006-08-09, 14:08
  2. SocketConnection Work on 6600&Emulators BUT NOT IN 6680
    By eerant in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2006-03-11, 00:35
  3. Tips on using NDS 1.1
    By mitts in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2006-01-18, 16:07
  4. can't seem to import .mmp file in CW
    By bubb13s in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2005-06-07, 08:41
  5. Codewarrior import .mmp error
    By serenade in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-02-21, 20:06

Posting Permissions

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