wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
5.74k stars 1.69k forks source link

does not build #3756

Closed wxtrac closed 2 years ago

wxtrac commented 17 years ago

Issue migrated from trac ticket # 3756

component: build | priority: normal

2006-12-16 20:03:44: npmk created the issue


I did a ./configure and then a make but the make ran into problems -- see messages below

./config --prefix=/usr/local

(...)

config.status: creating contrib/samples/gizmos/dynsash/Makefile config.status: creating contrib/samples/gizmos/multicell/Makefile config.status: creating contrib/samples/gizmos/Makefile config.status: creating contrib/samples/gizmos/splittree/Makefile config.status: creating contrib/samples/Makefile config.status: creating contrib/samples/mmedia/Makefile config.status: creating contrib/samples/deprecated/resource/Makefile config.status: creating contrib/samples/deprecated/Makefile config.status: creating contrib/samples/deprecated/treelay/Makefile config.status: creating contrib/samples/deprecated/proplist/Makefile config.status: creating contrib/Makefile config.status: creating lib/wx/include/gtk2-ansi-release-2.8/wx/setup.h config.status: executing wx-config commands

Configured wxWidgets 2.8.0 for `i686-pc-linux-gnu'

Which GUI toolkit should wxWidgets use? GTK+ 2 Should wxWidgets be compiled into single library? no Should wxWidgets be compiled in debug mode? no Should wxWidgets be linked as a shared library? yes Should wxWidgets be compiled in Unicode mode? no What level of wxWidgets compatibility should be enabled? wxWidgets 2.4 no wxWidgets 2.6 yes Which libraries should wxWidgets use? jpeg sys png sys regex sys tiff sys zlib sys odbc no expat sys libmspack no sdl no

the configure looks OK to me

then the make runs into problems somewhere down the line (...) is omitted stuff

make

(...)

/home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_ftp.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/ftp.cpp /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_http.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/http.cpp /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_protocol.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/protocol.cpp /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_sckaddr.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/sckaddr.cpp /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_sckfile.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/sckfile.cpp /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_sckipc.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/

KINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/fs_inet.cpp /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_ftp.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/ftp.cpp /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_http.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/http.cpp /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_protocol.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/protocol.cpp /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_sckaddr.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/sckaddr.cpp /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_sckfile.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/sckfile.cpp /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_sckipc.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/ usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/sckipc.cpp /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_sckstrm.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/sckstrm.cpp /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_socket.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/socket.cpp /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_url.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/url.cpp /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o netdll_gsocket.o -DWXGTK -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_NET -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/unix/gsocket.cpp g++ -shared -fPIC -o /home/kuin/gdl/wxX11-2.8.0/lib/libwx_base_net-2.8.so.0.0.0 netdll_fs_inet.o netdll_ftp.o netdll_http.o netdll_protocol.o netdll_sckaddr.o netdll_sckfile.o netdll_sckipc.o netdll_sckstrm.o netdll_socket.o netdll_url.o netdll_gsocket.o -L/home/kuin/gdl/wxX11-2.8.0/lib -pthread -L/usr/X11R6/lib -L/home/kuin/gdl/wxX11-2.8.0/lib -Wl,-soname,libwx_base_net-2.8.so.0 -lz -ldl -lm -pthread -L/usr/X11R6/lib -Wl,--version-script,/home/kuin/gdl/wxX11-2.8.0/version-script -lz -ldl -lm -lwx_base-2.8 (cd /home/kuin/gdl/wxX11-2.8.0/lib/; rm -f libwx_base_net-2.8.so libwx_base_net-2.8.so.0; ln -s libwx_base_net-2.8.so.0.0.0 libwx_base_net-2.8.so.0; ln -s libwx_base_net-2.8.so.0 libwx_base_net-2.8.so) /home/kuin/gdl/wxX11-2.8.0/bk-deps g++ -c -o coredll_event.o -DWXGTK -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/home/kuin/gdl/wxX11-2.8.0/lib/wx/include/gtk2-ansi-release-2.8 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ./src/common/event.cpp In file included from include/wx/event.h:22, from src/common/event.cpp:27: include/wx/cursor.h:24:31: wx/gtk/cursor.h: No such file or directory In file included from include/wx/event.h:22, from src/common/event.cpp:27: include/wx/cursor.h: In destructor wxBusyCursorSuspender::~wxBusyCursorSuspender()': include/wx/cursor.h:74: error: invalid use of undefined typeconst struct wxCursor' include/wx/gdicmn.h:33: error: forward declaration of const struct wxCursor' In file included from src/common/event.cpp:27: include/wx/event.h: At global scope: include/wx/event.h:921: error: fieldm_cursor' has incomplete type include/wx/event.h: In constructor wxSetCursorEvent::wxSetCursorEvent(int, int)': include/wx/event.h:900: error: classwxSetCursorEvent' does not have any field named m_cursor' include/wx/event.h: In copy constructor wxSetCursorEvent::wxSetCursorEvent(const wxSetCursorEvent&)': include/wx/event.h:907: error: class wxSetCursorEvent' does not have any field namedm_cursor' include/wx/event.h:907: error: 'const class wxSetCursorEvent' has no member named 'm_cursor' include/wx/event.h: In member function void wxSetCursorEvent::SetCursor(const wxCursor&)': include/wx/event.h:913: error:m_cursor' undeclared (first use this function) include/wx/event.h:913: error: (Each undeclared identifier is reported only once for each function it appears in.) In file included from src/common/event.cpp:31: include/wx/app.h:570:32: wx/gtk/app.h: No such file or directory In file included from src/common/event.cpp:31: include/wx/app.h: In constructor wxAppInitializer::wxAppInitializer(wxAppConsole*(*)())': include/wx/app.h:630: error:wxApp' undeclared (first use this function) include/wx/app.h:630: error: parse error before ;' token In file included from include/wx/window.h:24, from include/wx/control.h:23, from src/common/event.cpp:37: include/wx/font.h:233:29: wx/gtk/font.h: No such file or directory In file included from include/wx/window.h:25, from include/wx/control.h:23, from src/common/event.cpp:37: include/wx/gdicmn.h:38: error: forward declaration of include/wx/colour.h:135:31: wx/gtk/colour.h: No such file or directory In file included from include/wx/window.h:26, from include/wx/control.h:23, from src/common/event.cpp:37: include/wx/region.h:224:31: wx/gtk/region.h: No such file or directory In file included from include/wx/window.h:26, from include/wx/control.h:23, from src/common/event.cpp:37: include/wx/region.h: In member functionbool wxRegionBase::Intersect(const wxRect&)': include/wx/region.h:251: error: invalid use of undefined type struct wxRegion' include/wx/gdicmn.h:38: error: forward declaration ofstruct wxRegion' include/wx/region.h: In member function bool wxRegionBase::Subtract(const wxRect&)': include/wx/region.h:256: error: invalid use of undefined typestruct wxRegion' include/wx/gdicmn.h:38: error: forward declaration of struct wxRegion' include/wx/region.h: In member functionbool wxRegionBase::Xor(const wxRect&) ': include/wx/region.h:261: error: invalid use of undefined type struct wxRegion' struct wxRegion' In file included from include/wx/window.h:37, from include/wx/control.h:23, from src/common/event.cpp:37: include/wx/accel.h:155:30: wx/gtk/accel.h: No such file or directory In file included from include/wx/control.h:23, from src/common/event.cpp:37: include/wx/window.h: At global scope: include/wx/window.h:82: error: field font' has incomplete type include/wx/window.h:85: error: fieldcolFg' has incomplete type include/wx/window.h:89: error: field colBg' has incomplete type include/wx/window.h:1196: error: fieldm_cursor' has incomplete type include/wx/window.h:1197: error: field m_font' has incomplete type include/wx/window.h:1198: error: fieldm_backgroundColour' has incomplete type include/wx/window.h:1199: error: field m_foregroundColour' has incomplete type include/wx/window.h:1206: error: fieldm_updateRegion' has incomplete type include/wx/window.h:1211: error: field m_acceleratorTable' has incomplete type include/wx/window.h: In member functionvirtual void wxWindowBase::SetAcceleratorTable(const wxAcceleratorTable&)': include/wx/window.h:657: error: m_acceleratorTable' undeclared (first use this function) include/wx/window.h: In member functionconst wxRegion& wxWindowBase::GetUpdateRegion() const': include/wx/window.h:748: error: m_updateRegion' undeclared (first use this function) In file included from include/wx/control.h:23, from src/common/event.cpp:37: include/wx/window.h:1452:31: wx/gtk/window.h: No such file or directory include/wx/window.h: In member functionwxWindow* wxWindowBase::GetGrandParent() const': include/wx/window.h:1513: error: GetParent' undeclared (first use this function) In file included from src/common/event.cpp:37: include/wx/control.h: At global scope: include/wx/control.h:32: error: base classwxWindow' has incomplete type include/wx/control.h: In member function int wxControlBase::GetAlignment() const': include/wx/control.h:47: error:m_windowStyle' undeclared (first use this function) include/wx/control.h: In member function wxString wxControlBase::GetLabelText() const': include/wx/control.h:53: error:GetLabel' undeclared (first use this function) In file included from src/common/event.cpp:37: include/wx/control.h:103:32: wx/gtk/control.h: No such file or directory In file included from include/wx/dc.h:25, from src/common/event.cpp:38: include/wx/bitmap.h: In member function virtual wxColour wxBitmapBase::QuantizeColour(const wxColour&) const': include/wx/bitmap.h:194: error: return typestruct wxColour' is incomplete

In file included from include/wx/dc.h:25, from src/common/event.cpp:38: include/wx/bitmap.h:213:31: wx/gtk/bitmap.h: No such file or directory In file included from include/wx/dc.h:26, from src/common/event.cpp:38: include/wx/brush.h:38:30: wx/gtk/brush.h: No such file or directory In file included from include/wx/dc.h:27, from src/common/event.cpp:38: include/wx/pen.h:24:24: wx/gtk/pen.h: No such file or directory In file included from src/common/event.cpp:38: include/wx/dc.h: At global scope: include/wx/dc.h:835: error: field m_pen' has incomplete type include/wx/dc.h:836: error: fieldm_brush' has incomplete type include/wx/dc.h:837: error: field m_backgroundBrush' has incomplete type include/wx/dc.h:838: error: fieldm_textForegroundColour' has incomplete type include/wx/dc.h:839: error: field m_textBackgroundColour' has incomplete type include/wx/dc.h:840: error: fieldm_font' has incomplete type include/wx/dc.h: In constructor wxDCBase::wxDCBase()': include/wx/dc.h:121: error: classwxDCBase' does not have any field named m_pen' include/wx/dc.h:122: error: classwxDCBase' does not have any field named m_brush' include/wx/dc.h:123: error: classwxDCBase' does not have any field named m_backgroundBrush' include/wx/dc.h:124: error: classwxDCBase' does not have any field named m_textForegroundColour' include/wx/dc.h:125: error: classwxDCBase' does not have any field named m_textBackgroundColour' include/wx/dc.h:126: error: classwxDCBase' does not have any field named m_font' include/wx/dc.h: In member functionwxBitmap wxDCBase::GetAsBitmap(const wxRect*) const': include/wx/dc.h:318: error: return type struct wxBitmap' is incomplete include/wx/dc.h:319: error: invalid use of undefined typestruct wxBitmap' include/wx/gdicmn.h:30: error: forward declaration of struct wxBitmap' include/wx/dc.h: In member functionvirtual const wxBrush& wxDCBase::GetBackground() const': include/wx/dc.h:528: error: m_backgroundBrush' undeclared (first use this function) include/wx/dc.h: In member functionvirtual const wxBrush& wxDCBase::GetBrush() const': include/wx/dc.h:529: error: m_brush' undeclared (first use this function) include/wx/dc.h: In member functionvirtual const wxFont& wxDCBase::GetFont() const': include/wx/dc.h:530: error: m_font' undeclared (first use this function) include/wx/dc.h: In member functionvirtual const wxPen& wxDCBase::GetPen() const':

include/wx/dc.h:531: error: m_pen' undeclared (first use this function) include/wx/dc.h: In member functionvirtual const wxColour& wxDCBase::GetTextForeground() const': include/wx/dc.h:533: error: m_textForegroundColour' undeclared (first use this function) include/wx/dc.h: In member functionvirtual const wxColour& wxDCBase::GetTextBackground() const': include/wx/dc.h:534: error: m_textBackgroundColour' undeclared (first use this function) include/wx/dc.h: In member functionvirtual wxBitmap wxDCBase::DoGetAsBitmap(const wxRect) const': include/wx/dc.h:734: error: return type struct wxBitmap' is incomplete In file included from src/common/event.cpp:38: include/wx/dc.h:863:27: wx/gtk/dc.h: No such file or directory include/wx/dc.h: At global scope: include/wx/dc.h:915: error: fieldm_colFgOld' has incomplete type include/wx/dc.h: In constructor wxDCTextColourChanger::wxDCTextColourChanger(wxDC&)': include/wx/dc.h:892: error: classwxDCTextColourChanger' does not have any field named m_colFgOld' include/wx/dc.h: In destructorwxDCTextColourChanger::~wxDCTextColourChanger() ': include/wx/dc.h:901: error: m_colFgOld' undeclared (first use this function) include/wx/dc.h:902: error:SetTextForeground' undeclared (first use this function) include/wx/dc.h: In member function void wxDCTextColourChanger::Set(const wxColour&)': include/wx/dc.h:908: error:GetTextForeground' undeclared (first use this function) include/wx/dc.h:909: error: SetTextForeground' undeclared (first use this function) include/wx/dc.h: At global scope: include/wx/dc.h:942: error: fieldm_penOld' has incomplete type include/wx/dc.h: In constructor wxDCPenChanger::wxDCPenChanger(wxDC&, const wxPen&)': include/wx/dc.h:928: error: classwxDCPenChanger' does not have any field named m_penOld' include/wx/dc.h:928: error:GetPen' undeclared (first use this function) include/wx/dc.h:930: error: SetPen' undeclared (first use this function) include/wx/dc.h: In destructorwxDCPenChanger::~wxDCPenChanger()': include/wx/dc.h:935: error: m_penOld' undeclared (first use this function) include/wx/dc.h:936: error:SetPen' undeclared (first use this function) include/wx/dc.h: At global scope: include/wx/dc.h:969: error: field m_brushOld' has incomplete type include/wx/dc.h: In constructorwxDCBrushChanger::wxDCBrushChanger(wxDC&, const wxBrush&)': include/wx/dc.h:955: error: class wxDCBrush include/wx/dc.h:531: error:m_pen' undeclared (first use this function) include/wx/dc.h: In member function virtual const wxColour& wxDCBase::GetTextForeground() const': include/wx/dc.h:533: error:m_textForegroundColour' undeclared (first use this function) include/wx/dc.h: In member function virtual const wxColour& wxDCBase::GetTextBackground() const': include/wx/dc.h:534: error:m_textBackgroundColour' undeclared (first use this function) include/wx/dc.h: In member function `virtual wxBitmap wxDCBase::DoGetAsBitmap(const wxRect) const': include/wx/dc.h:734: error: return type struct wxBitmap' is incomplete In file included from src/common/event.cpp:38: include/wx/dc.h:863:27: wx/gtk/dc.h: No such file or directory include/wx/dc.h: At global scope: include/wx/dc.h:915: error: fieldm_colFgOld' has incomplete type include/wx/dc.h: In constructor wxDCTextColourChanger::wxDCTextColourChanger(wxDC&)': include/wx/dc.h:892: error: classwxDCTextColourChanger' does not have any field named m_colFgOld' include/wx/dc.h: In destructorwxDCTextColourChanger::~wxDCTextColourChanger() ': include/wx/dc.h:901: error: m_colFgOld' undeclared (first use this function) include/wx/dc.h:902: error:SetTextForeground' undeclared (first use this function) include/wx/dc.h: In member function void wxDCTextColourChanger::Set(const wxColour&)': include/wx/dc.h:908: error:GetTextForeground' undeclared (first use this function) include/wx/dc.h:909: error: SetTextForeground' undeclared (first use this function) include/wx/dc.h: At global scope: include/wx/dc.h:942: error: fieldm_penOld' has incomplete type include/wx/dc.h: In constructor wxDCPenChanger::wxDCPenChanger(wxDC&, const wxPen&)': include/wx/dc.h:928: error: classwxDCPenChanger' does not have any field named m_penOld' include/wx/dc.h:928: error:GetPen' undeclared (first use this function) include/wx/dc.h:930: error: SetPen' undeclared (first use this function) include/wx/dc.h: In destructorwxDCPenChanger::~wxDCPenChanger()': include/wx/dc.h:935: error: m_penOld' undeclared (first use this function) include/wx/dc.h:936: error:SetPen' undeclared (first use this function) include/wx/dc.h: At global scope: include/wx/dc.h:969: error: field m_brushOld' has incomplete type include/wx/dc.h: In constructorwxDCBrushChanger::wxDCBrushChanger(wxDC&, const wxBrush&)': include/wx/dc.h:955: error: class wxDCBrushChanger' does not have any field namedm_brushOld' include/wx/dc.h:955: error: GetBrush' undeclared (first use this function) include/wx/dc.h:957: error:SetBrush' undeclared (first use this function) include/wx/dc.h: In destructor wxDCBrushChanger::~wxDCBrushChanger()': include/wx/dc.h:962: error:m_brushOld' undeclared (first use this function) include/wx/dc.h:963: error: SetBrush' undeclared (first use this function) include/wx/dc.h: In constructorwxDCClipper::wxDCClipper(wxDC&, const wxRegion&)': include/wx/dc.h:983: error: SetClippingRegion' undeclared (first use this function) include/wx/dc.h: In constructorwxDCClipper::wxDCClipper(wxDC&, const wxRect&) ': include/wx/dc.h:985: error: SetClippingRegion' undeclared (first use this function) include/wx/dc.h: In constructorwxDCClipper::wxDCClipper(wxDC&, int, int, int, int)': include/wx/dc.h:987: error: SetClippingRegion' undeclared (first use this function) include/wx/dc.h: In destructorwxDCClipper::~wxDCClipper()': include/wx/dc.h:989: error: DestroyClippingRegion' undeclared (first use this function) In file included from src/common/event.cpp:39: include/wx/textctrl.h: At global scope: include/wx/textctrl.h:267: error: fieldm_colText' has incomplete type include/wx/textctrl.h:268: error: field m_colBack' has incomplete type include/wx/textctrl.h:269: error: fieldm_font' has incomplete type include/wx/textctrl.h: In member function void wxTextAttr::SetTextColour(const wxColour&)': include/wx/textctrl.h:222: error:m_colText' undeclared (first use this function) include/wx/textctrl.h: In member function void wxTextAttr::SetBackgroundColour(const wxColour&)': include/wx/textctrl.h:223: error:m_colBack' undeclared (first use this function) include/wx/textctrl.h: At global scope: include/wx/textctrl.h:289: error: base class wxControl' has incomplete type include/wx/textctrl.h: In member functionbool wxTextCtrlBase::IsSingleLine() const': include/wx/textctrl.h:318: error: HasFlag' undeclared (first use this function) In file included from src/common/event.cpp:39: include/wx/textctrl.h:477:33: wx/gtk/textctrl.h: No such file or directory include/wx/textctrl.h: In member functionvoid wxStreamToTextRedirector::Init(wxTextCtrl)': include/wx/textctrl.h:567: error: no matching function for call to ` std::basic_ostream<char, std::char_traits >::rdbuf(wxTextCtrl&)' /usr/include/c++/3.3.4/bits/basic_ios.h:309: error: candidates are:

std::basic_streambuf<_CharT, _Traits> std::basic_ios<_CharT, _Traits>::rdbuf() const [with _CharT # char, _Traitsstd::char_traits] /usr/include/c++/3.3.4/bits/basic_ios.tcc:52: error:
std::basic_streambuf<_CharT, _Traits>
std::basic_ios<_CharT, _Traits>::rdbuf(std::basic_streambuf<_CharT, _Traits>) [with _CharT = char, _Traits = std::char_traits] src/common/event.cpp: In member function wxString wxCommandEvent::GetString() const': src/common/event.cpp:408: error: invalid static_cast from typewxObject const ' to type const wxTextCtrl*' src/common/event.cpp:408: error: incomplete typewxTextCtrl' does not have member ms_classInfo' src/common/event.cpp:410: error:GetValue' undeclared (first use this function) src/common/event.cpp: In static member function static bool wxIdleEvent::CanSend(wxWindow*)': src/common/event.cpp:489: error:GetExtraStyle' undeclared (first use this function) src/common/event.cpp: In member function wxPoint wxMouseEvent::GetLogicalPosition(const wxDC&) const': src/common/event.cpp:697: error:DeviceToLogicalX' undeclared (first use this function) src/common/event.cpp:697: error: DeviceToLogicalY' undeclared (first use this function) src/common/event.cpp: In constructor wxWindowCreateEvent::wxWindowCreateEvent(wxWindow)': src/common/event.cpp:752: error: no matching function for call to ` wxWindowCreateEvent::SetEventObject(wxWindow&)' include/wx/event.h:343: error: candidates are: void wxEvent::SetEventObject(wxObject) src/common/event.cpp: In constructor ` wxWindowDestroyEvent::wxWindowDestroyEvent(wxWindow)': src/common/event.cpp:758: error: no matching function for call to wxWindowDestroyEvent::SetEventObject(wxWindow*&)' include/wx/event.h:343: error: candidates are: void wxEvent::SetEventObject(wxObject*) src/common/event.cpp: In constructor wxChildFocusEvent::wxChildFocusEvent(wxWindow)': src/common/event.cpp:764: error: no matching function for call to ` wxChildFocusEvent::SetEventObject(wxWindow&)' include/wx/event.h:343: error: candidates are: void wxEvent::SetEventObject(wxObject) src/common/event.cpp: In function `wxWindow wxFindFocusDescendant(wxWindow*)': src/common/event.cpp:1445: error: incomplete type 'wxWindow' cannot be used to name a scope src/common/event.cpp:1455: error: `GetParent' undeclared (first use this function) make: *** [coredll_event.o] Error 1

wxtrac commented 17 years ago

2006-12-16 21:25:37: npmk commented


system: Linux version 2.4.31 (root@tree) (gcc version 3.3.5) #6 Sun Jun 5 19:04:47 PDT 2005 (slackware 10.2 distribution )

I forgot the --with-x11 flag. So I redid the ./configure and make. Make failed miserably.

When building with the --with-x11 flag, the make fails because the directory include/wx/univ is missing. I just gets not as far in the make process before it fails...

I'll try the 2.6.3 distro.

wxtrac commented 17 years ago

2006-12-16 23:53:30: @vadz commented


wx/gtk/cursor.h: No such file or directory

should be self explanatory: you don't have wxGTK headers. And if you don't have wxUniv headers, it's no wonder wxX11 doesn't build neither.

If you mean to say that some distribution (which?) misses these headers, please make it clear i.e. at least tell us how/where did you get your sources. But this is clearly not a compilation problem per se as even the most cursory examination of the errors would have shown.

wxtrac commented 17 years ago

2006-12-17 01:46:46: npmk commented


OK, I got the distro from the http://wxwidgets.org/downloads/ website. Can you recomment a better one?

wxtrac commented 17 years ago

2006-12-17 01:54:03: @vadz commented


-Which* file did you get? My guess would be wxMSW or something else but not wxGTK.