[Hackrf-dev] How to compile HackRF for Windows
Jahn
jana1972 at centrum.cz
Tue Jan 30 16:21:05 EST 2018
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
More information about the HackRF-dev
mailing list