Cycling74 / rnbo.unity.audioplugin

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

CMake Error at CMakeLists.txt:41 (include): include could not find requested file: ( .... ) /rnbo.unity.audioplugin/../../../cmake/CCache.cmake #20

Closed chausch closed 1 year ago

chausch commented 1 year ago

i have problems on my computer with the newest changes. somthing is amiss with the paths and not all files can be found. os: mac os 13.3.1, max 8.5.4 (c7692d66011)


CMake Error at CMakeLists.txt:41 (include):
  include could not find requested file:

    /Users/ (...edited) /maxrnbo/modfm/rnbo.unity.audioplugin/../../../cmake/CCache.cmake

CMake Error at CMakeLists.txt:42 (include):
  include could not find requested file:

    /Users/  (...edited) /maxrnbo/modfm/rnbo.unity.audioplugin/../../../cmake/MinGWSTDThreads.cmake

CMake Error at CMakeLists.txt:45 (include):
  include could not find requested file:

    /Users/ (...edited) /maxrnbo/modfm/rnbo.unity.audioplugin/../../../cmake/RNBODescriptionHeader.cmake

CMake Error at CMakeLists.txt:47 (rnbo_write_description_header_if_exists):
  Unknown CMake command "rnbo_write_description_header_if_exists".

-- Configuring incomplete, errors occurred!```
chausch commented 1 year ago

ps: the version from april 19th, which i last had on my computer compiled fine!

x37v commented 1 year ago

@chausch oops, I added some faulty logic in there, I'll fix it up but in the mean time you should be able to point to the RNBO cpp dir directly on the commandline: -DRNBO_CPP_DIR=path/to/rnbo/cpp

x37v commented 1 year ago

@chausch actually, I've just pushed what i think is a fix, mind pulling and trying again?

chausch commented 1 year ago

@x37v thanks for the quick response! unfortunately this still produces errors:

cmake .. -DPLUGIN_NAME="ModFM"
-- Conan: checking conan executable
-- Conan: Found program /opt/homebrew/bin/conan
-- Conan: Version found Conan version 2.0.4
-- 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:42 (include)

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

ps: a very different one, though!

x37v commented 1 year ago

@chausch ahh okay, I have some changes in one of the RNBO cmake files but that isn't in the latest release, I'll update this CMakeLists.txt file to work around that for now..

x37v commented 1 year ago

@chausch one more time, mind pulling and trying?

chausch commented 1 year ago

thanks so much @x37v ! it works!!! 😁