Windows 10 issue - wxpanelwrapper.h error

Hi everyone!

I am trying to compile audacity from source for windows 10 using VS 2015.

I can’t get past this error.

audacity\src\widgets\wxpanelwrapper.h(25): error C2248: ‘wxDialog::wxDialog’: cannot access private member declared in class ‘wxDialog’

I’ve tried building against wxWidgets 3.0.0, 3.0.2 and 3.0.10 and although wxWidgets builds cleanly and I can include it in other projects, something about the declaration in audacity seems unhappy.

Can anyone suggest a fix?

I’m sorry, but my C++ is not that great under windows. I’m normally a Linux guy.

Unless you’re an expert building C++ in MVSC on Windows, I’d highly recommend that you follow the instructions in /win/compile.txt and use Microsoft Visual Studio 2013 C++. A few people have succeeded in building Audacity with MSVC 2015, but it’s not yet officially supported and I’ve no idea how much hackage is required to get it to work (I’m also normally a Linux guy).

Such user-contributed Information as we have is here http://wiki.audacityteam.org/wiki/Building_Audacity_on_Visual_Studio_2015.


Gale