Undefined identifier ieikonenv)

Source: Internet
Author: User
  1. undefined identifier ieikonenv-#1

    krappies

    Registered User

    Join date
    Aug 2006
    Posts
    3

    Hi
    I am trying to get into Symbian C ++ development. I have no background whatsoever with Symbian.
    I am using carbide. c ++ with a Nokia n91 (s60 3rd edition ).
    the hello World app compile and run perfectly, but when I use ieikonenv-> titlefont (); in my program I get an error: undefined identifier ieikonenv. This happens wherever I have ieikonenv , not only for titlefont ();
    I have this in my appview class.
    Can anyone please shed some light on this as I can not find a solution anywhere.
    thanx

    reply with quote

  2. re: undefined identifier ieikonenv-2006-08-14 13:44 #2

    wizard_hu _

    Forum Nokia champion

    Join date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    21,552

    ieikonenv is a bit tricky: it is not a variable, it is a macro defined in eikdef. H (it is casting the existing icoeenv to a ceikonenv *). make sure it is supported ded (and you may also need to include eikenv. h ).

    reply with quote

  3. re: undefined identifier ieikonenv-2006-08-14 14:10 #3

    krappies

    Registered User

    Join date
    Aug 2006
    Posts
    3

    thanx alot
    I just have not supported Ded the two header files. my tutorial says nothing about them.
    maybe now I can finally get to display my own stuff
    cheers

    reply with quote

  4. re: undefined identifier ieikonenv-#4

    sagar_kasture

    Registered User

    Join date
    Jan 2009
    Posts
    20

    originally posted by wizard_hu _

    ieikonenv is a bit tricky: it is not a variable, it is a macro defined in eikdef. H (it is casting the existing icoeenv to a ceikonenv *). make sure it is supported ded (and you may also need to include eikenv. h ).

    even after including abve 2 files Im having same error. Please suggest me something.

    Sagar kasture

    reply with quote

  5. Re: Undefined identifier ieikonenv-#5

    Kishore84

    Super contributor

    Join date
    Jul 2007
    Posts
    582

    Originally postedSagar_kasture

    Even after including abve 2 files Im having same error. Please suggest me something.

    What is the error msg ??

    Reply with quote

  6. Re: Undefined identifier ieikonenv-#6

    Sagar_kasture

    Registered User

    Join date
    Jan 2009
    Posts
    20

    Error is: Undefined identifier 'icoeenv'
    Im geting it for line
    Cepgappui * Appui = (cepgappui *) ieikonenv-> Appui ();

    Sagar kasture

    Reply with quote

  7. re: undefined identifier ieikonenv-#7

    skumar_rao

    Forum Nokia champion

    Join date
    Mar 2004
    Location
    Singapore
    Posts
    9,383

    originally posted by sagar_kasture

    error is: Undefined identifier 'icoeenv'
    im geting it for line
    cepgappui * Appui = (cepgappui *) ieikonenv-> Appui ();

    on which class you are calling verify that you have a member variable ieikonenv

    reply with quote

  8. re: undefined identifier ieikonenv-#8

    sagar_kasture

    Registered User

    Join date
    Jan 2009
    Posts
    20

    how do I find out if the variable is member of my class. For other classes doing same is working.

    Sagar kasture

    reply with quote

  9. re: undefined identifier ieikonenv-#9

    kishore84

    super contributor

    Join date
    Jul 2007
    Posts
    582

    originally posted by sagar_kasture

    error is: Undefined identifier 'icoeenv'
    im geting it for line
    cepgappui * Appui = (cepgappui *) ieikonenv-> Appui ();

    try this way rather

    code:

     ccoeenv: static ()-> Appui () 

    include apropriate headers and lib

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.