Build Audacity with networking support

Need help building Audacity with networking support in Ubuntu 24.04.

When building with audacity_has_networking=On, it tries to look for ThreadPool with following error:

CMake Error at obj-x86_64-linux-gnu/find_package_include.cmake:18 (find_package):
By not providing “FindThreadPool.cmake” in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
“ThreadPool”, but CMake did not find one.

Could not find a package configuration file provided by “ThreadPool” with
any of the following names:

ThreadPoolConfig.cmake
threadpool-config.cmake

However, I only found libthread-pool-dev package in Ubuntu system repository, that contains thread_poolConfig.cmake file, which does not work.

Please help!

Building with conan should get you the right version automatically. If you want to build with system resources instead, maybe the conan recipe can help you find the correct resource: conan-recipes/recipes/threadpool at main · audacity/conan-recipes · GitHub

This topic was automatically closed after 30 days. New replies are no longer allowed.