×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2003
    Location
    seattle
    Posts
    32

    camera app compilation problems

    I downloaded the camtimer_app.zip, founded at http://www.forum.nokia.com/main/0,6566,1_32_30,00.html.

    compilation steps:
    1) makmake camtimer ARMI
    2) nmake -f camtimer.ARMI

    When I tried to compile the camera sample app - using the nmake command above - I get the following compilation errors:

    --------------------- error begin ----------------
    cl.exe /MDd /Zi /Od /nologo /Zp4 /W4 /X /FR"\Symbian\Series60_1_2_CW\EPOC32\BUILD\UNZIPPED\CAMTIMER_AP
    P\CAMTIMER\GROUP\CAMTIMER\WINS\UDEB/" /Fd"\Symbian\Series60_1_2_CW\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\CAMT
    IMER\CAMTIMER.pdb" /D _DEBUG /D _UNICODE /D "__SYMBIAN32__" /D "__VC32__" /D "__WINS__" /D "__AVKON_ELAF__" /D
    "__DLL__" /I "\UNZIPPED\CAMTIMER_APP\CAMTIMER\INC" /I "\Symbian\Series60_1_2_CW\EPOC32\INCLUDE" /Fo"\Symbian
    \Series60_1_2_CW\EPOC32\BUILD\UNZIPPED\CAMTIMER_APP\CAMTIMER\GROUP\CAMTIMER\WINS\UDEB/" /GF /c "\UNZIPPED\CAMT
    IMER_APP\CAMTIMER\SRC\Camtimer.cpp"
    Camtimer.cpp
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(120) : error C2433: 'RMdaTimer' : 'friend' not permi
    tted on data declarations
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(120) : error C2501: 'RMdaTimer' : missing storage-cl
    ass or type specifiers
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(121) : error C2433: 'RMdaTimerFactory' : 'friend' no
    t permitted on data declarations
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(121) : error C2501: 'RMdaTimerFactory' : missing sto
    rage-class or type specifiers
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(292) : error C2143: syntax error : missing ',' befor
    e '&'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(292) : error C2143: syntax error : missing ',' befor
    e '&'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(292) : error C2143: syntax error : missing ',' befor
    e '&'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(292) : error C2143: syntax error : missing ',' befor
    e '&'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(292) : error C2556: 'void RMdaTimer::Open(const int)
    ' : overloaded function differs only by return type from 'TInt RMdaTimer::Open(const int)'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(292) : see declaration of 'RMdaTimer::Open'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(292) : error C2371: 'RMdaTimer::Open' : redefinition
    ; different basic types
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(292) : see declaration of 'RMdaTimer::Open'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(292) : error C2061: syntax error : identifier 'aPare
    nt'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(292) : error C2059: syntax error : ')'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(292) : error C2143: syntax error : missing ')' befor
    e ';'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(292) : warning C4183: 'AsynchCreateMessage': missing
    return type; assumed to be a member function returning 'int'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(292) : error C2628: 'RMdaTimer' followed by 'void' i
    s illegal (did you forget a ';'?)
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(292) : error C3861: 'CancelCreateMessage': identifie
    r not found, even with argument-dependent lookup
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(293) : error C3861: 'SynchPackage': identifier not f
    ound, even with argument-dependent lookup
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(293) : error C2270: 'NowL' : modifiers not allowed o
    n nonmember functions
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(293) : error C3861: 'SynchPackageL': identifier not
    found, even with argument-dependent lookup
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(293) : error C2270: 'Now' : modifiers not allowed on
    nonmember functions
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(293) : error C3861: 'AsynchPackage': identifier not
    found, even with argument-dependent lookup
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(293) : error C2270: 'CancelNow' : modifiers not allo
    wed on nonmember functions
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(293) : error C3861: 'CancelMessage': identifier not
    found, even with argument-dependent lookup
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(298) : error C2059: syntax error : '}'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(298) : error C2143: syntax error : missing ';' befor
    e '}'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(298) : error C2059: syntax error : '}'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.inl(35) : error C2248: 'RMdaObject::iObjectHandle' : c
    annot access private member declared in class 'RMdaObject'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(113) : see declaration of 'RMdaObject::iObje
    ctHandle'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(78) : see declaration of 'RMdaObject'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.inl(36) : error C2248: 'RMdaObject::iSession' : cannot
    access private member declared in class 'RMdaObject'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(112) : see declaration of 'RMdaObject::iSess
    ion'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(78) : see declaration of 'RMdaObject'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.inl(39) : error C2039: 'At' : is not a member of 'RMda
    Timer'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(289) : see declaration of 'RMdaTimer'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.inl(41) : error C3861: 'AsynchMessage': identifier not
    found, even with argument-dependent lookup
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.inl(44) : error C2039: 'After' : is not a member of 'R
    MdaTimer'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(289) : see declaration of 'RMdaTimer'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.inl(46) : error C3861: 'AsynchMessage': identifier not
    found, even with argument-dependent lookup
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.inl(49) : error C2039: 'CancelAt' : is not a member of
    'RMdaTimer'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(289) : see declaration of 'RMdaTimer'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.inl(51) : error C3861: 'CancelMessage': identifier not
    found, even with argument-dependent lookup
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.inl(54) : error C2039: 'CancelAfter' : is not a member
    of 'RMdaTimer'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.h(289) : see declaration of 'RMdaTimer'
    \Symbian\Series60_1_2_CW\epoc32\include\Mda\Client\Base.inl(56) : error C3861: 'CancelMessage': identifier not
    found, even with argument-dependent lookup
    NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
    Stop.

    --------------------------------------- error end---------------------

    I am clueless as to what these errors mean and how to get around them. Please help!!!!

  2. #2
    Registered User
    Join Date
    Nov 2003
    Location
    seattle
    Posts
    32
    Please disregard my question. I found out what the problem was. I was using a corrupted set of header files.

Posting Permissions

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