Install API in Windows
Hi, need your help, need install HackRf API en Windows , need work in c#. Please help me.
Thanks
┆Issue is synchronized with this Basecamp todo by Unito
Hi, help me please, i can´t install if Windows libhackrf using information in:
https://github.com/mossmann/hackrf/tree/master/host
Please help me
I was successful building HackRF host software using Visual Studio 2015. This might help http://www.seti.net/notebook/volume-10/Chap66/chap66.php Regards......... Jim
From: pachoduran Sent: Saturday, February 17, 2018 05:09 To: mossmann/hackrf Cc: Subscribed Subject: Re: [mossmann/hackrf] Install API in Windows (#457)
Hi, help me please, i can´t install if Windows libhackrf using information in:
https://github.com/mossmann/hackrf/tree/master/host
Please help me
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hi . Yesssssssssssssss
Work very fine all information. I can do install. Thanks, Thanks, Thanks
I use the release 2017.02.1 and funtion very good.
Thank you Jim!! I spent hours just trying to flash the hackrf. The wiki instructions for Windows are close to useless, but your steps got the tools built and I was able to flash my device.
My pleasure Karl.
From: Karl Waters Sent: Saturday, February 17, 2018 22:04 To: mossmann/hackrf Cc: James Brown ; Comment Subject: Re: [mossmann/hackrf] Install API in Windows (#457)
Thank you Jim!! I spent hours just trying to flash the hackrf. The wiki instructions for Windows are close to useless, but your steps got the tools built and I was able to flash my device.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Hi. Thanks for all your help jim.
Another question, your can send to me samples of how work in c# or VB with hackrf api???
thanks
Bye
Hi, Sorry for me english.
Hi, I could not import the hackrf.dll library in c # or vb. errors always come out. Somebody could help me.
Thank you very much
Hello! I can't install API, as showned in this tutorial -> http://www.seti.net/notebook/volume-10/Chap66/chap66.php
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: FFTW_INCLUDES used as include directory in directory C:/hackrf/host/hackrf-tools/src
Please, help me. This is very important for my project with hackfr tools.
Zillanat – What step failed for you. Contact me directly and we can work it out. I may have an error on my web site. [email protected]
From: zillant Sent: Saturday, April 6, 2019 00:37 To: mossmann/hackrf Cc: James Brown ; Comment Subject: Re: [mossmann/hackrf] Install API in Windows (#457)
Hello! I can't install API, as showned in this tutorial -> http://www.seti.net/notebook/volume-10/Chap66/chap66.php
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: FFTW_INCLUDES used as include directory in directory C:/hackrf/host/hackrf-tools/src
Please, help me. This is very important for my project with hackfr tools.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Good day,thank you for responding and help me when it's convenient for you to start ? how will we communicate ? I have Skype, viber, https://discordapp.com my discordapp MOZG#9284 but if you have https://www.teamviewer.com/ru/ it will be much easier my teamviewer 102227063,in advance thank you very much, I will be grateful,today I will wait when It will be convenient for you ?
Суббота, 6 апреля 2019, 17:39 +04:00 от James Brown [email protected]:
Zillanat – What step failed for you. Contact me directly and we can work it out. I may have an error on my web site. [email protected]
From: zillant Sent: Saturday, April 6, 2019 00:37 To: mossmann/hackrf Cc: James Brown ; Comment Subject: Re: [mossmann/hackrf] Install API in Windows (#457)
Hello! I can't install API, as showned in this tutorial -> http://www.seti.net/notebook/volume-10/Chap66/chap66.php
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: FFTW_INCLUDES used as include directory in directory C:/hackrf/host/hackrf-tools/src
Please, help me. This is very important for my project with hackfr tools.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub , or mute the thread .
-- OFELYA MEHROYAN
It's 12 step. I copied and pasted to command line. I think, this error occurs, because this tutorial for older version of hackrf_tool.
Zillanat – What step failed for you.
I’ll go over it again. I have moved to Visual Studio 2019 now. Which version do you use?
From: zillant Sent: Sunday, April 7, 2019 00:45 To: mossmann/hackrf Cc: James Brown ; Comment Subject: Re: [mossmann/hackrf] Install API in Windows (#457)
Zillanat – What step failed for you. It's 12 step. I copied and pasted to command line. I think, this error occurs, because this tutorial for older version of hackrf_tool.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
At first try i used 2017, after that i used 2015 version.
I’ll go over it again. I have moved to Visual Studio 2019 now. Which version do you use?
I just switched to 2019
From: zillant Sent: Sunday, April 7, 2019 10:02 To: mossmann/hackrf Cc: James Brown ; Comment Subject: Re: [mossmann/hackrf] Install API in Windows (#457)
At first try i used 2017, after that i used 2015 version.
I’ll go over it again. I have moved to Visual Studio 2019 now. Which version do you use?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I am sorry – I cannot get the build process to work with VS 2019. I am not knowledgeable enough to debug it. If someone else can help it would be appreciated.
Regards.....
From: zillant Sent: Sunday, April 7, 2019 10:02 To: mossmann/hackrf Cc: James Brown ; Comment Subject: Re: [mossmann/hackrf] Install API in Windows (#457)
At first try i used 2017, after that i used 2015 version.
I’ll go over it again. I have moved to Visual Studio 2019 now. Which version do you use?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I am trying to guild the hackrf.dll for c# reference use as indicated by the link http://www.seti.net/notebook/volume-10/Chap66/chap66.php
At the last stage of the cmake I get the error that the library file cannot be found when the pthreadVC2.lib file is present

Can anyone advice the possible issue that I am encountering.
The backslash at the end of the line means the line continues in the next row (with a newline!), but you're pasting one big blob. If you want to paste it as one long line, remove all these \ at the end of all rows. Additionally, the proper continuation character for windows is ^ - try pasting all of this at once:
cmake ../ -G "Visual Studio 16 2019" ^
-DLIBUSB_INCLUDE_DIR=C:\libusb_master\x64\Release\lib\libusb-1.0 ^
-DLIBUSB_LIBRARIES=C:\libusb_master\x64\Release\lib\libusb-1.0.lib ^
-DTHREADS_PTHREADS_INCLUDE_DIR=c:\pthreads-w32-2-9-1-release\Prebuilt.2\include ^
-DTHREADS_PTHREADS_WIN32_LIBRARY=c:\pthreads-w32-2-9-1-release\Prebuilt.2\lib\x64\pthreadVC2.lib
Oh, and there is a random unescaped space in your path that fucks everything up: libusb-1.0 (static) I have honestly no idea who made up that line on that website, with so many errors...
That would be me and my web site. I fixed the web site per your suggestions but I have not yet retested it. That area of the instructions was marked as not working but I hope it is now. Any retest would be appreciated. Regards........ James Brown W6KYP
From: Hoernchen Sent: Monday, August 12, 2019 09:27 To: mossmann/hackrf Cc: James Brown ; Comment Subject: Re: [mossmann/hackrf] Install API in Windows (#457)
Oh, and there is a random unescaped space in your path that fucks everything up: libusb-1.0 (static) I have honestly no idea who made up that line on that website, with so many errors...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
cmake ../ -G "Visual Studio 16 2019" ^ -DLIBUSB_INCLUDE_DIR=C:\libusb_master\x64\Release\lib\libusb-1.0 ^ -DLIBUSB_LIBRARIES=C:\libusb_master\x64\Release\lib\libusb-1.0.lib ^ -DTHREADS_PTHREADS_INCLUDE_DIR=c:\pthreads-w32-2-9-1-release\Prebuilt.2\include ^ -DTHREADS_PTHREADS_WIN32_LIBRARY=c:\pthreads-w32-2-9-1-release\Prebuilt.2\lib\x64\pthreadVC2.lib
Thank you. However, I still encounter the following issue.

Can anyone show me a VS2019 c# solution that has references to hackrf api and a basic usage such as how to use the api to initiate a connection to the SDR via USB interface? This will save the hassle and instead allow me to work on my project directly,
Thank you.
The build instructions provided by the somewhat dusty readme at https://github.com/mossmann/hackrf/tree/master/host include handling of fftw3
Hi, need your help, need install HackRf API en Windows , need work in c#. Please help me.
Thanks
Hi, did yoy find how to accomplish this?
Thanks!