bemasher / rtlamr

An rtl-sdr receiver for Itron ERT compatible smart meters operating in the 900MHz ISM band.
GNU Affero General Public License v3.0
2.21k stars 249 forks source link

undefined: fftw.HCDFT1DPlan #11

Closed scoates closed 10 years ago

scoates commented 10 years ago

Hello. I'm trying to use this on a Raspberry Pi. Upon attempting to go get this project, I get the following:

pi@raspberrypi ~ $ go get github.com/bemasher/rtlamr
# github.com/bemasher/rtlamr/preamble
/usr/lib/go/src/pkg/github.com/bemasher/rtlamr/preamble/preamble.go:14: undefined: fftw.HCDFT1DPlan
/usr/lib/go/src/pkg/github.com/bemasher/rtlamr/preamble/preamble.go:15: undefined: fftw.HCDFT1DPlan
pi@raspberrypi ~ $

My libfftw3-dev is installed properly, it seems.

Any ideas?

bemasher commented 10 years ago

Currently cgo isn't supported on ARM I haven't tested it either.

Otherwise, it sounds like the github.com/bemasher/fftw build failed before rtlamr was built. Also be sure that your version of go matches the required version to build successfully, I recommend building the toolchain from source: http://golang.org/doc/install/source

Be sure to follow the project build instructions in README.md.

bemasher commented 10 years ago

If the above hasn't fixed your problem, reopen the issue with more information.