Page 1 of 2

Cannot Build Latest Codelite

Posted: Fri Dec 28, 2012 2:50 pm
by evstevemd
I'm using wxWidgets Unnofficial Build as documented in Wiki page. It was working up until I updated latest SVN.
I cannot build it successfully! Something seemed to have changed. Below is the relevant build log.

Code: Select all

2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -I. -I./sdk/codelite_indexer/network -I./sdk/wxsqlite3/include -I./sdk/wxsqlite3/sqlite3/include -I./sdk/wxshapeframework/include -I./sdk/databaselayer/include/wx/dblayer/include -I./Interfaces -I./Debugger -I./Plugin -I./CodeLite -I./PCH  -o Release_gcc_unicode/SDKObjects_cl_aui_dock_art.o
In file included from Plugin/cl_aui_dock_art.h:7:0,
                 from Plugin/cl_aui_dock_art.cpp:1:
/usr/include/wx-2.9-unofficial/wx/aui/dockart.h:62:27: error: ‘wxAuiPaneInfo’ has not been declared
/usr/include/wx-2.9-unofficial/wx/aui/dockart.h:67:27: error: ‘wxAuiPaneInfo’ has not been declared
/usr/include/wx-2.9-unofficial/wx/aui/dockart.h:72:27: error: ‘wxAuiPaneInfo’ has not been declared
/usr/include/wx-2.9-unofficial/wx/aui/dockart.h:79:27: error: ‘wxAuiPaneInfo’ has not been declared
/usr/include/wx-2.9-unofficial/wx/aui/dockart.h:114:19: error: ‘wxAuiPaneInfo’ has not been declared
/usr/include/wx-2.9-unofficial/wx/aui/dockart.h:119:19: error: ‘wxAuiPaneInfo’ has not been declared
/usr/include/wx-2.9-unofficial/wx/aui/dockart.h:124:19: error: ‘wxAuiPaneInfo’ has not been declared
/usr/include/wx-2.9-unofficial/wx/aui/dockart.h:131:19: error: ‘wxAuiPaneInfo’ has not been declared
/usr/include/wx-2.9-unofficial/wx/aui/dockart.h:135:19: error: ‘wxAuiPaneInfo’ has not been declared
Plugin/cl_aui_dock_art.cpp: In member function ‘virtual void clAuiDockArt::DrawCaption(wxDC&, wxWindow*, const wxString&, const wxRect&, wxAuiPaneInfo&)’:
Plugin/cl_aui_dock_art.cpp:128:38: error: no matching function for call to ‘clAuiDockArt::DrawIcon(wxMemoryDC&, wxRect&, wxAuiPaneInfo&)’
Plugin/cl_aui_dock_art.cpp:128:38: note: candidate is:
/usr/include/wx-2.9-unofficial/wx/aui/dockart.h:133:10: note: void wxAuiDefaultDockArt::DrawIcon(wxDC&, const wxRect&, int&)
/usr/include/wx-2.9-unofficial/wx/aui/dockart.h:133:10: note:   no known conversion for argument 3 from ‘wxAuiPaneInfo’ to ‘int&’
make: *** [Release_gcc_unicode/SDKObjects_cl_aui_dock_art.o] Error 1 

Re: Cannot Build Latest Codelite

Posted: Fri Dec 28, 2012 3:27 pm
by eranif
Try updating now

Eran

Re: Cannot Build Latest Codelite

Posted: Fri Dec 28, 2012 3:45 pm
by evstevemd
eranif wrote:Try updating now

Eran
I'm doing that!
I will update after compilation is done!

Re: Cannot Build Latest Codelite

Posted: Fri Dec 28, 2012 4:25 pm
by evstevemd
evstevemd wrote:
eranif wrote:Try updating now

Eran
I'm doing that!
I will update after compilation is done!
All is well...thank you! :D

Re: Cannot Build Latest Codelite

Posted: Fri Dec 28, 2012 4:33 pm
by evstevemd
Now I have another problem (not sure if it is connected to new versions). I cannot implement declared functions using codelite as I used to. It brings empty dialog.
decl.png
Also I cannot browse symbols using wxChoices in IDE (also see image below). I have tried retagging full with no avail!
symbol.png

Re: Cannot Build Latest Codelite

Posted: Fri Dec 28, 2012 5:00 pm
by evstevemd
I'm not sure this is the reason but when commanding Full Retag, IDE gives message for scanning files and then does nothing (no message that it is doing the retag)
No tag file after rettaging!

Re: Cannot Build Latest Codelite

Posted: Fri Dec 28, 2012 8:08 pm
by eranif
You need to check that codelite_indexer is up and running?
Do you have anything in the 'trace' tab?

Its definitely something environmental, as it works here on various linux distros
Eran

Re: Cannot Build Latest Codelite

Posted: Sat Dec 29, 2012 9:17 am
by evstevemd
eranif wrote:You need to check that codelite_indexer is up and running?
Yes it is! here is what I got from ps

Code: Select all

ps ax|grep codelite_indexer
 2872 pts/2    Ssl+   0:00 /usr/bin/codelite_indexer 2827 --pid
eranif wrote:Do you have anything in the 'trace' tab?
Yes, here is the trace

Code: Select all

08:11:39 AM: Loaded debugger: GNU gdb debugger, Version: v2.0
08:11:39 AM: Warning: Resource files must have same version number.
08:11:39 AM: Warning: Resource files must have same version number.
08:11:40 AM: Warning: Resource files must have same version number.
08:11:42 AM: Install path: /usr/share/codelite
08:11:42 AM: Startup Path: /home/stefano/.codelite
08:11:43 AM: Loading accelerators from '/usr/share/codelite/config/accelerators.conf.default'
08:11:43 AM: Loading accelerators from '/usr/lib/codelite/resources/abbreviation.accelerators'
08:11:43 AM: Loading accelerators from '/usr/lib/codelite/resources/external_tools.accelerators'
08:11:43 AM: Loading accelerators from '/usr/lib/codelite/resources/cscope.accelerators'
08:11:43 AM: Loading accelerators from '/usr/share/codelite/config/accelerators.conf.default'
08:11:43 AM: Loading accelerators from '/usr/lib/codelite/resources/abbreviation.accelerators'
08:11:43 AM: Loading accelerators from '/usr/lib/codelite/resources/external_tools.accelerators'
08:11:43 AM: Loading accelerators from '/usr/lib/codelite/resources/cscope.accelerators'
08:11:49 AM: Symbols file loaded into OS file system cache (0 seconds)
08:11:59 AM: 0 needed to be parsed. Stored 0 new tags to the database
08:11:59 AM: INFO: Retag workspace completed in 0 seconds (No files were retagged)
08:12:12 AM: 0 needed to be parsed. Stored 0 new tags to the database
08:12:12 AM: INFO: Retag workspace completed in 0 seconds (No files were retagged)
08:13:15 AM: 0 needed to be parsed. Stored 0 new tags to the database
08:13:15 AM: INFO: Retag workspace completed in 0 seconds (No files were retagged)
08:16:09 AM: 0 needed to be parsed. Stored 0 new tags to the database
08:16:09 AM: INFO: Retag workspace completed in 0 seconds (No files were retagged)
08:16:12 AM: 0 needed to be parsed. Stored 0 new tags to the database
08:16:12 AM: INFO: Retag workspace completed in 0 seconds (No files were retagged)
08:16:14 AM: 0 needed to be parsed. Stored 0 new tags to the database
08:16:14 AM: INFO: Retag workspace completed in 0 seconds (No files were retagged)
08:16:18 AM: 0 needed to be parsed. Stored 0 new tags to the database
08:16:18 AM: INFO: Retag workspace completed in 0 seconds (No files were retagged)
eranif wrote:Its definitely something environmental, as it works here on various linux distros
Eran
What enviromental variables/applications should I check?

Re: Cannot Build Latest Codelite

Posted: Sat Dec 29, 2012 9:19 am
by evstevemd
Tried full retag and the trace is interesting, here it is
08:18:19 AM: 330 needed to be parsed. Stored 11677 new tags to the database
08:18:19 AM: INFO: Retag workspace completed in 0 seconds (No files were retagged)
Is is strange that now Class/Symbol View ia working fine but "Implementing All Un-Implemented Functions" is still not working!
It brings same empty dialog.
Any suggestion? :oops:

Re: Cannot Build Latest Codelite

Posted: Sat Dec 29, 2012 11:29 am
by eranif
Can you try reproduce it on an another class? Does it persist?
is it possible to get the sources of the offending class?
Eran