×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    65

    the file 'time.h' cannot be opened

    Hello all,

    I am writing an application which needs to use "time.h" to count the different time between pressing two phone buttons.
    But the error occurs when I include "time.h". (the file 'time.h' cannot be opened)
    Could anyone help me to solve this problem?

    Thank you

  2. #2
    Registered User
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048

    Re: the file 'time.h' cannot be opened

    Quote Originally Posted by ambkps View Post
    Hello all,

    I am writing an application which needs to use "time.h" to count the different time between pressing two phone buttons.
    But the error occurs when I include "time.h". (the file 'time.h' cannot be opened)
    Could anyone help me to solve this problem?

    Thank you
    Does this file exists in the include folder? First check this.

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: the file 'time.h' cannot be opened

    In your .mmp file, add systeminclude to point to libc folder as follows:

    Code:
    SYSTEMINCLUDE	\epoc32\include\libc
    You may also need to add following library in your .mmp file.

    Code:
    LIBRARY estlib.lib
    Nokia Developer Wiki Moderation team

  4. #4
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    65

    Smile Re: the file 'time.h' cannot be opened

    Quote Originally Posted by kiran10182 View Post
    In your .mmp file, add systeminclude to point to libc folder as follows:

    Code:
    SYSTEMINCLUDE	\epoc32\include\libc
    You may also need to add following library in your .mmp file.

    Code:
    LIBRARY estlib.lib
    Thank you very very much !!!

Similar Threads

  1. [Announce] pygame for S60 for PyS60 1.9.x
    By GameDude in forum Symbian
    Replies: 57
    Last Post: 2011-02-21, 23:18
  2. MBM image is not found
    By tamhanna in forum Symbian
    Replies: 14
    Last Post: 2009-04-20, 12:44
  3. Problem with pyobfuscate
    By JOM in forum Symbian
    Replies: 3
    Last Post: 2008-06-20, 22:47
  4. Contacts fields order??
    By timatima in forum Symbian
    Replies: 1
    Last Post: 2007-06-08, 13:51
  5. File server: Compilation error in carbide.c++
    By justteam in forum Symbian
    Replies: 6
    Last Post: 2007-01-03, 23:44

Posting Permissions

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