Error building 2.2.2 in 64-bit

I switched to 64-bit (Slackware 14.2, updated daily, kernel 4.17.1, self-built). I downloaded the latest Audacity (2.2.2-rc1) When I build I get:

In file included from gtk/FileDialogPrivate.cpp:23:0:
/usr/local/include/wx-3.0/wx/filename.h: In static member function ‘static wxUniChar wxFileName::GetPathSeparator(wxPathFormat)’:
/usr/local/include/wx-3.0/wx/filename.h:473:43: error: ambiguous overload for ‘operator’ (operand types are ‘wxString’ and ‘unsigned int’)
{ return GetPathSeparators(format)[0u]; }
^
/usr/local/include/wx-3.0/wx/filename.h:473:43: note: candidate: operator(const char*, long int)
/usr/local/include/wx-3.0/wx/filename.h:473:43: note: candidate: operator(const wchar_t*, long int)
In file included from /usr/local/include/wx-3.0/wx/filectrl.h:19:0,
from gtk/…/FileDialog.h:21,
from gtk/FileDialogPrivate.cpp:14:

/usr/local/include/wx-3.0/wx/string.h:1544:15: note: candidate: wxUniChar wxString::operator const
wxUniChar operator(int n) const
^~~~~~~~
/usr/local/include/wx-3.0/wx/string.h:1546:15: note: candidate: wxUniChar wxString::operator(long int) const
wxUniChar operator(long n) const
^~~~~~~~
/usr/local/include/wx-3.0/wx/string.h:1548:15: note: candidate: wxUniChar wxString::operator const
wxUniChar operator(size_t n) const
^~~~~~~~
/usr/local/include/wx-3.0/wx/string.h:1556:18: note: candidate: wxUniCharRef wxString::operator
wxUniCharRef operator(int n)
^~~~~~~~
/usr/local/include/wx-3.0/wx/string.h:1558:18: note: candidate: wxUniCharRef wxString::operator(long int)
wxUniCharRef operator(long n)
^~~~~~~~
/usr/local/include/wx-3.0/wx/string.h:1560:18: note: candidate: wxUniCharRef wxString::operator
wxUniCharRef operator(size_t n)
^~~~~~~~
make[2]: *** [Makefile:585: gtk/libFileDialog_la-FileDialogPrivate.lo] Error 1
make[1]: *** [Makefile:1013: all-recursive] Error 1
make: *** [Makefile:808: all-recursive] Error 1

Is this a wxWidgets problem? I can’t build it either.

Are you saying that you don’t have a working version of WxWidgets?

I had a working version of wxWidgets. It seemed to be the current version the first place I looked. I downloaded the source anew but still couldn’t build. More searching turned up version 3.04 which I could build, then I could build Audacity. Apologize for my bungling.