LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (http://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Filezilla wxString Error (http://www.linuxquestions.org/questions/slackware-installation-40/filezilla-wxstring-error-910367/)

Stragonian 10-26-2011 08:26 PM

Filezilla wxString Error
 
I keep trying to compile filezilla for Slackware 13.1 however I keep getting the following error while compiling:

Code:

local_path.cpp:118: error: 'class wxString' has no member named 'GetWriteBuf'
local_path.cpp:207: error: 'class wxString' has no member named 'UngetWriteBuf'
make[2]: *** [libengine_a-local_path.o] Error 1
make[2]: Leaving directory `/tmp/SBo/filezilla-3.3.1/src/engine'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/filezilla-3.3.1/src'
make: *** [all-recursive] Error 1

wx/string.h does have GetWriteBuf & UngetWriteBuf initialized as:

Code:

#if !wxUSE_STL
    // get writable buffer of at least nLen bytes. Unget() *must* be called
    // a.s.a.p. to put string back in a reasonable state!
  wxChar *GetWriteBuf(size_t nLen);
    // call this immediately after GetWriteBuf() has been used
  void UngetWriteBuf();
  void UngetWriteBuf(size_t nLen);
#endif

Any help would be appreciated.

Stragonian 10-26-2011 10:03 PM

Ok, so I recompiled and installed wxGTK without --enable-stl because the wx/string.h file used #if !wxUSE_STL and I got the following error when trying to compile
Code:

/usr/include/wx-2.8/wx/object.h: In constructor 'CDesktopNotification::CDesktopNotification()':
/usr/include/wx-2.8/wx/object.h:437: error: 'static void* wxObject::operator new(size_t, const wxChar*, int)' is inaccessible
desktop_notification.cpp:50: error: within this context
/usr/include/wx-2.8/wx/object.h:441: error: 'static void wxObject::operator delete(void*)' is inaccessible
desktop_notification.cpp:50: error: within this context
/usr/include/wx-2.8/wx/object.h: In destructor 'virtual CDesktopNotification::~CDesktopNotification()':
/usr/include/wx-2.8/wx/object.h:441: error: 'static void wxObject::operator delete(void*)' is inaccessible
desktop_notification.cpp:55: error: within this context
/usr/include/wx-2.8/wx/object.h:441: error: 'static void wxObject::operator delete(void*)' is inaccessible
desktop_notification.cpp:55: error: within this context
make[2]: *** [libfzdbus_a-desktop_notification.o] Error 1
make[2]: Leaving directory `/tmp/SBo/filezilla-3.3.1/src/dbus'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/filezilla-3.3.1/src'
make: *** [all-recursive] Error 1



All times are GMT -5. The time now is 07:30 AM.