[Qt-creator] Fwd: issue with issue pane

André Hartmann andre.hartmann at iseg-hv.de
Wed Dec 16 12:51:22 CET 2015


Hi

I have some makefile projects, too, and things work fine for me.
My compiler pattern for errors looks like this:

  ../src/main.c:708: error: xxx

while yours is

   "../src/main.c", line 708: error #20: xxx

It's quite possible, that your pattern is not recognized (correctly)
by Creators gcc error parser.

If you want to check yourself, its in gccparser.cpp, I could have a look 
later today.

A possible solution is to set up a custom compiler in
Tools -> Options -> Build & Run -> Compilers -> Add -> Custom and then 
set up a custom error parser (regular expression based). This one is a 
bit slower but should support every possible compiler :)

Best regards,
Andre

Am 16.12.2015 um 12:17 schrieb cyb:
>
> ---------- Forwarded message ----------
> From: *cyb* <cg.venus at gmail.com <mailto:cg.venus at gmail.com>>
> Date: 16 December 2015 at 10:48
> Subject: Re: [Qt-creator] issue with issue pane
> To: Ziller Eike <Eike.Ziller at theqtcompany.com
> <mailto:Eike.Ziller at theqtcompany.com>>
>
>
> Hi,
>
>     ** Creator version*
>
> QtCreator version 3.5.1, Build on Oct 15 2015, From revision b4c52505ca
>
>     *Which compiler is this?*
>
> This is a Ti GCC based compiler for TMS320C55xx DSP, from Code Composer
> Studio v6. GCC error parser is working fine.
>
>     ** How is the project organized?*
>
> This is a makefile project, I just imported project sources and using
> qtcreator for building and editing.
> *
> *
>
>     *  - Are the sources files in subdirectories?
>          (Best would be to send the project file)*
>
> Attached if it will help.
>
>     ** Please send the contents of compile output pane too.
>     *
>
> Example compile output pane:
>
> 10:38:07: Running steps for project Vmic-DSP...
>
> 10:38:07: Starting: "c:\Program Files
> (x86)\ti\ccsv6\utils\bin\gmake.exe" -k all
>
> 'Building file: ../src/main.c'
>
> 'Invoking: C5500 Compiler'
>
> "C:/Program Files (x86)/ti/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55"
> -v5505 --memory_model=large -g --include_path="C:/Program Files
> (x86)/ti/ccsv6/tools/compiler/c5500_4.4.1/include"
> --include_path="D:/_PROJECTS/Tulip_Av2/Software/dsp/Vmic-DSP/CELT_Codec_0.7.1/libcelt"
> --include_path="D:/_PROJECTS/Tulip_Av2/Software/dsp/Vmic-DSP/dsplib_3.0/inc"
> --include_path="D:/_PROJECTS/Tulip_Av2/Software/dsp/Vmic-DSP/inc"
> --include_path="D:/_PROJECTS/Tulip_Av2/Software/dsp/Vmic-DSP/usbstk5505/inc"
> --define=c5505 --define=DECT_FP --define=HAVE_CONFIG_H
> --display_error_number --diag_warning=225 --ptrdiff_size=16 --algebraic
> --asm_source=algebraic --preproc_with_compile
> --preproc_dependency="src/main.pp" --obj_directory="src" "../src/main.c"
>
> "../src/main.c", line 708: error #20: identifier "overflowDetected" is
> undefined
>
> "../src/main.c", line 713: error #20: identifier "overflowDetected" is
> undefined
>
> "../src/main.c", line 496: warning #552-D: variable "CapturedPCML" was
> set but never used
>
> 2 errors detected in the compilation of "../src/main.c".
>
>
> gmake: *** [src/main.obj] Error 1
>
>>> Compilation failure
>
> gmake: Target `all' not remade because of errors.
>
> 10:38:08: The process "c:\Program Files
> (x86)\ti\ccsv6\utils\bin\gmake.exe" exited with code 2.
>
> Error while building/deploying project Vmic-DSP (kit: Ti-C55-gcc-toolset)
>
> When executing step "Make"
>
> 10:38:08: Elapsed time: 00:01.
>
>
>
>
> There also was a discussion on the forum:
> http://forum.qt.io/topic/61578/qt-creator-issue-with-issue-pane
>
> Regards,
>
> Dmitry
>
> On 16 December 2015 at 10:25, Ziller Eike <Eike.Ziller at theqtcompany.com
> <mailto:Eike.Ziller at theqtcompany.com>> wrote:
>
>
>     > On Dec 16, 2015, at 10:24 AM, cyb <cg.venus at gmail.com <mailto:cg.venus at gmail.com>> wrote:
>     >
>     > Hi, there's an issue with issue pane.
>     >
>     > Everything should be clear from next screenshot
>     >
>     > Gcc error parser is working, there's a line and file but it cannot take me to issue and not showing issue in source file. Maybe it because I used "Import project" but it should work in theory. Is this a my bug or feature was not implemented yet?
>
>     Qt Creator thinks that your file is called
>
>     main.c”
>
>     with a “ at the end.
>
>     What’s your compile output? (contents of “Compile Output” pane)
>     What compiler do you use on what platform?
>     Br, Eike
>
>      >
>      > Thanks,
>      >
>      > Dmitry
>      >
>      > _______________________________________________
>      > Qt-creator mailing list
>      > Qt-creator at qt-project.org <mailto:Qt-creator at qt-project.org>
>      > http://lists.qt-project.org/mailman/listinfo/qt-creator
>
>     --
>     Eike Ziller, Senior Software Engineer - The Qt Company GmbH
>
>     The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
>     Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
>     Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht
>     Charlottenburg, HRB 144331 B
>
>
>


-- 
Best regards / Mit freundlichen Grüßen
André Hartmann, Dipl.-Ing. (FH)
Software Project Manager

iseg Spezialelektronik GmbH         |  phone: ++49 (0)351 26996-43
Bautzner Landstr. 23                |  fax:   ++49 (0)351 26996-21
D-01454 Radeberg / Rossendorf       |  web:   www.iseg-hv.com

Geschäftsführer / Managing director: Dr. F. Gleisberg, Dr. J. Pöthig
Amtsgericht / Lower district court: Dresden HRB 16250
Ust.-Id.-Nr. / VAT-ID: DE812508942

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder
diese E-Mail irrtümlich erhalten haben, informieren Sie bitte
sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail
in error) please notify the sender immediately and delete this e-mail.
Any unauthorized copying, disclosure or distribution of the material
in this e-mail is strictly forbidden.



More information about the Qt-creator mailing list