Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User quatban's Avatar
    Join Date
    Sep 2006
    Posts
    5
    When I build my project, the compile process is OK, but in link process the following error occur:
    Error in linking: Object reference not set to an instance of an object.
    FepSetup : error PRJ0003 : Error spawning 'link.exe'.
    Please help me.

  2. #2

  3. #3
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,234
    Hello quatban,

    Please list down yr whole error code.
    So that by looking at yr error code somebody may help u.

    Regards.
    Kiran.

  4. #4
    Registered User quatban's Avatar
    Join Date
    Sep 2006
    Posts
    5
    That is not a syntax or usage error, it occur when the link process is on work.
    In my source, I have a statement that call AvailableFepsL method of CCoeEnv. Its prototype as follow: IMPORT_C void AvailableFepsL(RArray< TUid > &aUids, CDesCArray *aDisplayNames);
    I declare two variable: RArray<TUid> ra and CDesCArray* da to pass into this method. I think it may be cause that error, right?
    I am looking forward your answer.
    Thanks.

  5. #5
    Super Contributor antonypr's Avatar
    Join Date
    May 2003
    Location
    Vancouver, Canada
    Posts
    985
    Are you using Visual Studio C++ to compile the project? It seems there is a problem with your PATH.

    Usually before running any Symbian build scripts, you have to run vcvars32.bat or vsvars32.bat from the command line. It will setup all necessary PATH configuration.

    Antony

Similar Threads

  1. Basic Link.exe Problem
    By awasthi_vivek in forum Symbian Tools & SDKs
    Replies: 25
    Last Post: 2006-10-23, 14:27
  2. 请教 Link.exe
    By kingsjoy in forum Symbian
    Replies: 2
    Last Post: 2005-10-15, 11:17
  3. Basic helloworld link.exe problem
    By jowsaki in forum Symbian Tools & SDKs
    Replies: 8
    Last Post: 2004-08-17, 17:59
  4. error about 'LINK.EXE' in Hello world
    By kaitree in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2004-07-12, 16:55
  5. Replies: 11
    Last Post: 2004-01-16, 05:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved