Error during compile.(‘wxFileType’ was not declared in this scope)
Allan Kamau
kamauallan at yahoo.com
Tue Oct 2 02:36:55 PDT 2007
Hi all,
I am experiencing an error during the make phase of the compilation process and have searched the archives without success.
Am running Fedora core 7.
I executed .configure as follows.
$date;time ./configure --with-gtk --enable-gtk2 --enable-unicode --enable-mimetype=no;date;
The last output lines read as follows.
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 builtin
tiff sys
zlib sys
odbc no
expat sys
libmspack no
sdl no
Below are the last output lines (containing the error) of the make command.
make[1]: Entering directory `/usr/local/src/postgreSQL/wxWidgets-2.8.5/utils/wxrc'
/usr/local/src/postgreSQL/wxWidgets-2.8.5/bk-deps g++ -c -o wxrc_wxrc.o -D__WXGTK__ -I. -DWXUSINGDLL -DwxUSE_GUI=0 -DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/local/src/postgreSQL/wxWidgets-2.8.5/lib/wx/include/gtk2-unicode-release-2.8 -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/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo ./wxrc.cpp
./wxrc.cpp: In member function ‘void XmlResApp::MakePackageCPP(const wxArrayString&)’:
./wxrc.cpp:656: error: ‘wxFileType’ was not declared in this scope
./wxrc.cpp:656: error: ‘ft’ was not declared in this scope
./wxrc.cpp:656: error: ‘wxTheMimeTypesManager’ was not declared in this scope
make[1]: *** [wxrc_wxrc.o] Error 1
make[1]: Leaving directory `/usr/local/src/postgreSQL/wxWidgets-2.8.5/utils/wxrc'
make: *** [wxrc] Error 2
____________________________________________________________________________________
Check out the hottest 2008 models today at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
More information about the wx-users
mailing list