CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

CCS with CodeWright

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Todd Turner
Guest







CCS with CodeWright
PostPosted: Tue Oct 16, 2001 3:41 pm     Reply with quote

Hello everyone,

Has anyone successfully integrated CCS with codewright? I am looking to have errors parsed by codewright and easy jump to error by clicking on the error in the output window.

tia

todd
___________________________
This message was ported from CCS's old forum
Original Post ID: 697
Richard Katezansky
Guest







Re: CCS with CodeWright
PostPosted: Tue Oct 16, 2001 9:43 pm     Reply with quote

:=Hello everyone,
:=
:=Has anyone successfully integrated CCS with codewright? I am looking to have errors parsed by codewright and easy jump to error by clicking on the error in the output window.
:=
:=tia
:=
:=todd

Hi;

Setup your Codewrite project.

Under Project Properties, Tools:

For Category: Compile:
In the Compile Box:

c:\Program Files\picc\ccsc \%b\%e (or whereever your CCS directory is).

Select: "No command shell" in the Command options window


Under Project Properties, Errors:

Error Filename: \%b.err
Error Parser 1: _MPAsmErrorInfo

Hit Alt+F10 and your current file will compile and the error
file will be parsed and displayed in the output window.

Hope this helps.
___________________________
This message was ported from CCS's old forum
Original Post ID: 703
Todd Turner
Guest







Re: CCS with CodeWright
PostPosted: Wed Oct 17, 2001 11:32 am     Reply with quote

This definitely helps!

thanks
___________________________
This message was ported from CCS's old forum
Original Post ID: 711
geortiz



Joined: 14 May 2005
Posts: 1

View user's profile Send private message

Re: CCS with CodeWright
PostPosted: Sat May 14, 2005 10:37 pm     Reply with quote

Richard Katezansky wrote:
:=Hello everyone,
:=
:=Has anyone successfully integrated CCS with codewright? I am looking to have errors parsed by codewright and easy jump to error by clicking on the error in the output window.
:=
:=tia
:=
:=todd

Hi;

Setup your Codewrite project.

Under Project Properties, Tools:

For Category: Compile:
In the Compile Box:

c:\Program Files\picc\ccsc \%b\%e (or whereever your CCS directory is).

Select: "No command shell" in the Command options window


Under Project Properties, Errors:

Error Filename: \%b.err
Error Parser 1: _MPAsmErrorInfo

Hit Alt+F10 and your current file will compile and the error
file will be parsed and displayed in the output window.

Hope this helps.
___________________________
This message was ported from CCS's old forum
Original Post ID: 703


no me funciono, me entrega un error "duplicate filename on command line "esclavo.c" and ">""
y el error parser "_MPAsmErrorInfo" tampoco esta en la lista.
bfemmel



Joined: 18 Jul 2004
Posts: 40
Location: San Carlos, CA.

View user's profile Send private message Visit poster's website

Error Parser
PostPosted: Sun May 15, 2005 1:13 am     Reply with quote

Richard,

You need to build a custom Error Parser for the output from the CCS compiler. I used the following line built using the "regular" search syntax from Codewright. The instructions for this are in the CodeWright help files. You'll find all this under Project ==>Properties==>Errors==>Custom Error Parser
Code:
^\*\*\* (error|fatal error|warning|syntax error) [0-9]+ "(.+)" Line([0-9]+)\(.+: (.+)$


Looking at the line above you can see that there are four grups, each group being a bunch of stuff in parentheses. The second group has the file name, the third has the line number and the forth has the error message. So fill in those numbers in the box on the Errors dialog box. I am pretty sure this works. I had it working before I hosed it over by copying over my codewright project file. If I get it working again I will let you know what else needs to change.
This will cause a jump to the correct line in the correct file once you point it at the right file for errors in the setup.

- Bruce
bfemmel



Joined: 18 Jul 2004
Posts: 40
Location: San Carlos, CA.

View user's profile Send private message Visit poster's website

Error Parser
PostPosted: Sun May 15, 2005 1:36 am     Reply with quote

Ok, I got it working again. The line above has one error in it. Put a space between "Line" and the next '(' since there is a space there in the error message that CCS produces.

Have fun,

Bruce
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group