svn r3584 build problem(s)

Discussion about CodeLite development process and patches
dlh
CodeLite Enthusiast
Posts: 24
Joined: Wed Oct 07, 2009 8:41 am
Genuine User: Yes
IDE Question: C++
Contact:

svn r3584 build problem(s)

Post by dlh »

(windows xp) downloaded and installed codelite-2.1.0.3584-mingw4.4.0-wx2.8.10.exe.

checked out rev 3584 from svn

loaded <mysvndir>\LiteEditor.workspace - build with two errors
asked it to build again, no errors

loaded <mysvndir>\Plugins.workspace - build failed, first error complained about incomplete wxMenu type in symbolview.cpp. Added #include <wx/menu.h> somewhere in top of that file, attempt build, new first error received complained "'class ITagsStorage" has no member named Query at symbolview.cpp:554, next at symbolview.cpp:730 error 'wxSystemSettings' has not been declared.

Don't remember if before first error, or before next first error, but I tried svn update to (then) toplevel r3606 - tried building plugins.workspace, still get same error(s).

tried building plugins.workspace, still get errors... currently trying to build liteeditor.workspace (since svn udpate) to see if that makes a difference.

No still get these errors (first few of them):
g++ -c "C:/dev/codelite_svn/cl2_trunk3584plus/codelite_3584plus/SymbolView/symbolview.cpp" -g -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:\wxWidgets-2.8.10\lib\gcc_dll\mswud -IC:\wxWidgets-2.8.10\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -D__WX__ -DWXUSINGDLL -DYY_NEVER_INTERACTIVE=1 -o ./DebugUnicode/symbolview.o "-I." "-I." "-I../Interfaces" "-I../CodeLite" "-I../Plugin" "-I../sqlite3" "-I../sdk/wxsqlite3/include" "-I../sdk/wxpropgrid/include"
C:/dev/codelite_svn/cl2_trunk3584plus/codelite_3584plus/SymbolView/symbolview.cpp: In member function 'wxSQLite3ResultSet SymbolViewPlugin::GetTags(const std::multimap<wxString, wxString, std::less<wxString>, std::allocator<std::pair<const wxString, wxString> > >&)':
C:/dev/codelite_svn/cl2_trunk3584plus/codelite_3584plus/SymbolView/symbolview.cpp:554: error: 'class ITagsStorage' has no member named 'Query'
C:/dev/codelite_svn/cl2_trunk3584plus/codelite_3584plus/SymbolView/symbolview.cpp: In member function 'void SymbolViewPlugin::SetNodeData(wxTreeCtrl*, wxTreeItemId, const TagEntry&)':
C:/dev/codelite_svn/cl2_trunk3584plus/codelite_3584plus/SymbolView/symbolview.cpp:730: error: 'wxSystemSettings' has not been declared
C:/dev/codelite_svn/cl2_trunk3584plus/codelite_3584plus/SymbolView/symbolview.cpp:730: error: 'wxSYS_DEFAULT_GUI_FONT' was not declared in this scope
C:/dev/codelite_svn/cl2_trunk3584plus/codelite_3584plus/SymbolView/symbolview.cpp: In member function 'int SymbolViewPlugin::LoadChildren(SymbolViewPlugin::SymTree*, wxTreeItemId)':
C:/dev/codelite_svn/cl2_trunk3584plus/codelite_3584plus/SymbolView/symbolview.cpp:809: error: no matching function for call to 'TagEntry::TagEntry(wxSQLite3ResultSet&)'
../CodeLite/entry.h:80: note: candidates are: TagEntry::TagEntry(const TagEntry&)
../CodeLite/entry.h:73: note: TagEntry::TagEntry()
../CodeLite/entry.h:68: note: TagEntry::TagEntry(const tagEntry&)
C:/dev/codelite_svn/cl2_trunk3584plus/codelite_3584plus/SymbolView/symbolview.cpp: In member function 'void SymbolViewPlugin::UpdateTrees(const wxArrayString&, bool)':
C:/dev/codelite_svn/cl2_trunk3584plus/codelite_3584plus/SymbolView/symbolview.cpp:1006: error: no matching function for call to 'TagEntry::TagEntry(wxSQLite3ResultSet&)'
../CodeLite/entry.h:80: note: candidates are: TagEntry::TagEntry(const TagEntry&)
../CodeLite/entry.h:73: note: TagEntry::TagEntry()
../CodeLite/entry.h:68: note: TagEntry::TagEntry(const tagEntry&)
mingw32-make.exe[1]: *** [DebugUnicode/symbolview.o] Error 1

***Suggestions?***

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

Re: svn r3584 build problem(s)

Post by eranif »

dlh wrote:***Suggestions?***
Yes. Plugins.workspace is an obsolete workspace, dont load it.

To build codelite, load LiteEditor.workspace, select WinReleaseUnicode (or WinDebugUnicode) and build

Eran
Make sure you have read the HOW TO POST thread
dlh
CodeLite Enthusiast
Posts: 24
Joined: Wed Oct 07, 2009 8:41 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: svn r3584 build problem(s)

Post by dlh »

OK, thanks. (Might consider an "svn delete Plugins.workspace".)
Post Reply