|
下载
wxWidgets-2.6.3.tar.gz
到/tmp下
tar zxvf wxWidgets-2.6.3.tar.gz
cd wxWidgets-2.6.3
./configure --prefix=/usr
出现如下信息:
config.status: creating lib/wx/include/gtk2-ansi-release-2.6/wx/setup.h
config.status: lib/wx/include/gtk2-ansi-release-2.6/wx/setup.h is unchanged
config.status: executing wx-config commands
Configured wxWidgets 2.6.3 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.2 no
wxWidgets 2.4 yes
Which libraries should wxWidgets use?
jpeg sys
png sys
regex sys
tiff sys
zlib sys
odbc no
expat sys
libmspack no
sdl no
gnomeprint no
hildon no
[root@localhost wxWidgets-2.6.3]# make
./bk-deps g++ -c -o coredll_clipbrd.o -D__WXGTK__ -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -fPIC -DPIC -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -O2 -fno-strict-aliasing -pthread -Wall -Wundef -Wno-ctor-dtor-privacy ./src/gtk/clipbrd.cpp
src/gtk/clipbrd.cpp:501:1: directives may not be used inside a macro argument
src/gtk/clipbrd.cpp:500:41: unterminated argument list invoking macro "gtk_signal_connect"
src/gtk/clipbrd.cpp: In member function `virtual bool
wxClipboard::AddData(wxDataObject*)':
src/gtk/clipbrd.cpp:502: parse error before `(' token
src/gtk/clipbrd.cpp: At top level:
src/gtk/clipbrd.cpp:255: warning: `void selection_handler(GtkWidget*,
GtkSelectionData*, unsigned int, unsigned int, void*)' defined but not used
make: *** [coredll_clipbrd.o] Error 1
[root@localhost wxWidgets-2.6.3]#
请哪位高手帮看看问题出在哪,怎样解决? |
|