Audacium / audacium

Free and open-source audio editor
https://audacium.github.io/audacium/
Other
702 stars 34 forks source link

Cmake conan error when building on Ubuntu #103

Open LDovic opened 2 years ago

LDovic commented 2 years ago

Describe the bug When running the ./configure.sh script from /home/ubuntu/audacium I get this error:

-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at cmake-proxies/cmake-modules/conan.cmake:797 (message):
  Conan executable not found! Please install conan.
Call Stack (most recent call first):
  cmake-proxies/cmake-modules/conan.cmake:843 (conan_check)
  cmake-proxies/cmake-modules/AudacityDependencies.cmake:4 (conan_add_remote)
  CMakeLists.txt:152 (include)

My conan version is 1.46.2. My python3 is version 3.8.10 My cmake is version 3.16.3. My ubuntu version is 20.04.4.

I think the issue could be that I could not install g++17 using sudo apt-get install g++-4.7 c++-4.7 I'm not sure what C++17 compiler I can use other than this. Any help or advice is much appreciated.

support-monkey commented 2 years ago

I have the same issue on Manjaro Linux. It fails to build properly. i am using the latest versions of Conan, Python, CMake that came from Arch/Manjaro repositories.