×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,538

    Integrating LeaveScan tool

    Hi,

    While checking one of the documents in the coding tips from developer.symbian.com, I came accross the existance of LeaveScan tool.

    How do I integrate this in carbide??

    Thanks in advance

  2. #2
    Registered User
    Join Date
    Jul 2007
    Location
    Oulu, Finland
    Posts
    3

    Unhappy Re: Integrating LeaveScan tool

    My Leavescan integration used to work but now it's broken. I'm getting the following error message in Carbide.c++ (Express). What might it mean?

    ***Running leavescan on file "C:\Symbian\Carbide\workspace\Foo\src\app\Bar.cpp" for project "Foo".
    C:\WINDOWS\system32\cmd.exe /c leavescan.exe -n C:\Symbian\Carbide\workspace\Foo\src\app\Bar.cpp
    Sorry, \epoc32\tools\leavescan.exe is not supported in this release. Please use a different device. Use 'devices' to view the available devices.

    Nothing has been changed since the last time it worked.

    These are my devices:
    C:\Symbian\Carbide\workspace\Foo>devices
    S60_2nd_FP2:com.nokia.Series60 (alias s6022)
    S60_2nd_FP3:com.nokia.series60 (alias s6023)
    S60_3rd_FP1:com.nokia.s60 (alias s6031) - default

  3. #3
    Super Contributor
    Join Date
    Jul 2006
    Location
    Oulu, Finland.
    Posts
    1,174

    Re: Integrating LeaveScan tool

    Check this link, it discuss SymScan with Carbide, its almost similar to LeaveScan :
    http://blogs.forum.nokia.com/view_entry.html?id=389

  4. #4
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,538

    Re: Integrating LeaveScan tool

    Quote Originally Posted by vasant21 View Post
    Check this link, it discuss SymScan with Carbide, its almost similar to LeaveScan :
    http://blogs.forum.nokia.com/view_entry.html?id=389
    Thanks for the solution Vasant. I had never got back to integrate any tools after that as that time(when I started this thread) I realised that I was too new to handle it Guess now I can

    Cheers
    Neil

  5. #5
    Registered User
    Join Date
    Jul 2007
    Location
    Oulu, Finland
    Posts
    3

    Re: Integrating LeaveScan tool

    Quote Originally Posted by vasant21 View Post
    Check this link, it discuss SymScan with Carbide, its almost similar to LeaveScan :
    http://blogs.forum.nokia.com/view_entry.html?id=389
    Thank you. I already have installed SymScan but it doesn't have all the features that Leavescan has. For example SymScan doesn't check that functions have (or have not) the trailing L in their name if they should (or shouldn't) have it. This, again, has effect on using the CleanupStack where the function call is made.

    I only want to know why it doesn't work and what does that error message even mean.

  6. #6
    Super Contributor
    Join Date
    Jul 2006
    Location
    Oulu, Finland.
    Posts
    1,174

    Re: Integrating LeaveScan tool

    Then this link might help you:
    http://newlc.com/Integrating-LeaveScan-into.html.

    If somehow you are not able to integrate LeaveScan with carbide then you may also use command line to check each file separetly, not done though..

  7. #7
    Registered User
    Join Date
    Jul 2007
    Location
    Oulu, Finland
    Posts
    3

    Re: Integrating LeaveScan tool

    Solved. For some reason or another, Carbide had "forgotten" the Leavescan directory.

  8. #8
    Nokia Developer Expert
    Join Date
    Dec 2004
    Location
    Austin, TX
    Posts
    399

    Re: Integrating LeaveScan tool

    If you get an error when running leavescan from Carbide that looks like this:

    Sorry, \epoc32\tools\leavescan.exe is not supported in this release. Please use a different device. Use 'devices' to view the available devices.

    It's becuase it's calling the leavescan stub instead of the real leavescan and possibly your default SDK doesn't really have leavescan. To fix it, find the real leavescan under your latest SDK's \epoc32\tools\ folder and point the path in the Leavescan Preferences there. Or you might just be able to put the real leavescan under C:\program files\common files\symbian\tools.

    Tim

Similar Threads

  1. Linking on Symbian OS 9.1 - error E1035 from elf2e32 tool
    By juliand77 in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2007-10-18, 12:55
  2. Tool exit status codes on "make"
    By newnb in forum Symbian
    Replies: 0
    Last Post: 2006-10-02, 21:55
  3. Replies: 1
    Last Post: 2006-09-08, 07:05
  4. TIP: Integrating LeaveScan into CW 3.0
    By timm-ah in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2005-04-20, 20:30
  5. web tool for device optimizations
    By goscho in forum Browsing and Mark-ups
    Replies: 6
    Last Post: 2005-01-31, 14:01

Posting Permissions

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