Cannot Build Latest Codelite

CodeLite installation/troubleshooting forum
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Cannot Build Latest Codelite

Post 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 

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot Build Latest Codelite

Post by eranif »

Try updating now

Eran
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot Build Latest Codelite

Post by evstevemd »

eranif wrote:Try updating now

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

CodeLite 15.x
CodeLite is awesome, I just Love it!

evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot Build Latest Codelite

Post 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

CodeLite 15.x
CodeLite is awesome, I just Love it!

evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot Build Latest Codelite

Post 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
You do not have the required permissions to view the files attached to this post.

CodeLite 15.x
CodeLite is awesome, I just Love it!

evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot Build Latest Codelite

Post 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!

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot Build Latest Codelite

Post 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
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot Build Latest Codelite

Post 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?

CodeLite 15.x
CodeLite is awesome, I just Love it!

evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot Build Latest Codelite

Post 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:

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot Build Latest Codelite

Post 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
Make sure you have read the HOW TO POST thread
Post Reply