Eclipse - Unresolved Symbol Errors Topic is solved

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
Ksawery
Knows some wx things
Knows some wx things
Posts: 47
Joined: Thu Jul 25, 2019 12:31 pm

Eclipse - Unresolved Symbol Errors

Post by Ksawery » Tue Aug 27, 2019 1:00 pm

After successfully using wxWidgets with Code::Blocks on Linux Mint, I'm trying to setup my environment in Eclipse (I prefer to use that IDE). I've configured Eclipse according to the following instructions:

https://wiki.wxwidgets.org/Eclipse

My application runs fine, but what's weird is that I'm seeing hundreds of "... could not be resolved" and "declaration not found" errors, and Eclipse doesn't recognize any of the wxWidgets classes or methods (all wxWidgets classes and methods are underlined). And yet the application runs fine.

Code: Select all

Description	Resource	Path	Location	Type
Function 'CreateThread' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 257	Semantic Error
Function 'Destroy' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 519	Semantic Error
Function 'Destroy' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 543	Semantic Error
Function 'GetEventHandler' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 339	Semantic Error
Function 'GetThread' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 262	Semantic Error
Function 'GetThread' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 272	Semantic Error
Function 'GetThread' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 512	Semantic Error
Function 'GetThread' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 512	Semantic Error
Function 'GetThread' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 512	Semantic Error
Function 'GetThread' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 536	Semantic Error
Function 'GetThread' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 536	Semantic Error
Function 'GetThread' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 536	Semantic Error
Function 'Sleep' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 281	Semantic Error
Function 'Sleep' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 290	Semantic Error
Function 'Sleep' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 312	Semantic Error
Function 'Sleep' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 332	Semantic Error
Function 'Sleep' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 343	Semantic Error
Function 'to_string' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 453	Semantic Error
Function 'to_string' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 454	Semantic Error
Function 'to_string' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 455	Semantic Error
Function 'to_string' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 456	Semantic Error
Function 'to_string' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 476	Semantic Error
Function 'to_string' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 477	Semantic Error
Function 'to_string' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 478	Semantic Error
Function 'to_string' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 479	Semantic Error
Function 'wxColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 361	Semantic Error
Function 'wxColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 361	Semantic Error
Function 'wxColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 362	Semantic Error
Function 'wxColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 362	Semantic Error
Function 'wxColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 366	Semantic Error
Function 'wxColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 366	Semantic Error
Function 'wxColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 367	Semantic Error
Function 'wxColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 367	Semantic Error
Function 'wxColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 421	Semantic Error
Function 'wxColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 421	Semantic Error
Function 'wxColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 422	Semantic Error
Function 'wxColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 422	Semantic Error
Function 'wxLogError' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 259	Semantic Error
Function 'wxLogError' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 264	Semantic Error
Function 'wxQueueEvent' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 339	Semantic Error
Member declaration not found	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 196	Semantic Error
Member declaration not found	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 212	Semantic Error
Member declaration not found	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 231	Semantic Error
Member declaration not found	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 243	Semantic Error
Member declaration not found	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 270	Semantic Error
Member declaration not found	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 351	Semantic Error
Member declaration not found	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 484	Semantic Error
Member declaration not found	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 492	Semantic Error
Member declaration not found	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 499	Semantic Error
Member declaration not found	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 523	Semantic Error
Method 'Close' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 506	Semantic Error
Method 'Close' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 509	Semantic Error
Method 'Close' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 530	Semantic Error
Method 'Close' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 533	Semantic Error
Method 'Delete' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 512	Semantic Error
Method 'Delete' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 536	Semantic Error
Method 'Disable' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 235	Semantic Error
Method 'Disable' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 247	Semantic Error
Method 'Disable' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 431	Semantic Error
Method 'Disable' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 432	Semantic Error
Method 'Enable' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 448	Semantic Error
Method 'Enable' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 449	Semantic Error
Method 'Enable' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 471	Semantic Error
Method 'Enable' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 472	Semantic Error
Method 'Enable' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 487	Semantic Error
Method 'Enable' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 488	Semantic Error
Method 'GetBackgroundColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 361	Semantic Error
Method 'GetBackgroundColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 362	Semantic Error
Method 'GetBackgroundColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 366	Semantic Error
Method 'GetBackgroundColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 367	Semantic Error
Method 'GetBackgroundColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 421	Semantic Error
Method 'GetBackgroundColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 422	Semantic Error
Method 'GetPosition' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 222	Semantic Error
Method 'GetPosition' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 408	Semantic Error
Method 'Hide' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 443	Semantic Error
Method 'Hide' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 466	Semantic Error
Method 'Hide' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 495	Semantic Error
Method 'IsEnabled' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 233	Semantic Error
Method 'IsEnabled' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 245	Semantic Error
Method 'IsEnabled' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 431	Semantic Error
Method 'IsEnabled' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 432	Semantic Error
Method 'IsEnabled' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 448	Semantic Error
Method 'IsEnabled' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 449	Semantic Error
Method 'IsEnabled' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 471	Semantic Error
Method 'IsEnabled' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 472	Semantic Error
Method 'IsEnabled' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 487	Semantic Error
Method 'IsEnabled' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 488	Semantic Error
Method 'IsRunning' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 378	Semantic Error
Method 'IsRunning' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 385	Semantic Error
Method 'IsRunning' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 417	Semantic Error
Method 'IsRunning' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 418	Semantic Error
Method 'IsRunning' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 446	Semantic Error
Method 'IsRunning' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 469	Semantic Error
Method 'IsRunning' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 502	Semantic Error
Method 'IsRunning' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 503	Semantic Error
Method 'IsRunning' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 512	Semantic Error
Method 'IsRunning' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 526	Semantic Error
Method 'IsRunning' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 527	Semantic Error
Method 'IsRunning' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 536	Semantic Error
Method 'IsShown' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 425	Semantic Error
Type 'wxTimerEvent' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 492	Semantic Error
Type 'wxTimerEvent' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 484	Semantic Error
Type 'wxString' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 456	Semantic Error
Type 'wxString' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 455	Semantic Error
Type 'wxString' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 454	Semantic Error
Type 'wxString' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 453	Semantic Error
Type 'wxCommandEvent' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 523	Semantic Error
Type 'wxCommandEvent' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 243	Semantic Error
Type 'wxCommandEvent' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 231	Semantic Error
Type 'wxCommandEvent' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 212	Semantic Error
Type 'wxCommandEvent' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 196	Semantic Error
Type 'wxThread::ExitCode' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 270	Semantic Error
Type 'wxCloseEvent' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 499	Semantic Error
Symbol 'wxTHREAD_NO_ERROR' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 262	Semantic Error
Symbol 'wxTHREAD_NO_ERROR' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 257	Semantic Error
Type 'wxCriticalSectionLocker' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 276	Semantic Error
Symbol 'wxTHREAD_JOINABLE' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 257	Semantic Error
Symbol 'cInformation' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 221	Semantic Error
Method 'TestDestroy' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 272	Semantic Error
Method 'Stop' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 527	Semantic Error
Method 'Stop' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 526	Semantic Error
Method 'Stop' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 503	Semantic Error
Type 'wxThreadEvent' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 339	Semantic Error
Method 'Stop' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 502	Semantic Error
Type 'wxThread::ExitCode' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 347	Semantic Error
Method 'Skip' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 251	Semantic Error
Type 'wxThreadEvent' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 351	Semantic Error
Type 'wxCriticalSectionLocker' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 354	Semantic Error
Method 'Skip' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 239	Semantic Error
Method 'Skip' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 227	Semantic Error
Method 'Skip' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 209	Semantic Error
Method 'Show' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 427	Semantic Error
Method 'Show' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 224	Semantic Error
Method 'SetPosition' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 222	Semantic Error
Method 'SetLabel' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 479	Semantic Error
Method 'SetLabel' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 478	Semantic Error
Method 'SetLabel' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 477	Semantic Error
Method 'SetLabel' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 476	Semantic Error
Method 'SetLabel' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 461	Semantic Error
Method 'SetLabel' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 460	Semantic Error
Method 'SetLabel' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 459	Semantic Error
Method 'SetLabel' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 458	Semantic Error
Method 'SetLabel' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 438	Semantic Error
Method 'SetLabel' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 437	Semantic Error
Method 'Show' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 377	Semantic Error
Method 'SetLabel' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 436	Semantic Error
Method 'Stop' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 378	Semantic Error
Method 'Start' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 379	Semantic Error
Symbol 'wxTIMER_ONE_SHOT' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 379	Semantic Error
Method 'SetLabel' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 435	Semantic Error
Method 'Start' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 385	Semantic Error
Symbol 'wxTIMER_ONE_SHOT' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 385	Semantic Error
Symbol 'cDiagnostics' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 393	Semantic Error
Method 'SetPosition' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 408	Semantic Error
Method 'SetBackgroundColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 367	Semantic Error
Method 'Show' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 410	Semantic Error
Method 'SetBackgroundColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 366	Semantic Error
Method 'Stop' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 417	Semantic Error
Method 'SetBackgroundColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 362	Semantic Error
Method 'Stop' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 418	Semantic Error
Method 'SetBackgroundColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 361	Semantic Error
Method 'Run' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 262	Semantic Error
Method 'SetBackgroundColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 421	Semantic Error
Method 'Raise' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 216	Semantic Error
Method 'Raise' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 200	Semantic Error
Method 'IsShown' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 495	Semantic Error
Method 'SetBackgroundColour' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 422	Semantic Error
Method 'IsShown' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 466	Semantic Error
Method 'IsShown' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 443	Semantic Error
Method 'IsShown' could not be resolved	cMain.cpp	/PomiarWiazki_wxWidgets_Linux	line 427	Semantic Error
Type 'wxThreadEvent' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 58	Semantic Error
Type 'wxCloseEvent' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 59	Semantic Error
Type 'wxThread::ExitCode' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 62	Semantic Error
Type 'wxCriticalSection' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 63	Semantic Error
Type 'wxMenu' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 31	Semantic Error
Type 'wxMenu' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 32	Semantic Error
Type 'wxButton' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 33	Semantic Error
Type 'wxButton' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 34	Semantic Error
Type 'wxStaticText' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 37	Semantic Error
Type 'wxStaticText' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 38	Semantic Error
Type 'wxStaticText' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 39	Semantic Error
Type 'wxStaticText' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 40	Semantic Error
Type 'wxStaticText' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 41	Semantic Error
Type 'wxStaticText' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 42	Semantic Error
Type 'wxStaticText' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 43	Semantic Error
Type 'wxStaticText' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 44	Semantic Error
Type 'wxStaticText' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 45	Semantic Error
Type 'wxTimer' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 46	Semantic Error
Type 'wxTimer' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 47	Semantic Error
Type 'wxCommandEvent' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 49	Semantic Error
Type 'wxCommandEvent' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 50	Semantic Error
Type 'wxCommandEvent' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 51	Semantic Error
Type 'wxCommandEvent' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 52	Semantic Error
Type 'wxCommandEvent' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 53	Semantic Error
Type 'wxCommandEvent' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 54	Semantic Error
Symbol 'wxFrame' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 23	Semantic Error
Symbol 'wxThreadHelper' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 23	Semantic Error
Type 'wxFont' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 29	Semantic Error
Type 'wxMenuBar' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 30	Semantic Error
Type 'wxTimerEvent' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 55	Semantic Error
Type 'wxTimerEvent' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 56	Semantic Error
Type 'wxPNGHandler' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 35	Semantic Error
Type 'wxStaticBitmap' could not be resolved	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 36	Semantic Error
Class 'cApp' has virtual method 'OnInit' but non-virtual destructor	cApp.h	/PomiarWiazki_wxWidgets_Linux	line 14	Code Analysis Problem
Class 'cDiagnostics' has virtual method 'Entry' but non-virtual destructor	cDiagnostics.h	/PomiarWiazki_wxWidgets_Linux	line 8	Code Analysis Problem
Class 'cMain' has virtual method 'Entry' but non-virtual destructor	cMain.h	/PomiarWiazki_wxWidgets_Linux	line 23	Code Analysis Problem
Screenshot from 2019-08-27 15-04-07.png

As per the instructions, I added the compiler and linker flags in the right places, and moved the ${FLAGS} to the end of the line in the "Linker flags" edit field. Are there any other settings that I'm missing?

Regards,
Ksawery

Ksawery
Knows some wx things
Knows some wx things
Posts: 47
Joined: Thu Jul 25, 2019 12:31 pm

Re: Eclipse - Unresolved Symbol Errors

Post by Ksawery » Tue Aug 27, 2019 2:02 pm

I managed to solve the issues using the following guide:

https://www.youtube.com/watch?v=MrwDSDYPF0M

Now Eclipse correctly recognizes all wxWidgets symbols.

Ksawery

Post Reply