×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    9

    header files cannot be opened

    hi,

    I am developing an s60 application(s60 3rd edition) in carbide.express using c++. I have installed the s60 3rd edition MR sdk and carbide.c++ edition v1.1 for application development. I am trying to build the application using this ide but i am getting the following errors repeatedly:

    the file stdio.h cannot be opened.
    the file errorno.h cannot be opened.
    the file string.h cannot be opened.
    the file fstream.h cannot be opened.
    .
    .
    .
    .

    Since these header files are included in many cpp files, the errors are repeating. Where do we change or specify the path information of these files.
    I am new to this symbian application development. Please clear my doubt and give me the solution.

    And one more question, Can i use Microsoft Visual Studio 6.0 to develop my application for s60 3rd edition?

    Thanks in advance,
    Ambika.

  2. #2
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: header files cannot be opened

    hi,

    u need to include this line in ur mmp file

    SYSTEMINCLUDE \epoc32\include\libc


    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  3. #3
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    Re: header files cannot be opened

    Quote Originally Posted by rkambika
    hi,

    I am developing an s60 application(s60 3rd edition) in carbide.express using c++. I have installed the s60 3rd edition MR sdk and carbide.c++ edition v1.1 for application development. I am trying to build the application using this ide but i am getting the following errors repeatedly:

    the file stdio.h cannot be opened.
    the file errorno.h cannot be opened.
    the file string.h cannot be opened.
    the file fstream.h cannot be opened.
    .
    .
    .
    .

    Since these header files are included in many cpp files, the errors are repeating. Where do we change or specify the path information of these files.
    I am new to this symbian application development. Please clear my doubt and give me the solution.

    And one more question, Can i use Microsoft Visual Studio 6.0 to develop my application for s60 3rd edition?

    Thanks in advance,
    Ambika.
    Check whether the paths you specified to these header files are correct.

    generally these headers are in \include\libc directory

    Peter

  4. #4
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: header files cannot be opened

    hi,

    sorry i didn't anwer ur last question.

    u cannot use Vc6 for 3rd edition ,better is using carbide or codewarrior IDE..

    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  5. #5
    Registered User
    Join Date
    May 2007
    Posts
    9

    Re: header files cannot be opened

    hi,

    i have tried with the line(SYSTEMINCLUDE \epoc32\include\libc which you have mentioned in your reply.

    Still i am getting the same errors.

    Thanks,
    Ambika.

  6. #6
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: header files cannot be opened

    hi ambika,

    check in this path whether ur required header files are present in this path or not.
    C:\Symbian\9.1\S60_3rd_MR\Epoc32\include\libc

    then

    go to ur .mmp file
    check for this line

    SYSTEMINCLUDE \Epoc32\include \epoc32\include\libc
    save ur mmp clean and rebuild and reimport should link to the headers.

    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  7. #7
    Registered User
    Join Date
    May 2007
    Posts
    9

    Re: header files cannot be opened

    Hi,

    I had gone through all the steps as instructed by you. But i am not getting positive result.

    You asked me to clean and rebuild and reimport. I did the clean and rebuild process but not reimported. Because i am not able to import my project. When i try to import my project, I am getting the error, CTags not installed. So i am just opening the workspace and working with my application.

    Thanks for ur quick replies,
    Ambika.

  8. #8
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: header files cannot be opened

    well,

    u need to reimport the project to see the changes made to the mmp file.

    Regards,
    Mateen Maldar
    Last edited by mateen_maldar; 2007-05-23 at 11:42. Reason: wrongly typed
    "Whatever the mind can conceive and believe, the mind can achieve"

  9. #9
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    67

    Smile Re: header files cannot be opened

    Hi,
    SYSTEMINCLUDE \epoc32\include\libc

    is working fine for me all my header problem gone......
    might be you will have different problem.....
    i have added in my exe .
    Regards,
    Amjed

    " The Greatest Pleasure of LIFE is doing , What people say you Can't DO...!! "

  10. #10
    Registered User
    Join Date
    Jul 2006
    Posts
    16

    Re: header files cannot be opened

    I also come to this problem ,
    part of the original Melib.mmp is following :

    /*& START_SEARCH_PATHS &*/
    // NOTE: Content in this section is auto-generated, any changes are overwritten in the next update process.
    SYSTEMINCLUDE \epoc32\include
    USERINCLUDE ..\..\include ..\..\platforms ..\..\include\common ..\..\symbian ..\inc
    #if (defined(__HIDE_WATCHER_API_V1__) && !defined(EPOC32)) || (defined(EPOC32) && defined(__HIDE_WATCHER_API_V1__) && !defined(MARM_ARMI))
    SYSTEMINCLUDE \epoc32\include\variant
    #endif
    #if (defined(EPOC32) && defined(__HIDE_WATCHER_API_V1__) && !defined(MARM_ARMI))
    SYSTEMINCLUDE \epoc32\include\libc
    #endif
    /*& END_SEARCH_PATHS &*/

    should it be modified to this ?
    /*& START_SEARCH_PATHS &*/
    // NOTE: Content in this section is auto-generated, any changes are overwritten in the next update process.
    SYSTEMINCLUDE \epoc32\include \epoc32\include\libc
    USERINCLUDE ..\..\include ..\..\platforms ..\..\include\common ..\..\symbian ..\inc
    #if (defined(__HIDE_WATCHER_API_V1__) && !defined(EPOC32)) || (defined(EPOC32) && defined(__HIDE_WATCHER_API_V1__) && !defined(MARM_ARMI))
    SYSTEMINCLUDE \epoc32\include\variant
    #endif
    #if (defined(EPOC32) && defined(__HIDE_WATCHER_API_V1__) && !defined(MARM_ARMI))
    SYSTEMINCLUDE \epoc32\include\libc
    #endif
    /*& END_SEARCH_PATHS &*/


    thanks!!!

Similar Threads

  1. Not able to include header files when import the .mmp file from the symbian example
    By amitjigupta in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2006-09-11, 13:08
  2. Replies: 3
    Last Post: 2006-08-29, 07:09
  3. can anybody provide missing header files
    By jain_1982s in forum General Messaging
    Replies: 0
    Last Post: 2005-02-11, 07:03
  4. Restricting the scope of shown header files
    By smueller in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-01-11, 16:36
  5. WAP upload / Content-Type header is lost at WAP gateway
    By rabai in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2004-02-24, 11:59

Posting Permissions

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