Custom Error Parser for external build tool [message #558897] |
Tue, 14 September 2010 15:26  |
Eclipse User |
|
|
|
Hi,
I am using Eclipse CDT 7 with external build command. The project compiles and displays compiler output in Console View.
The problem is with setting the parser to show errors, warnings... in the Problems View. I have tried adding regular expressions patterns to catch needed text to the Problems View, but nothing appears there.
My compiler generates this line pattern for example:
e:\path\file.h(54) : Error[Pe065]: expected a ";"
Can somebody help me to debug, why in Problems View not shown parsers outputs?
I have tried to catch something to be sure that is a regex filter problem, but seems to be something with the parser or project configuration.
Thanks,
|
|
|
|
|
|
|
|
Re: Custom Error Parser for external build tool [message #1219166 is a reply to message #652077] |
Mon, 02 December 2013 07:59  |
Eclipse User |
|
|
|
wassya wrote on Wed, 02 February 2011 10:28Using Eclipse CDT as a code editor with all functionality for C/C++
when working with IAR compilers is very simple. You don't need to develop new plugin to integrate IAR compilers, but, you need to do some steps in configuring new project with existing source code,. This source code will be from IAR EW project. If you can compile your project with IAR EW, read the documentation about command line building of the project. IAR EW have are command line builder named iarbuild.exe, for example, I am using this command line with IAR M16C compiler:
iarbuild ProjName.ewp -build Release -log all
This is 1st step named build project. At the 2nd step you will need to configure Problems view (errors/warnings/info regular expressions parser). This is not hard to do. You will find a lot of information about this and you can see how it is configured for gcc compiler.
But, before configure error parser you need to be able to build from eclipse cdt the IAR EW project and view the compiler and linker output in the Console view.
Only IAR debugger will not work in the Eclispe CDT IDE.
If you have problems write here and me or others will try to help you.
Good luck.
Please help me for above problem
|
|
|
Powered by
FUDForum. Page generated in 0.04874 seconds