Discussion:
[Hackrf-dev] How to compile HackRF for Windows
Jahn
2018-01-30 21:21:05 UTC
Permalink
Hi
I followed the instruction at
http://hellmund.blogspot.cz/2015/05/hackrf-on-windows-8.html

but I received error
like this

########################

-- udev rules not supported on this platform. Hide this message via -DINSTALL_UD
EV_RULES=Off
CMake Error at C:/CMake/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.c
make:137 (message):
Could NOT find FFTW (missing: FFTW_LIBRARIES FFTW_INCLUDES)
Call Stack (most recent call first):
C:/CMake/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FP
HSA_FAILURE_MESSAGE)
cmake/modules/FindFFTW.cmake:28 (find_package_handle_standard_args)
hackrf-tools/src/CMakeLists.txt:26 (find_package)


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 file
s:
FFTW_INCLUDES
used as include directory in directory C:/HackRF/host/hackrf-tools/src
used as include directory in directory C:/HackRF/host/hackrf-tools/src
used as include directory in directory C:/HackRF/host/hackrf-tools/src
used as include directory in directory C:/HackRF/host/hackrf-tools/src
used as include directory in directory C:/HackRF/host/hackrf-tools/src
used as include directory in directory C:/HackRF/host/hackrf-tools/src

-- Configuring incomplete, errors occurred!
See also "C:/HackRF/host/build/CMakeFiles/CMakeOutput.log".
See also "C:/HackRF/host/build/CMakeFiles/CMakeError.log".


#################################


and

CMakeError.log looks like this


#################################
Determining if files pthread.h exist failed with the following output:
Change Dir: C:/HackRF/host/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/MinGW/msys/1.0/bin/make.exe" "cmTC_2d8ca/fast"
/usr/bin/make -f CMakeFiles/cmTC_2d8ca.dir/build.make CMakeFiles/cmTC_2d8ca.dir/build
make[1]: Entering directory `/c/HackRF/host/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2d8ca.dir/CheckIncludeFiles.c.obj
/C/MinGW/bin/gcc.exe -std=gnu90 -o
CMakeFiles/cmTC_2d8ca.dir/CheckIncludeFiles.c.obj -c
/C/HackRF/host/build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
c:/HackRF/host/build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:21: fatal error:
pthread.h: No such file or directory
#include <pthread.h>
^
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_2d8ca.dir/CheckIncludeFiles.c.obj] Error 1
make[1]: Leaving directory `/c/HackRF/host/build/CMakeFiles/CMakeTmp'
make: *** [cmTC_2d8ca/fast] Error 2

Source:
/* */
#include <pthread.h>


int main(void){return 0;}


#################################
Where is the problem?
Can anyone help?
Or is there more easy way how to use HackRF under windows?
Thanks


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Jahn
2018-01-31 06:47:36 UTC
Permalink
Are there any instructions how to compile HackRF for windows?
Or is there any compiled HackRF.exe already for windows?


How can I insert a link to my post in this mailing list?






---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Mike Walters
2018-01-31 17:46:01 UTC
Permalink
The Pothos SDR environment includes pre-compiled HackRF support for
windows, further info here: https://github.com/pothosware/PothosSDR/wiki
Post by Jahn
Are there any instructions how to compile HackRF for windows?
Or is there any compiled HackRF.exe already for windows?
How can I insert a link to my post in this mailing list?
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
HackRF-dev mailing list
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
Loading...