Cycling74 / rnbo.unity.audioplugin

RNBO Adapter for Unity's Native Audio Plugin
MIT License
40 stars 8 forks source link

CMake Error at export/rnbo/cmake/conan.cmake:974 (message): Conan remote failed='2' #1

Closed chausch closed 1 year ago

chausch commented 1 year ago

hi there, thanks for this!

i get an error when following the quick test run with default plugin name etc.:

cmake .. -DPLUGIN_NAME="My Custom Plugin"
-- The CXX compiler identification is AppleClang 14.0.0.14000029
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Dev/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: checking conan executable
-- Conan: Found program /opt/homebrew/bin/conan
-- Conan: Version found Conan version 2.0.2
-- Conan: Adding cycling-public remote repository (https://conan-public.cycling74.com) verify ssl (True)
usage: conan remote [-h] [-v [V]]
                    {add,auth,disable,enable,list,list-users,login,logout,remove,rename,set-user,update}
                    ...
conan remote: error: unrecognized arguments: https://conan-public.cycling74.com True
ERROR: Exiting with code: 2
CMake Error at export/rnbo/cmake/conan.cmake:974 (message):
  Conan remote failed='2'
Call Stack (most recent call first):
  export/rnbo/cmake/RNBOConan.cmake:13 (conan_add_remote)
  CMakeLists.txt:34 (include)

-- Configuring incomplete, errors occurred!

platform: mac os 13.2.1, m1 max

x37v commented 1 year ago

@chausch I just pushed a change that should fix this, can you pull main again and retry?

chausch commented 1 year ago

thank you for the quick response. still errors: this time a new line referring to "export/rnbo/cmake/MinGWSTDThreads.cmake"

cmake .. -DPLUGIN_NAME="My Custom Plugin"
-- The CXX compiler identification is AppleClang 14.0.0.14000029
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Dev/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: checking conan executable
-- Conan: Found program /opt/homebrew/bin/conan
-- Conan: Version found Conan version 2.0.2
-- Conan: Adding cycling-public remote repository (https://conan-public.cycling74.com) verify ssl (True)
usage: conan remote [-h] [-v [V]]
                    {add,auth,disable,enable,list,list-users,login,logout,remove,rename,set-user,update}
                    ...
conan remote: error: unrecognized arguments: https://conan-public.cycling74.com True
ERROR: Exiting with code: 2
CMake Error at export/rnbo/cmake/conan.cmake:974 (message):
  Conan remote failed='2'
Call Stack (most recent call first):
  export/rnbo/cmake/RNBOConan.cmake:13 (conan_add_remote)
  export/rnbo/cmake/MinGWSTDThreads.cmake:3 (include)
  CMakeLists.txt:33 (include)

-- Configuring incomplete, errors occurred!
arokhsar commented 1 year ago

I am having the same issue as well, also running Mac OS 13.2.1.

rokhsar@Adams-MBP build % cmake .. -DPLUGIN_NAME="Aria Audio Analysis" -- The CXX compiler identification is AppleClang 14.0.0.14000029 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: checking conan executable -- Conan: Found program /Library/Frameworks/Python.framework/Versions/3.11/bin/conan -- Conan: Version found Conan version 2.0.2 -- Conan: Adding cycling-public remote repository (https://conan-public.cycling74.com) verify ssl (True) usage: conan remote [-h] [-v [V]] {add,auth,disable,enable,list,list-users,login,logout,remove,rename,set-user,update} ... conan remote: error: unrecognized arguments: https://conan-public.cycling74.com True ERROR: Exiting with code: 2 CMake Error at export/rnbo/cmake/conan.cmake:974 (message): Conan remote failed='2' Call Stack (most recent call first): export/rnbo/cmake/RNBOConan.cmake:13 (conan_add_remote) export/rnbo/cmake/MinGWSTDThreads.cmake:3 (include) CMakeLists.txt:33 (include)

-- Configuring incomplete, errors occurred!

x37v commented 1 year ago

oops, I forgot 1 more way that conan gets included, can you pull main again and try? @arokhsar @chausch

arokhsar commented 1 year ago

Works perfectly. Thank you!

x37v commented 1 year ago

happy to hear that! thanks for letting us know!