Compiling Audacity 1.0.0 with wxWidgets 2.8.12

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
Post Reply
SlavaSlave
Posts: 22
Joined: Sun Oct 20, 2013 2:39 am
Operating System: Please select

Compiling Audacity 1.0.0 with wxWidgets 2.8.12

Post by SlavaSlave » 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.

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Compiling Audacity 1.0.0 with wxWidgets 2.8.12

Post by steve » Sun Oct 20, 2013 2:57 am

Why do you want to build Audacity 1.0.0?
Not only is it obsolete, I don't think that Audacity 1.0.0 supported VST.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

SlavaSlave
Posts: 22
Joined: Sun Oct 20, 2013 2:39 am
Operating System: Please select

Re: Compiling Audacity 1.0.0 with wxWidgets 2.8.12

Post by SlavaSlave » Mon Oct 21, 2013 8:26 pm

My goal was to get a simpler engine than the newest audacity, I am developing a website that will use audacity for collaborative music development and I wanted to start with a simpler audio engine to appeal to less experienced musicians. If there is an easy way to hide functionality with audacity 2.0.4 then I would probably go with that.

SlavaSlave
Posts: 22
Joined: Sun Oct 20, 2013 2:39 am
Operating System: Please select

Re: Compiling Audacity 1.0.0 with wxWidgets 2.8.12

Post by SlavaSlave » Mon Oct 21, 2013 9:40 pm

I want to use the less robust version so not to alienate less experienced users. This will tie in with another project.

Is it easier to compile v2.0.4 and hide features?

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Compiling Audacity 1.0.0 with wxWidgets 2.8.12

Post by steve » Mon Oct 21, 2013 11:08 pm

In the current 2.x series, any of the menu items can be easily disabled through using the translation files.
See here: http://manual.audacityteam.org/man/Simplifying_Audacity
Also, if you intend to release a modified version of Audacity, please see here: http://audacityteam.org/about/license
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply