Open liangxt2012 opened 6 months ago
It should be defined in 'RtAudio.h'
Try this on cmdline to see where your RTAudio library package is: pkg-config --cflags
If your RTAudio library in not in '/usr/local/include/rtaudio', you could add to Makefile like this:
INCLUDE= -I/usr/local/include -I/home/you/API_Cpp-master/libsofa/dependencies/include/ -I/home/you/API_Cpp-master/libsofa/src/ pkg-config --cflags rtaudio
I've edited the Makefile also.
thanks for your reply could you provide the position where ‘RtAudioError’ is defined? I just see a type "RtAudioErrorType"?
I have temporarily blocked the error mechanism and occured another question:There is no sound card on the server, Can you give me the method of outputting the output audio ?
From your edited reply, it compiles ok now, but RTAudio can't find an audio card. Are you able to confirm RTAudio works with your hardware ? It should be able to work with either alsa, pulseaudio or jack setups ?
The compile problem you were having may be due to RTAudio versioning, have moded 2 files to suit RTAudio v6.01, Let us know if it compiles now ? It won't fix any hardware issues though.
hi, there is a mistake when i compile gc_rtaudio.cpp file " catch ( RtAudioError &e ) " , error: ‘RtAudioError’ does not name a type I can't find where ‘RtAudioError’ is defined ?