×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    17

    How to solve this error?!

    When I try to compile a C++ sdk sample, in VC++ 6.0 it gave me this error:

    --------------------Configuration: addentry - Win32 Debug--------------------
    Compiling...
    addentry.cpp
    e:\symbian\7.0s\series60_v20\examples\appengine\agendamodel\addentry\addentry.cpp(9) : fatal error C1083: Cannot open include file: 'apparc.h': No such file or directory
    Error executing cl.exe.

    addentry.exe - 1 error(s), 0 warning(s)


    thanks!

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: How to solve this error?!

    I think, you should read the help; Symbian projects are not built by importing .h and .cpp files directly...
    Instead, the SDK supplies a special toolchain; start with SDK Help/Series 60/Series 60 Examples/Building and Running the SDK Examples.

  3. #3
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    59

    Re: How to solve this error?!

    In the same folder where the appentry.cpp file is, execute the command-line commands:

    bldmake bldfiles
    abld makefile vc6

    This will make a MSVC++6.0 workspace file (.DSW) in the folder
    Epoc32\Build\
    7.0s\series60_v20\examples\appengine\agendamodel\..

    or something like that. When you run MSVC++6.0, use Open Workspace and find this .DSW file and open it as a workspace. This will set things up for you to build. I gather from your posting you are trying to just open the single file, addentry.cpp, and trying to compile it. As wizard_hu_ said, this will not work.

    Robert Scott
    Ypsilanti, Michigan, USA

Similar Threads

  1. error LNK2001: Please Help
    By sourish_khan in forum Symbian
    Replies: 9
    Last Post: 2006-04-19, 11:16
  2. Compiling error (Urgent)
    By waelali in forum Symbian
    Replies: 2
    Last Post: 2006-02-06, 04:32
  3. User break point error in Grid
    By ag24master in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-08-07, 08:20
  4. Building
    By pacman2000z in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-07-17, 10: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
  •  
×