Page 1 of 1

svn r3584 build problem(s)

Posted: Tue Jan 05, 2010 10:30 pm
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.

Re: svn r3584 build problem(s)

Posted: Tue Jan 05, 2010 11:50 pm
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

Re: svn r3584 build problem(s)

Posted: Wed Jan 06, 2010 1:18 am
by dlh
OK, thanks. (Might consider an "svn delete Plugins.workspace".)