Bug 8579

Summary: [eclipse-mars] Errors appear when debug a GTK project
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Valentin Hangan <valentinx.hangan>
Component: eclipse-pluginAssignee: Jose Lamego <jose.a.lamego>
Status: VERIFIED WONTFIX QA Contact: Valentin Hangan <valentinx.hangan>
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, ioanax.grigoropol, yp.ep.watcher, yp.watcher
Version: 2.0   
Target Milestone: 2.1 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: Don't know
Attachments:
Description Flags
semantic errors none

Description Valentin Hangan 2015-10-26 14:57:12 UTC
Created attachment 2825 [details]
semantic errors

OS: Fedora 22
Commit: 1d179ddcbd1983bf7bcfe98efdcbb186bdccca4f
Version: Mars

When i try to debug a Hello World GTC C Project i noticed that i have semantic errors.

EXPECTED OUTCOME:  

Build succeed and the console outputs "Hello world", you can also check the output on target.

ACTUAL OUTCOME:

Temporary breakpoint 1, main (argc=1, argv=0xbffffd54) at cGTKPrjSDK.c:56
56	  gtk_init (&argc, &argv);

Something similar is bug 3942
Comment 1 Jose Lamego 2015-11-19 16:38:24 UTC
Valentin: I haven't been able to reproduce the output captured in the attachment 2825 [details] (which I assume is caused for me not replicating the exact same environment as yours), but the semantic errors look very similar to those originated by a known issue involving includes folder being correctly listed but not mapped before build (a good root cause description is in [1]), for which a workaround has been implemented and documented as described in Bug 7549.

So in order to discard this as a having the same root cause, please implement the mentioned workaround in [2]. This is just to manually add to the project the GTK and GDK libraries as linked folders to the project.

Let me know the outcome or if more information is needed.


[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=2641#c7
[2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=7549
Comment 2 Jose Lamego 2015-12-17 16:55:39 UTC
Closing this bug as Wont-Fix based on analysis detailed in Comment 1. This can be reopened if required.
Comment 3 Valentin Hangan 2016-01-06 11:10:22 UTC
Wontfix