Thread Previous • Date Previous • Date Next • Thread Next |
Nagy László wrote:
Hi Latest svn version exit error, but previous version work make -f makefile.gtkg++ -Wall -O2 -I/usr/lib/wx/include/ -I/usr/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -fno-strict-aliasing -I./ -I../include -I -I./ -Ibitmaps -I../include -fno-strict-aliasing -c -o hotkeys_basic.o hotkeys_basic.cpp hotkeys_basic.cpp: In member function ‘int WinEDA_BasicFrame::WriteHotkeyConfigFile(const wxString&, Ki_HotkeyInfoSectionDescriptor*, bool)’: hotkeys_basic.cpp:430: error: request for member ‘c_str’ in ‘DescList->Ki_HotkeyInfoSectionDescriptor::m_SectionTag’, which is of non-class type ‘wxString*’make: *** [hotkeys_basic.o] Error 1
from macros.h: #if wxUSE_UNICODE#define CONV_TO_UTF8(wxstring) ((const char*) wxConvCurrent->cWX2MB(wxstring))
#define CONV_FROM_UTF8(utf8string) ( wxConvCurrent->cMB2WC(utf8string)) #else #define CONV_TO_UTF8(wxstring) ((const char*)(wxstring.c_str())) #define CONV_FROM_UTF8(utf8string) (utf8string) #endifThe CONV_TO_UTF8 macro has been in use for quite some time. I have no problem compiling it here. I think there is something wrong with your wxWidgets installation. One reason is that wxString seems not to be recognized as a class:
‘DescList->Ki_HotkeyInfoSectionDescriptor::m_SectionTag’, which is of non-class type ‘wxString*’
Start with that, and reflect back on what you have changed since it last compiled.
Thread Previous • Date Previous • Date Next • Thread Next |