You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling Klystron on Linux, i got this error:
Compiling cydrvb.c...
src/snd/cydrvb.c: In function ‘cydrvb_set_tap’
src/snd/cydrvb.c:138:16: error: ‘CydTap {aka struct <anonymous>}’ has no member named ‘gain_l’
rvb->tap[idx].gain_l = 0;
^
src/snd/cydrvb.c:139:16: error: ‘CydTap {aka struct <anonymous>}’ has no member named ‘gain_r’
rvb->tap[idx].gain_r = 0;
^
It was because gain_l and gain_r in CydTap struct are declared only if there is STEREOUTPUT flag defined.
So for compiling, i just add in in the Makefile:
CC = gcc -shared -std=gnu99 --no-strict-aliasing -DSTEREOOUTPUT=1
With that, the compilation runs smooth.
The text was updated successfully, but these errors were encountered:
When compiling Klystron on Linux, i got this error:
It was because
gain_l
andgain_r
in CydTap struct are declared only if there is STEREOUTPUT flag defined.So for compiling, i just add in in the Makefile:
With that, the compilation runs smooth.
The text was updated successfully, but these errors were encountered: