wpats / scanner

This is a simple scanner application that currently supports the following SDR devices: Ettus B210, Nuand BladeRF, Airspy, SdrPlay, and HackRF. It is lightweight and fast compared to other scanner programs.
16 stars 4 forks source link

hackRFSource.cpp error #2

Open wsdfriend opened 6 years ago

wsdfriend commented 6 years ago

When I run $ sudo make I get the following output and error:

g++ -g -O3 -D INCLUDE_B210 -o signalSource.o -c -I ../target/include -std=gnu++11 signalSource.cpp g++ -g -O3 -D INCLUDE_B210 -o sampleBuffer.o -c -I ../target/include -std=gnu++11 sampleBuffer.cpp g++ -g -O3 -D INCLUDE_B210 -o arguments.o -c -I ../target/include -std=gnu++11 arguments.cpp g++ -g -O3 -D INCLUDE_B210 -o processInterface.o -c -I ../target/include -std=gnu++11 processInterface.cpp g++ -g -O3 -D INCLUDE_B210 -o utility.o -c -I ../target/include -std=gnu++11 utility.cpp g++ -g -O3 -D INCLUDE_B210 -o frequencyTable.o -c -I ../target/include -std=gnu++11 frequencyTable.cpp g++ -g -O3 -D INCLUDE_B210 -o bladerfSource.o -c -I ../target/include -std=gnu++11 bladerfSource.cpp g++ -g -O3 -D INCLUDE_B210 -o b210Source.o -c -I ../target/include -std=gnu++11 b210Source.cpp g++ -g -O3 -D INCLUDE_B210 -o airspySource.o -c -I ../target/include -std=gnu++11 airspySource.cpp g++ -g -O3 -D INCLUDE_B210 -o sdrplaySource.o -c -I ../target/include -std=gnu++11 sdrplaySource.cpp g++ -g -O3 -D INCLUDE_B210 -o hackRFSource.o -c -I ../target/include -std=gnu++11 hackRFSource.cpp

hackRFSource.cpp: In member function ‘virtual bool HackRFSource::Start()’: hackRFSource.cpp:144:32: error: ‘LINEAR’ was not declared in this scope LINEAR); ^ hackRFSource.cpp:144:38: error: ‘hackrf_init_sweep’ was not declared in this scope LINEAR); ^ Makefile:23: recipe for target 'hackRFSource.o' failed make: *** [hackRFSource.o] Error 1

I am a new learner on Ubuntu 16.04 and have installed gnuraio and uhd, how to solve it? thank you!