googerteller
googerteller copied to clipboard
MacOS version?
It's impossible to build under MacOS.
cmake .
-- The CXX compiler identification is AppleClang 12.0.0.12000032
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/user/tmp/googerteller
And
make
[ 50%] Building CXX object CMakeFiles/teller.dir/teller.cc.o
/Users/noizo/tmp/googerteller/teller.cc:7:10: fatal error: 'pcaudiolib/audio.h' file not found
#include <pcaudiolib/audio.h>
^~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/teller.dir/teller.cc.o] Error 1
make[1]: *** [CMakeFiles/teller.dir/all] Error 2
make: *** [all] Error 2
I didn't try installing on my mac, but seems like you need to install libpcaudio-dev
before you try compiling.
Well linux distros have package managers and i just searched for the pcaudio library, idk about mac but you can look up how to install this library for MacOS this is literally what this error tells you.
One quick search: https://github.com/espeak-ng/pcaudiolib#mac-os
I made an alternative implementation for macos that does not need a compiler: https://github.com/tlk/googertaeller :)