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 i run "go get -u github.com/jpoirier/gortlsdr" i get this error does anyone know how to fix it?
# github.com/jpoirier/gortlsdr /tmp/go-build505426775/github.com/jpoirier/gortlsdr/_obj/rtlsdr.cgo2.o: In function _cgo_1debe9789e24_Cfunc_rtlsdr_set_bias_tee':
go/src/github.com/jpoirier/gortlsdr/rtlsdr.go:355: undefined reference to rtlsdr_set_bias_tee' /tmp/go-build505426775/github.com/jpoirier/gortlsdr/_obj/rtlsdr.cgo2.o: In function _cgo_1debe9789e24_Cfunc_rtlsdr_set_tuner_bandwidth':
go/src/github.com/jpoirier/gortlsdr/rtlsdr.go:446: undefined reference to rtlsdr_set_tuner_bandwidth' collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered:
github.com/jpoirier/gortlsdr
github.com/jpoirier/gortlsdr
38: error: 'rtlsdr_set_bias_tee' undeclared (first use in this function)
38: error: 'rtlsdr_set_tuner_bandwidth' undeclared (first use in this function)
Your system probably has an older version of librtlsdr.
Assuming you're running linux you should be able to install a newer version via your package manager. E.g. using apt I can run "sudo apt-get install librtlsdr-dev" to get with the missing functions, or you can clone, build, and install the version at https://github.com/jpoirier/librtlsdr, which I know works.
when i run "go get -u github.com/jpoirier/gortlsdr" i get this error does anyone know how to fix it?
# github.com/jpoirier/gortlsdr /tmp/go-build505426775/github.com/jpoirier/gortlsdr/_obj/rtlsdr.cgo2.o: In function
_cgo_1debe9789e24_Cfunc_rtlsdr_set_bias_tee':go/src/github.com/jpoirier/gortlsdr/rtlsdr.go:355: undefined reference to
rtlsdr_set_bias_tee' /tmp/go-build505426775/github.com/jpoirier/gortlsdr/_obj/rtlsdr.cgo2.o: In function
_cgo_1debe9789e24_Cfunc_rtlsdr_set_tuner_bandwidth':go/src/github.com/jpoirier/gortlsdr/rtlsdr.go:446: undefined reference to
rtlsdr_set_tuner_bandwidth' collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: