Compiling Audacity 1.0.0 with wxWidgets 2.8.12
Posted: Sun Oct 20, 2013 2:49 am
Hello I am attempting to compile Audacity 1.0.0 and have it work with the newer wxWidgets 2.8.12.
When compiling VSTEffects.cpp I am getting the following error:
error C2664: 'VSTEffectDialog::OnSlider' : cannot convert parameter 1 from 'void (__thiscall VSTEffectDialog::* )(wxCommandEvent &)' to 'wxCommandEvent &'
The code looks like this:
BEGIN_EVENT_TABLE(VSTEffectDialog, wxDialog)
EVT_BUTTON(wxID_OK, VSTEffectDialog::OnOK)
EVT_BUTTON(wxID_CANCEL, VSTEffectDialog::OnCancel)
EVT_COMMAND_SCROLL(VSTEFFECT_SLIDER_ID, VSTEffectDialog::OnSlider)
EVT_SLIDER(VSTEFFECT_SLIDER_ID, VSTEffectDialog::OnSlider)
END_EVENT_TABLE()
I have been tearing through the code and looking online but havent found anything helpful. Has anyone else tried this or seen this error before? thank you in advance for any help.
When compiling VSTEffects.cpp I am getting the following error:
error C2664: 'VSTEffectDialog::OnSlider' : cannot convert parameter 1 from 'void (__thiscall VSTEffectDialog::* )(wxCommandEvent &)' to 'wxCommandEvent &'
The code looks like this:
BEGIN_EVENT_TABLE(VSTEffectDialog, wxDialog)
EVT_BUTTON(wxID_OK, VSTEffectDialog::OnOK)
EVT_BUTTON(wxID_CANCEL, VSTEffectDialog::OnCancel)
EVT_COMMAND_SCROLL(VSTEFFECT_SLIDER_ID, VSTEffectDialog::OnSlider)
EVT_SLIDER(VSTEFFECT_SLIDER_ID, VSTEffectDialog::OnSlider)
END_EVENT_TABLE()
I have been tearing through the code and looking online but havent found anything helpful. Has anyone else tried this or seen this error before? thank you in advance for any help.