Audacity compilation error

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
wakaka
Posts: 10
Joined: Wed Dec 04, 2019 6:15 am
Operating System: Windows 10

Audacity compilation error

Post by wakaka » Wed Dec 04, 2019 6:34 am

Hello everyone, this is my first contact with audacity. I downloaded the audacity source code and wxWidgets, and copied and compiled wxWidgets according to the process. But when I compiled audacity, there were compilation errors :( :( :( .
I really don't know how to solve this problem. I hope some kind friends can help me. This is my email:[email protected] you can send me an email or reply to comments below. I will pay attention to it all the time.Thank you for your reply and patience.
ps:Audacity Version 2.3.3
wxWidgets Version 3.0.2
WxWidgets path:C:\wxWidgets-3.0.2
Environment variable WXWIN:C:\wxWidgets-3.0.2

roadsterUK
Posts: 187
Joined: Sat Apr 15, 2017 8:00 pm
Operating System: Windows 10

Re: Audacity compilation error

Post by roadsterUK » Wed Dec 04, 2019 9:17 am

First suggestion is to use wxwidgets 3.1.2 instead and make sure you are sticking with the 32 bit environment throughout. It compiles and links easily for me with the environment variables ASIOSDK_DIR and WXWIN set to point to the relevant directories. There are some warning but no errors as such. Does wxWidgets build correctly first or are you relying on something pre-built?

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

Re: Audacity compilation error

Post by steve » Wed Dec 04, 2019 9:50 am

roadsterUK wrote:
Wed Dec 04, 2019 9:17 am
First suggestion is to use wxwidgets 3.1.2 instead
My first suggestion would be to try following the official build instructions. The build instructions for Windows say:

Code: Select all

3. wxWidgets:

 1) Clone wxWidgets and checkout 3.1.1 from the Audacity fork of the 
    wxWidgets project: 
       https://github.com/audacity/wxWidgets/
I don't personally find the official instructions easy to follow, but they do work.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply