51510 on GTK

Igor Korot ikorot at earthlink.net
Sat Feb 2 22:21:15 PST 2008


Hi, ALL,
Trying to compile this on GTK... Got some questions
first.

../configure --help
--enable-regkey         use wxRegKey class (Win32 only)

However, it is enabled by default on the GTK build.
Does this mean it's implemented there?

Next, executing 'make' gave following result:
../src/common/datetime.cpp: In function 'void wxStringReadValue(const wxString&, T&) [with T = wxDateTime]':
../src/common/datetime.cpp:96: error: call of overloaded 'ParseFormat(const wxString&, const wchar_t [18])' is ambiguous
../include/wx/datetime.h:1074: note: candidates are: const char* wxDateTime::ParseFormat(const wxString&, const wxString&, const wxDateTime&, wxString::const_iterator*)
../include/wx/datetime.h:1086: note:                 const char* wxDateTime::ParseFormat(const wxString&, const wxString&, wxString::const_iterator*)
../include/wx/datetime.h:1094: note:                 const char* wxDateTime::ParseFormat(const wxCStrData&, const wxString&, const wxDateTime&, wxString::const_iterator*)
../include/wx/datetime.h:1101: note:                 const wchar_t* wxDateTime::ParseFormat(const wchar_t*, const wxString&, const wxDateTime&)
../include/wx/datetime.h:1113: note:                 const char* wxDateTime::ParseFormat(const char*, const wxString&, const wxDateTime&)
make: *** [basedll_datetime.o] Error 1

Library was configured with this line:

../configure --with-gtk --with-gnomevfs --with-opengl --enable-debug --enable-extended_rtti --enable-debug_flag --enable-debug_info 
--enable-debug_gdb --enable-debug_cntxt --enable-mem_tracing 
--enable-mediactrl --enable-tabdialog --enable-autoidman

Thank you.





More information about the wx-dev mailing list