To build the host tools you need to be in the subdirectory „host“. There should 
be a CMakeLists.txt file, but you reference it from the newly created build 
directory after changing into that. More detailed instructions are in the 
host/README.md file (also online at [1]).

Hope that helps

Martin

[1]: https://github.com/mossmann/hackrf/blob/master/host/README.md

> Am 12.02.2017 um 14:40 schrieb Brian Gieryk <[email protected]>:
> 
> Ok, got as far as $cmake .. and it failed.  Error is '/home/Pi/hackrf does 
> not appear to contain CmakeLists.text'
> 
> Sure enough, using the file manager, no file by that name.
> 
> Thank you!
> 
> Brian
> KE6IYC
> 
> 
> Sent from my iPhone
> 
> On Feb 11, 2017, at 22:32, Adam Blanquart <[email protected]> wrote:
> 
>> Brian,
>> 
>> I'm not on a Raspberry Pi at the moment, so your commands may vary slightly. 
>>  This is how I perform the install on Kali (should be the same for Ubuntu 
>> (Debian)):
>> 
>> Install dependencies and make sure have you have a local copy of the hackrf 
>> github repo:
>> 
>> overflow@pollan:~$ sudo apt-get install git gcc cmake make fftw3 fftw3-dev 
>> pkg-config build-essential
>> overflow@pollan:~$ git clone https://github.com/mossmann/hackrf
>> 
>> (If you already have this repo cloned locally, you can update it by running 
>> a git pull):
>> 
>> overflow@pollan:~/hackrf$ cd hackrf 
>> overflow@pollan:~/hackrf$ git pull
>> 
>> cmake the files
>> 
>> overflow@pollan:~/hackrf$ cd hackrf
>> overflow@pollan:~/hackrf$ mkdir build
>> overflow@pollan:~/hackrf$ cd build
>> overflow@pollan:~/hackrf/build$ cmake ..
>> overflow@pollan:~/hackrf/build$ make && make install
>> 
>> Check to see if installed ok (Remember, hackrf_debug is a new command..)
>> 
>> overflow@pollan:~/hackrf$ hackrf_debug
>> 
>> If you get instructions here, you should be all set. If you are unable to 
>> build, it's possible that the dependencies are named slightly different on 
>> Raspian.  I can fire up my Pi later tonight to be sure if you have issues.
>> 
>> Enjoy!
>> 
>> -adam (overflow_ on freenode)
>> 
>> 
>> 
>> 
>> 
>> On Sat, Feb 11, 2017 at 7:35 PM, Brian Gieryk <[email protected]> wrote:
>> I have successfully updated all the firmware in my Hackrf one.
>> 
>> Now, how in the world do I update Hackrf-tools?
>> 
>> I really would like to see if I can use the sweep function.
>> 
>> FYI, I am completely incompetent with the Linux command line.
>> 
>> I am running a Raspberry Pi 3B, with Raspbian Jessie.
>> 
>> Thanks in advance,
>> 
>> Brian
>> KE6IYC

_______________________________________________
HackRF-dev mailing list
[email protected]
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev

Reply via email to