Building and customizing Audacity from the source code.
-
soundingout123
- Posts: 3
- Joined: Thu Jun 10, 2021 12:37 pm
- Operating System: Windows 10 / 11
Post
by soundingout123 » Thu Jun 10, 2021 12:51 pm
Hi,
I'm following the instructions for building here:
https://wiki.audacityteam.org/wiki/Building_On_Windows. Ultimately I want to build ASIO
https://manual.audacityteam.org/man/asi ... rface.html.
Severity Code Description Project File Line Suppression State
Error CMake Error at cmake-proxies/cmake-modules/AudacityDependencies.cmake:265 (message):
Failed to find the conan package ZLIB C:\Users\johnp\Compiling_JB\Audacity\audacity\cmake-proxies/cmake-modules/AudacityDependencies.cmake 265
What is causing this?
Also I get this warning, is it important?
Severity Code Description Project File Line Suppression State
Warning CMake Warning (dev) at C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
The package name passed to `find_package_handle_standard_args` (jack) does
not match the name of the calling package (Jack). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern. C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake 426
-
steve
- Site Admin
- Posts: 86160
- Joined: Sat Dec 01, 2007 11:43 am
- Operating System: Linux *buntu
Post
by steve » Thu Jun 10, 2021 12:55 pm
There have been a lot of very recent changes to the way of building Audacity.
I think the latest instructions are those that are in the source code:
https://github.com/audacity/audacity/bl ... UILDING.md
Those instructions should be correct for Audacity 3.0.3 alpha.
If you want to build a previous version, look for the instructions in your source code.
-
soundingout123
- Posts: 3
- Joined: Thu Jun 10, 2021 12:37 pm
- Operating System: Windows 10 / 11
Post
by soundingout123 » Thu Jun 10, 2021 1:09 pm
Perfect, that looks so much easier.
When I follow the instruction for Windows I get the error in CMake. Has anyone had this before? I have Python > 3 & conan installed through pip.
CMake Error at cmake-proxies/cmake-modules/conan.cmake:631 (message):
Conan install failed='1'
Call Stack (most recent call first):
cmake-proxies/cmake-modules/AudacityDependencies.cmake:233 (conan_cmake_install)
cmake-proxies/cmake-modules/AudacityDependencies.cmake:251 (_conan_install)
CMakeLists.txt:481 (resolve_conan_dependencies)
-
soundingout123
- Posts: 3
- Joined: Thu Jun 10, 2021 12:37 pm
- Operating System: Windows 10 / 11
Post
by soundingout123 » Thu Jun 10, 2021 1:18 pm
Thanks that is very helpful to know.
I tried to do step 3 for windows here
https://github.com/audacity/audacity/bl ... on-windows but i get an error in CMAKE:
Error in configuration process, project files may be invalid
The error note in the bottom console is:
CMake Error at cmake-proxies/cmake-modules/conan.cmake:631 (message):
Conan install failed='1'
Call Stack (most recent call first):
cmake-proxies/cmake-modules/AudacityDependencies.cmake:233 (conan_cmake_install)
cmake-proxies/cmake-modules/AudacityDependencies.cmake:251 (_conan_install)
CMakeLists.txt:481 (resolve_conan_dependencies)
Can you shed some light on this?
-
steve
- Site Admin
- Posts: 86160
- Joined: Sat Dec 01, 2007 11:43 am
- Operating System: Linux *buntu
Post
by steve » Thu Jun 10, 2021 1:59 pm
I've not yet tried the new build method on Windows (I mostly use Linux), so at best I can only suggest general advice.
If you get part way through a build and it fails, don't try to fix it - scrap it completely and start again.
-
jademan
- Posts: 3619
- Joined: Fri Jul 17, 2009 10:11 pm
- Operating System: Windows 10 / 11
Post
by jademan » Thu Jun 10, 2021 2:00 pm
There is a discord thread for those currently building Audacity 3.0.3 alpha on Windows:
See here:
https://discord.gg/8P9RHQRa
Audacity Volunteer
-
pgirikishore
- Posts: 1
- Joined: Mon Aug 23, 2021 8:24 am
- Operating System: Windows 10 / 11
Post
by pgirikishore » Mon Aug 23, 2021 10:33 am
Looks like the discord link is invalid. I'm facing the same error while trying to build the code. Any help will be appreciated.
-
jademan
- Posts: 3619
- Joined: Fri Jul 17, 2009 10:11 pm
- Operating System: Windows 10 / 11
Post
by jademan » Mon Aug 23, 2021 11:00 am
pgirikishore wrote: ↑Mon Aug 23, 2021 10:33 am
Looks like the discord link is invalid. I'm facing the same error while trying to build the code. Any help will be appreciated.
Yes, they expire after a while. Try this one:
https://discord.gg/FUHRsd2W
Audacity Volunteer
-
samanthjain
- Posts: 1
- Joined: Sun Oct 30, 2022 2:15 pm
- Operating System: Windows 10 / 11
Post
by samanthjain » Tue Nov 01, 2022 3:14 pm
The discord link isn't working