Bug 8579 - [eclipse-mars] Errors appear when debug a GTK project
Summary: [eclipse-mars] Errors appear when debug a GTK project
Status: VERIFIED WONTFIX
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.1 M1
Assignee: Jose Lamego
QA Contact: Valentin Hangan
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-10-26 14:57 UTC by Valentin Hangan
Modified: 2016-01-06 11:10 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: Don't know


Attachments
semantic errors (371.46 KB, image/png)
2015-10-26 14:57 UTC, Valentin Hangan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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