Compile error svn r13830 wx3 [SOLVED]

Building and customizing Audacity from the source code.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Locked
Hains
Posts: 13
Joined: Wed Feb 12, 2014 4:39 pm
Operating System: Please select

Compile error svn r13830 wx3 [SOLVED]

Post by Hains » Sat Jan 03, 2015 2:25 pm

Error compiling svn r13830. svn r13829 is OK. Building Audacity against wxwidget 3.0.2. Ubuntu 14.10.

effects/VST/VSTEffect.cpp: In static member function ‘static void VSTEffectsModule::Check(const wxChar*)’:
effects/VST/VSTEffect.cpp:705:104: error: no matching function for call to ‘wxString::Format(const wchar_t [9], const wchar_t [14], <anonymous enum>, wxCStrData)’
out = wxString::Format(wxT("%s%d=%sn"), OUTPUTKEY, kKeySubIDs, subids.RemoveLast().c_str());
^
effects/VST/VSTEffect.cpp:705:104: note: candidates are:
In file included from /usr/local/include/wx-3.0/wx/string.h:46:0,
from /usr/local/include/wx-3.0/wx/memory.h:15,
from /usr/local/include/wx-3.0/wx/object.h:19,
from /usr/local/include/wx-3.0/wx/event.h:16,
from /usr/local/include/wx-3.0/wx/app.h:19,
from effects/VST/VSTEffect.cpp:38:
/usr/local/include/wx-3.0/wx/string.h:2322:42: note: static wxString wxString::Format(const wxFormatString&)
WX_DEFINE_VARARG_FUNC(static wxString, Format, 1, (const wxFormatString&),


Happy new year.

Gale Andrews
Quality Assurance
Posts: 26087
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10
Contact:

Re: Compile error svn r13830 wx3

Post by Gale Andrews » Sat Jan 03, 2015 2:50 pm

Thanks for the report. Audacity does not officially support wx3.x yet, though it would be good to keep it compiling against that wx because we do intend to upgrade to it once issues are fixed. There are a number of major Audacity accessibility problems using wx3.

However, does this help:
https://code.google.com/p/audacity/sour ... il?r=13832 ?


Gale
Hains wrote:Error compiling svn r13830. svn r13829 is OK. Building Audacity against wxwidget 3.0.2. Ubuntu 14.10.

effects/VST/VSTEffect.cpp: In static member function ‘static void VSTEffectsModule::Check(const wxChar*)’:
effects/VST/VSTEffect.cpp:705:104: error: no matching function for call to ‘wxString::Format(const wchar_t [9], const wchar_t [14], <anonymous enum>, wxCStrData)’
out = wxString::Format(wxT("%s%d=%sn"), OUTPUTKEY, kKeySubIDs, subids.RemoveLast().c_str());
^
effects/VST/VSTEffect.cpp:705:104: note: candidates are:
In file included from /usr/local/include/wx-3.0/wx/string.h:46:0,
from /usr/local/include/wx-3.0/wx/memory.h:15,
from /usr/local/include/wx-3.0/wx/object.h:19,
from /usr/local/include/wx-3.0/wx/event.h:16,
from /usr/local/include/wx-3.0/wx/app.h:19,
from effects/VST/VSTEffect.cpp:38:
/usr/local/include/wx-3.0/wx/string.h:2322:42: note: static wxString wxString::Format(const wxFormatString&)
WX_DEFINE_VARARG_FUNC(static wxString, Format, 1, (const wxFormatString&),


Happy new year.
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Hains
Posts: 13
Joined: Wed Feb 12, 2014 4:39 pm
Operating System: Please select

Re: Compile error svn r13830 wx3

Post by Hains » Sat Jan 03, 2015 3:05 pm

No. Maybe with wxwidget 2.8.

This error is with svn r13845. So i wait or go back to wxwidget 2.8. Thanks anyway.

Gale Andrews
Quality Assurance
Posts: 26087
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10
Contact:

Re: Compile error svn r13830 wx3

Post by Gale Andrews » Sat Jan 03, 2015 3:40 pm

I will ask Leland about it.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Leland
Developer
Posts: 138
Joined: Thu Jul 26, 2007 8:55 pm
Operating System: Please select

Re: Compile error svn r13830 wx3

Post by Leland » Sat Jan 03, 2015 5:11 pm

Try svn r13846.

Hains
Posts: 13
Joined: Wed Feb 12, 2014 4:39 pm
Operating System: Please select

Re: Compile error svn r13830 wx3 [SOLVED]

Post by Hains » Sat Jan 03, 2015 6:28 pm

Yes, now ok. Thanks.

Locked