Revision 6041 fails to build on Fedora 18 x64

Discussion about CodeLite development process and patches
tankist02
CodeLite Veteran
Posts: 56
Joined: Thu Sep 22, 2011 11:29 pm
Genuine User: Yes
IDE Question: c++
Contact:

Revision 6041 fails to build on Fedora 18 x64

Post by tankist02 »

My system: Fedora 18 x86_64, wxWidgets-2.9.4, Codelite revision 6041. CL configure ran without any errors. During build I got:

Code: Select all

g++  -DON_64_BIT   -O3 -DREGEXP_UNICODE  -DNDEBUG   -c Plugin/cl_aui_dock_art.cpp -fPIC -DHAS_LIBCLANG -I/data/andrew/software/codelite/sdk/clang/Linux/x86_64/include  -Wall -I/usr/local/lib/wx/include/gtk2-unicode-2.9 -I/usr/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -fno-strict-aliasing -DASTYLE_LIB -DYY_NEVER_INTERACTIVE=1 -DGTK -DSCI_LEXER -DLINK_LEXERS -D__WX__ -DINSTALL_DIR="\"/usr/share/codelite\"" -DPLUGINS_DIR="\"/usr/lib/codelite\""     -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz   -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    -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz   -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    -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz   -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    -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz   -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  -I./sdk/wxshapeframework/src  -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz   -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  -I./sdk/databaselayer/src/sqlite3  -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz   -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:4:0,
                 from Plugin/cl_aui_dock_art.cpp:1:
/usr/local/include/wx-2.9/wx/aui/dockart.h:48:27: error: ‘wxDC’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:49:27: error: ‘wxWindow’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:53:33: error: ‘wxDC’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:54:27: error: ‘wxWindow’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:58:30: error: ‘wxDC’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:59:27: error: ‘wxWindow’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:62:27: error: ‘wxAuiPaneInfo’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:64:30: error: ‘wxDC’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:65:27: error: ‘wxWindow’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:67:27: error: ‘wxAuiPaneInfo’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:69:29: error: ‘wxDC’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:70:27: error: ‘wxWindow’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:72:27: error: ‘wxAuiPaneInfo’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:74:33: error: ‘wxDC’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:75:27: error: ‘wxWindow’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:79:27: error: ‘wxAuiPaneInfo’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:100:19: error: ‘wxDC’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:101:19: error: ‘wxWindow’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:105:25: error: ‘wxDC’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:106:19: error: ‘wxWindow’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:110:22: error: ‘wxDC’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:111:19: error: ‘wxWindow’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:114:19: error: ‘wxAuiPaneInfo’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:116:22: error: ‘wxDC’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:117:19: error: ‘wxWindow’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:119:19: error: ‘wxAuiPaneInfo’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:121:21: error: ‘wxDC’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:122:19: error: ‘wxWindow’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:124:19: error: ‘wxAuiPaneInfo’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:126:25: error: ‘wxDC’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:127:19: error: ‘wxWindow’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:131:19: error: ‘wxAuiPaneInfo’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:133:19: error: ‘wxDC’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:135:19: error: ‘wxAuiPaneInfo’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:139:32: error: ‘wxDC’ has not been declared
/usr/local/include/wx-2.9/wx/aui/dockart.h:149:12: error: field ‘m_captionFont’ has incomplete type
Plugin/cl_aui_dock_art.cpp: In function ‘wxString wxAuiChopText(wxDC&, const wxString&, int)’:
Plugin/cl_aui_dock_art.cpp:11:7: error: invalid use of incomplete type ‘class wxDC’
In file included from /usr/local/include/wx-2.9/wx/window.h:19:0,
                 from /usr/local/include/wx-2.9/wx/control.h:23,
                 from /usr/local/include/wx-2.9/wx/treectrl.h:23,
                 from ./CodeLite/entry.h:28,
                 from ./Interfaces/ieditor.h:33,
                 from ./Interfaces/imanager.h:29,
                 from Plugin/cl_aui_dock_art.h:5,
                 from Plugin/cl_aui_dock_art.cpp:1:
/usr/local/include/wx-2.9/wx/event.h:44:11: error: forward declaration of ‘class wxDC’
Plugin/cl_aui_dock_art.cpp:21:11: error: invalid use of incomplete type ‘class wxDC’
In file included from /usr/local/include/wx-2.9/wx/window.h:19:0,
                 from /usr/local/include/wx-2.9/wx/control.h:23,
                 from /usr/local/include/wx-2.9/wx/treectrl.h:23,
                 from ./CodeLite/entry.h:28,
                 from ./Interfaces/ieditor.h:33,
                 from ./Interfaces/imanager.h:29,
                 from Plugin/cl_aui_dock_art.h:5,
                 from Plugin/cl_aui_dock_art.cpp:1:
/usr/local/include/wx-2.9/wx/event.h:44:11: error: forward declaration of ‘class wxDC’
Plugin/cl_aui_dock_art.cpp: In member function ‘virtual void clAuiDockArt::DrawPaneButton(wxDC&, wxWindow*, int, int, const wxRect&, wxAuiPaneInfo&)’:
Plugin/cl_aui_dock_art.cpp:96:15: error: invalid use of incomplete type ‘class wxDC’
In file included from /usr/local/include/wx-2.9/wx/window.h:19:0,
                 from /usr/local/include/wx-2.9/wx/control.h:23,
                 from /usr/local/include/wx-2.9/wx/treectrl.h:23,
                 from ./CodeLite/entry.h:28,
                 from ./Interfaces/ieditor.h:33,
                 from ./Interfaces/imanager.h:29,
                 from Plugin/cl_aui_dock_art.h:5,
                 from Plugin/cl_aui_dock_art.cpp:1:
/usr/local/include/wx-2.9/wx/event.h:44:11: error: forward declaration of ‘class wxDC’
Plugin/cl_aui_dock_art.cpp:97:15: error: invalid use of incomplete type ‘class wxDC’
In file included from /usr/local/include/wx-2.9/wx/window.h:19:0,
                 from /usr/local/include/wx-2.9/wx/control.h:23,
                 from /usr/local/include/wx-2.9/wx/treectrl.h:23,
                 from ./CodeLite/entry.h:28,
                 from ./Interfaces/ieditor.h:33,
                 from ./Interfaces/imanager.h:29,
                 from Plugin/cl_aui_dock_art.h:5,
                 from Plugin/cl_aui_dock_art.cpp:1:
/usr/local/include/wx-2.9/wx/event.h:44:11: error: forward declaration of ‘class wxDC’
Plugin/cl_aui_dock_art.cpp:99:15: error: invalid use of incomplete type ‘class wxDC’
In file included from /usr/local/include/wx-2.9/wx/window.h:19:0,
                 from /usr/local/include/wx-2.9/wx/control.h:23,
                 from /usr/local/include/wx-2.9/wx/treectrl.h:23,
                 from ./CodeLite/entry.h:28,
                 from ./Interfaces/ieditor.h:33,
                 from ./Interfaces/imanager.h:29,
                 from Plugin/cl_aui_dock_art.h:5,
                 from Plugin/cl_aui_dock_art.cpp:1:
/usr/local/include/wx-2.9/wx/event.h:44:11: error: forward declaration of ‘class wxDC’
Plugin/cl_aui_dock_art.cpp:100:15: error: invalid use of incomplete type ‘class wxDC’
In file included from /usr/local/include/wx-2.9/wx/window.h:19:0,
                 from /usr/local/include/wx-2.9/wx/control.h:23,
                 from /usr/local/include/wx-2.9/wx/treectrl.h:23,
                 from ./CodeLite/entry.h:28,
                 from ./Interfaces/ieditor.h:33,
                 from ./Interfaces/imanager.h:29,
                 from Plugin/cl_aui_dock_art.h:5,
                 from Plugin/cl_aui_dock_art.cpp:1:
/usr/local/include/wx-2.9/wx/event.h:44:11: error: forward declaration of ‘class wxDC’
Plugin/cl_aui_dock_art.cpp:106:7: error: invalid use of incomplete type ‘class wxDC’
In file included from /usr/local/include/wx-2.9/wx/window.h:19:0,
                 from /usr/local/include/wx-2.9/wx/control.h:23,
                 from /usr/local/include/wx-2.9/wx/treectrl.h:23,
                 from ./CodeLite/entry.h:28,
                 from ./Interfaces/ieditor.h:33,
                 from ./Interfaces/imanager.h:29,
                 from Plugin/cl_aui_dock_art.h:5,
                 from Plugin/cl_aui_dock_art.cpp:1:
/usr/local/include/wx-2.9/wx/event.h:44:11: error: forward declaration of ‘class wxDC’
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:113:5: error: ‘wxMemoryDC’ was not declared in this scope
Plugin/cl_aui_dock_art.cpp:113:16: error: expected ‘;’ before ‘memDc’
Plugin/cl_aui_dock_art.cpp:114:5: error: ‘memDc’ was not declared in this scope
Plugin/cl_aui_dock_art.cpp:117:19: error: ‘m_captionFont’ was not declared in this scope
Plugin/cl_aui_dock_art.cpp:151:7: error: invalid use of incomplete type ‘class wxDC’
In file included from /usr/local/include/wx-2.9/wx/window.h:19:0,
                 from /usr/local/include/wx-2.9/wx/control.h:23,
                 from /usr/local/include/wx-2.9/wx/treectrl.h:23,
                 from ./CodeLite/entry.h:28,
                 from ./Interfaces/ieditor.h:33,
                 from ./Interfaces/imanager.h:29,
                 from Plugin/cl_aui_dock_art.h:5,
                 from Plugin/cl_aui_dock_art.cpp:1:
/usr/local/include/wx-2.9/wx/event.h:44:11: error: forward declaration of ‘class wxDC’
make: *** [Release_gcc_unicode/SDKObjects_cl_aui_dock_art.o] Error 1
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Revision 6041 fails to build on Fedora 18 x64

Post by eranif »

Thanks, it usually the PCH build vs non-PCH builds - try updating trunk now

Eran
Make sure you have read the HOW TO POST thread
Post Reply