×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 26
  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    30

    Basic Link.exe Problem

    Hi all,

    What to say abt symbian, u never know where u will be trapped, i am facing a very basic problem and i am sure many of u must have gone through it....
    I am using Borland C++BuilderX Mobile edition as an IDE with the Series 60 SDK 1.2 Borland Verison...Now i have also installed the new series 60 SDK 2.1 Microsoft version...But when i try to compile the Code using the New SDK 2.1 it give me error...
    "Link.Exe is not recognized as an internal or external Command"

    I have tried to set the EPOCROOT path to new SDK but didn't work out..
    Then i Searched for link.exe and i found it at the following path...
    C:\Program Files\Microsoft Visual Studio\VC98\Bin;C:\Program Files\Microsoft Visual Studio\VB98;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;
    I added this path in the windows Envournment variable but this also didn't wrok...

    I am not getting what is the problem....Can any one help me out

    Any help will be apprciated...

    Thanx and Regards
    Vivek Awasthi

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    26

    I have the same problem

    I have the same problem. I try to install the sdk again, but the same thing happened.
    If you have solved, please tell me.
    Thanks any.

  3. #3
    Registered User
    Join Date
    Jul 2004
    Posts
    5
    When building for wins the linker from Microsoft Visual C++ 6.0 or later is needed. But if you don't have it you can still do release builds (arm, thumb) since gcc will then be used.

    For me this path did the trick:

    C:\Program\Microsoft Visual Studio .NET 2003\Vc7\bin

  4. #4
    Registered User
    Join Date
    Sep 2004
    Posts
    4

    I'm having the same problem...

    ... with the SDK2.1 for Series 60 using C++.NET 2003

    It seems like the vc Project files are not created.
    I'm getting a message that link.exe is not found.

    Like Vivek, I tried to add

    C:\Programme\MS Visual Studio.NET 2003\vc7\bin

    to the windows environment variables - which did not work :-)


    PLEASE help!

    Fritz

    (alias gifted mouse chaser)

  5. #5
    Registered User
    Join Date
    Jul 2004
    Posts
    5
    Alright, try to add something like this to the beginning of your path:

    C:\Program\Microsoft Visual Studio .NET 2003\Vc7\bin;C:\Program\Microsoft Visual Studio .NET 2003\Vc7\bin\sdk\v1.1\Bin;C:\Program\Microsoft Visual Studio .NET 2003\Common7\IDE;

    Make sure it's in the beginning and in that order. And replace my folder names with your own. Don't add any quotation marks.

  6. #6
    Registered User
    Join Date
    Sep 2004
    Posts
    4
    Hi trobro,

    thanks! Now it works.

  7. #7
    Registered User
    Join Date
    Sep 2004
    Posts
    3
    For VC6, add these to your path:

    C:\Program files\Microsoft Visual Studio\Common\MSDev98\Bin;
    C:\Program files\Microsoft Visual Studio\Common\Tools;
    C:\Program files\Microsoft Visual Studio\VC98\bin;

  8. #8
    Registered User
    Join Date
    Oct 2004
    Posts
    1
    can any one teach me how to add it to the path

    Thanks

  9. #9
    Registered User
    Join Date
    Oct 2004
    Posts
    8

    :(

    I've added the dictories to the path(VC6), but it still can't work.

    When I typed the commond:abld makefile vc6, a messagebox will come out, saying"can't find MSPDB60.DLL".

    I really dont know what's the problem.

    Help me!

  10. #10
    Registered User
    Join Date
    Nov 2004
    Posts
    37

    Thumbs up Re: Basic Link.exe Problem

    though this thread is quite old....it has some really useful information...i request the moderators of the forum to make this thread as sticky...

    hats off to david and trobro for providing some real good information

  11. #11
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,673

    Re: Basic Link.exe Problem

    Theoretically you are right.
    Practically it is a really weird situation when a developer can not find out that executables (including .dll-s) should be included in the PATH environment variable if the system reports it can not them.

  12. #12
    Regular Contributor
    Join Date
    May 2005
    Location
    Brasov, Romania
    Posts
    431

    Re: Basic Link.exe Problem

    I have two small batch files that I execute at the command line before starting to build.

    2nd edition
    Code:
    set EPOCROOT=\Symbian\7.0s\Series60_v20\
    devices -setdefault @Series60_v20:com.nokia.series60
    "C:\Program Files\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT"
    3rd edition
    Code:
    set EPOCROOT=\Symbian\9.1\S60_3rd_MR\
    devices -setdefault @S60_3rd_MR:com.nokia.s60
    "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat"
    Using these I don't get the link.exe problem.

  13. #13
    Registered User
    Join Date
    Sep 2006
    Posts
    18

    Re: Basic Link.exe Problem

    Hi,

    I have tried all above but none is working. I am giving here some of the lines of the build log:

    c:\Project\Symbian8>erase "C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\release\winscw\udeb\z\system\apps\Symbian8\Symbian8.lib" 2>>nul
    c:\Project\Symbian8>exit
    epocroot = \Symbian\8.1a\S60_2nd_FP3\
    * mwldsym2.exe -msgstyle gcc -stdlib "C:\Symbian\8.1a\S60_2nd_FP3\\Epoc32\release\winscw\udeb\EDLL.LIB" -m "?_E32Dll@@YGHPAXI0@Z" -shared -subsystem windows -g C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\release\winscw\udeb\euser.lib C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\release\winscw\udeb\apparc.lib C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\release\winscw\udeb\cone.lib C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\release\winscw\udeb\eikcore.lib C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\release\winscw\udeb\eikcoctl.lib C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\release\winscw\udeb\avkon.lib C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\release\winscw\udeb\edll.lib -o "C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\release\winscw\udeb\z\\system\apps\Symbian8\Symbian8.app" -f "C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\release\winscw\udeb\z\system\apps\Symbian8\Symbian8.def" -implib "C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\release\winscw\udeb\z\system\apps\Symbian8\Symbian8.lib" -addcommand "out:C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\release\winscw\udeb\z\\system\apps\Symbian8\Symbian8.app" -warnings off -l .\deb_s60_23_winscw -search Symbian8App.o Symbian8AppUi.o Symbian8Container.o Symbian8Container2.o Symbian8Document.o Symbian8View.o Symbian8View2.o symbian8.uid.o
    Symbian8 : error PRJ0003 : Error spawning 'link.exe'.

    I am using Series 60 SDK 2nd edition FP3, Visual studio.NET 2003 as IDE and carbide_vs_201.

    Plz help.

  14. #14
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,673

    Re: Basic Link.exe Problem

    Check if you can run link.exe from a command line.

  15. #15
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Smile Re: Basic Link.exe Problem

    Hello Nitinmajithia,

    May following link would be useful to u:
    http://discussion.forum.nokia.com/fo...ad.php?t=88074

    Just correlate yr case with the above link.

    Regards.
    Kiran.

Posting Permissions

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