1. 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??

2. 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. 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. Re: Integrating LeaveScan tool

Originally Posted by vasant21
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. Re: Integrating LeaveScan tool

Originally Posted by vasant21
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. Re: Integrating LeaveScan tool

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. Re: Integrating LeaveScan tool

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

8. 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

Posting Permissions

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