Home » Language IDEs » C / C++ IDE (CDT) » Need help for error parser
Need help for error parser [message #230426] |
Tue, 17 February 2009 23:49 |
Linh Ha Messages: 2 Registered: July 2009 |
Junior Member |
|
|
I'm working with CUDA, the new computational platform from NVIDIA. I found
eclipse an excellent IDE, I have all thing i need except an error parse
for nvcc, the CUDA compiler, I wonder if people have solution for CUDA.
I would try to write an error parser for NVCC, it seem to be very trivial
but i could not find any simple tutorial for that. All the help that I
found online says to create an extension for
org.eclipse.cdt.core.ErrorParser. I have looked through the Eclipse
directory and can not find that directory. Can some help me out or point
me in the right direction.
The sample of the output from CUDA
make
../common/image2D.cu(943): warning: variable "timer" was declared but
never referenced
../common/image2D.cu(944): warning: variable "nIter" was declared but
never referenced
../common/image3D.cu(934): warning: variable "memSize" was declared but
never referenced
../common/image3D.cu(1022): warning: variable "memSize" was declared but
never referenced
test.cu(68): error: identifier "cutGetCmdLi" is undefined
test.cu(68): error: expected a ")"
test.cu(63): warning: variable "n" was declared but never referenced
test.cu(162): warning: variable "timer" was declared but never referenced
test.cu(163): warning: variable "nIter" was declared but never referenced
../common/compact.cu(787): warning: variable "blockSize" was declared but
never referenced
detected during:
instantiation of "void cplvCompactMap_4<T,blockSize>(T *, T *,
uint *, uint *, uint, uint) [with T=uint, blockSize=512]"
(912): here
instantiation of "void cplvCompact2<T,cmp>(T *, T *, T, uint
&, uint) [with T=uint, cmp=CmpOperator<uint, CMP_LESS>]"
(998): here
2 errors detected in the compilation of
"/tmp/tmpxft_00005bd7_00000000-4_test.cpp1.ii".
make: *** [obj/release/test.cu.o] Error 255
Any help is appreciated
|
|
| |
Re: Need help for error parser [message #230489 is a reply to message #230426] |
Thu, 19 February 2009 09:19 |
Eclipse User |
|
|
|
Originally posted by: mba.cosmigo.ru
Hi,
When I was in need of writing the error parser, I have downloaded the
CDT sources and looked through the code of existing error parsers.
This was really enough. I can send you sources of my simple error parser
if you need them..
Linh Ha wrote:
> I'm working with CUDA, the new computational platform from NVIDIA. I
> found eclipse an excellent IDE, I have all thing i need except an error
> parse for nvcc, the CUDA compiler, I wonder if people have solution for
> CUDA.
>
> I would try to write an error parser for NVCC, it seem to be very
> trivial but i could not find any simple tutorial for that. All the help
> that I found online says to create an extension for
> org.eclipse.cdt.core.ErrorParser. I have looked through the Eclipse
> directory and can not find that directory. Can some help me out or point
> me in the right direction.
--
Best regards
Mikhail Barg
ICQ: 132560784
|
|
| |
Re: Need help for error parser [message #232011 is a reply to message #230489] |
Fri, 20 March 2009 18:49 |
Eclipse User |
|
|
|
Originally posted by: eclipse_news.aon.at
hi mikhail,
i am also in need of writing my own compiler error parser and i have not found a really good
starting point. it would be a great help for me, if u could send me your error parser
sources (all other sources i have found so far, do not work).
thanks for your help,
christoph
Mikhail Barg schrieb:
> Hi,
>
> When I was in need of writing the error parser, I have downloaded the
> CDT sources and looked through the code of existing error parsers.
> This was really enough. I can send you sources of my simple error parser
> if you need them..
>
> Linh Ha wrote:
>> I'm working with CUDA, the new computational platform from NVIDIA. I
>> found eclipse an excellent IDE, I have all thing i need except an
>> error parse for nvcc, the CUDA compiler, I wonder if people have
>> solution for CUDA.
>>
>> I would try to write an error parser for NVCC, it seem to be very
>> trivial but i could not find any simple tutorial for that. All the
>> help that I found online says to create an extension for
>> org.eclipse.cdt.core.ErrorParser. I have looked through the Eclipse
>> directory and can not find that directory. Can some help me out or
>> point me in the right direction.
>
|
|
| |
Re: Need help for error parser [message #232123 is a reply to message #232011] |
Thu, 26 March 2009 07:50 |
Eclipse User |
|
|
|
Originally posted by: mba.cosmigo.ru
Hi Christoph,
Sorry for long delay, Just haven't noticed your message in newsgroup.
I have tried to send you my sources to your mail (eclipse_news@aon.at)
but get a delivery failure from your server. If you still need my
sources, write me to my mail address.
Christoph K. wrote:
> hi mikhail,
>
> i am also in need of writing my own compiler error parser and i have not found a really good
> starting point. it would be a great help for me, if u could send me your error parser
> sources (all other sources i have found so far, do not work).
>
> thanks for your help,
> christoph
>
>
>
> Mikhail Barg schrieb:
>> Hi,
>>
>> When I was in need of writing the error parser, I have downloaded the
>> CDT sources and looked through the code of existing error parsers.
>> This was really enough. I can send you sources of my simple error parser
>> if you need them..
>>
>> Linh Ha wrote:
>>> I'm working with CUDA, the new computational platform from NVIDIA. I
>>> found eclipse an excellent IDE, I have all thing i need except an
>>> error parse for nvcc, the CUDA compiler, I wonder if people have
>>> solution for CUDA.
>>>
>>> I would try to write an error parser for NVCC, it seem to be very
>>> trivial but i could not find any simple tutorial for that. All the
>>> help that I found online says to create an extension for
>>> org.eclipse.cdt.core.ErrorParser. I have looked through the Eclipse
>>> directory and can not find that directory. Can some help me out or
>>> point me in the right direction.
--
Best regards
Mikhail Barg
ICQ: 132560784
|
|
|
Re: Need help for error parser [message #232762 is a reply to message #232059] |
Wed, 08 April 2009 18:39 |
Eclipse User |
|
|
|
Originally posted by: eclipse_news.aon.at
hi marko,
i know the errorparser from isystems. bt the error parser is only thing i need. the error parser
output/result along with project statistics should be displayed in a new view. there fore i think
its easier to develop a new one.
rgds, christoph
Marko Klopcic schrieb:
>> i am also in need of writing my own compiler error parser and i have
>> not found a really good
>> starting point. it would be a great help for me, if u could send me
>> your error parser
>> sources (all other sources i have found so far, do not work).
>
> You can find customizable error parserhere:
>
> http://www.isystem.com/content/5653/288/
>
> EPL license, sources available.
>
> Regards,
>
> Marko
|
|
| |
Goto Forum:
Current Time: Fri Apr 26 13:54:45 GMT 2024
Powered by FUDForum. Page generated in 0.03719 seconds
|