fredemmott / StreamDeck-CPPSDK

A fork of Elgato's C++ StreamDeck SDK, focussing on reusability
MIT License
43 stars 10 forks source link

Does not build on MacOS #12

Closed Puccet closed 2 years ago

Puccet commented 2 years ago

I'm trying to build the CPU example but it seems like the StreamDeck-CPPSDK build is broken on MacOS

 •  ~/Doc…cal/str…cpu/Sources •   master   • fabio@Copernico • 12:59   cmake -f CMakeLists.txt -- The C compiler identification is AppleClang 12.0.5.12050022 -- The CXX compiler identification is AppleClang 12.0.5.12050022 -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- Check for working C compiler: /Library/Developer/CommandLineTools/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: /Library/Developer/CommandLineTools/usr/bin/c++ -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /Users/fabio/Documenti_local/streamdeck-cpu/Sources  •  ~/Doc…cal/str…cpu/Sources •   master   • fabio@Copernico • 13:02   make Scanning dependencies of target StreamDeckSDK_build [ 8%] Creating directories for 'StreamDeckSDK_build' [ 16%] Performing download step (download, verify and extract) for 'StreamDeckSDK_build' -- Downloading... dst='/Users/fabio/Documenti_local/streamdeck-cpu/Sources/StreamDeckSDK_build-prefix/src/StreamDeckSDK-v1.0.zip' timeout='none' -- Using src='https://github.com/fredemmott/StreamDeck-CPPSDK/releases/download/v1.0/StreamDeckSDK-v1.0.zip' -- [download 0% complete] -- [download 5% complete] -- [download 11% complete] -- [download 16% complete] -- [download 22% complete] -- [download 27% complete] -- [download 33% complete] -- [download 38% complete] -- [download 44% complete] -- [download 49% complete] -- [download 54% complete] -- [download 60% complete] -- [download 65% complete] -- [download 71% complete] -- [download 76% complete] -- [download 82% complete] -- [download 87% complete] -- [download 93% complete] -- [download 98% complete] -- [download 100% complete] -- verifying file... file='/Users/fabio/Documenti_local/streamdeck-cpu/Sources/StreamDeckSDK_build-prefix/src/StreamDeckSDK-v1.0.zip' -- Downloading... done -- extracting... src='/Users/fabio/Documenti_local/streamdeck-cpu/Sources/StreamDeckSDK_build-prefix/src/StreamDeckSDK-v1.0.zip' dst='/Users/fabio/Documenti_local/streamdeck-cpu/Sources/StreamDeckSDK_build-prefix/src/StreamDeckSDK_build' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 25%] No patch step for 'StreamDeckSDK_build' [ 33%] No update step for 'StreamDeckSDK_build' [ 41%] Performing configure step for 'StreamDeckSDK_build' -- The C compiler identification is AppleClang 12.0.5.12050022 -- The CXX compiler identification is AppleClang 12.0.5.12050022 -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- Check for working C compiler: /Library/Developer/CommandLineTools/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: /Library/Developer/CommandLineTools/usr/bin/c++ -- Check for working CXX compiler: /Library/Developer/CommandLineTools/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 CMakeLists.txt:46 (install): install TARGETS given target "StreamDeckSDK" which does not exist in this directory.

-- Configuring incomplete, errors occurred! See also "/Users/fabio/Documenti_local/streamdeck-cpu/Sources/StreamDeckSDK_build-prefix/src/StreamDeckSDK_build-build/CMakeFiles/CMakeOutput.log". See also "/Users/fabio/Documenti_local/streamdeck-cpu/Sources/StreamDeckSDK_build-prefix/src/StreamDeckSDK_build-build/CMakeFiles/CMakeError.log". make[2]: [StreamDeckSDK_build-prefix/src/StreamDeckSDK_build-stamp/StreamDeckSDK_build-configure] Error 1 make[1]: [CMakeFiles/StreamDeckSDK_build.dir/all] Error 2 make: *** [all] Error 2  •  ~/Doc…cal/str…cpu/Sources •   master  2  • fabio@Copernico • 13:02  

fredemmott commented 2 years ago

v1.0 is obsolete; as for the elgato cpu plugin, it was recently building fine in GitHub actions - try reproducing the steps there as closely as possible