Nuand / gqrx

GNU General Public License v3.0
15 stars 4 forks source link

can't suport gnuradio 3.7.12? #4

Open cn0xroot opened 5 years ago

cn0xroot commented 5 years ago

Hi,Nuand, I want to try 124MHZ bandwith with BladeRF,but there is something error:

cmake -DCMAKE_PREFIX_PATH=/home/init3/SDR/Qt5.7.0/5.7/gcc_64/lib/cmake ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
fatal: 没有发现名称,无法描述任何东西。
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   program_options
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
Checking for GNU Radio Module: RUNTIME
-- Checking for module 'gnuradio-runtime'
--   Found gnuradio-runtime, version 3.7.12.0
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so
-- Found GNURADIO_RUNTIME: /usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so  
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: ANALOG
-- Checking for module 'gnuradio-analog'
--   Found gnuradio-analog, version 3.7.12.0
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-analog.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so;/usr/local/lib/libvolk.so
-- Found GNURADIO_ANALOG: /usr/local/lib/libgnuradio-analog.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so;/usr/local/lib/libvolk.so  
GNURADIO_ANALOG_FOUND = TRUE
Checking for GNU Radio Module: AUDIO
-- Checking for module 'gnuradio-audio'
--   Found gnuradio-audio, version 3.7.12.0
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-audio.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so
-- Found GNURADIO_AUDIO: /usr/local/lib/libgnuradio-audio.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so  
GNURADIO_AUDIO_FOUND = TRUE
Checking for GNU Radio Module: BLOCKS
-- Checking for module 'gnuradio-blocks'
--   Found gnuradio-blocks, version 3.7.12.0
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-blocks.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so
-- Found GNURADIO_BLOCKS: /usr/local/lib/libgnuradio-blocks.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so  
GNURADIO_BLOCKS_FOUND = TRUE
Checking for GNU Radio Module: DIGITAL
-- Checking for module 'gnuradio-digital'
--   Found gnuradio-digital, version 3.7.12.0
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-digital.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so
-- Found GNURADIO_DIGITAL: /usr/local/lib/libgnuradio-digital.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so  
GNURADIO_DIGITAL_FOUND = TRUE
Checking for GNU Radio Module: FFT
-- Checking for module 'gnuradio-fft'
--   Found gnuradio-fft, version 3.7.12.0
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so
-- Found GNURADIO_FFT: /usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so  
GNURADIO_FFT_FOUND = TRUE
Checking for GNU Radio Module: FILTER
-- Checking for module 'gnuradio-filter'
--   Found gnuradio-filter, version 3.7.12.0
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-filter.so;/usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so
-- Found GNURADIO_FILTER: /usr/local/lib/libgnuradio-filter.so;/usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so  
GNURADIO_FILTER_FOUND = TRUE
Checking for GNU Radio Module: PMT
-- Checking for module 'gnuradio-runtime'
--   Found gnuradio-runtime, version 3.7.12.0
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so
-- Found GNURADIO_PMT: /usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/lib/x86_64-linux-gnu/libgmp.so;/usr/lib/liblog4cpp.so  
GNURADIO_PMT_FOUND = TRUE
-- Checking for module 'gnuradio-osmosdr'
--   Found gnuradio-osmosdr, version v0.1.4-127-g4d83c606
-- Found GNURADIO_OSMOSDR: /usr/local/lib/libgnuradio-osmosdr.so  
-- Configuring done
CMake Warning (dev) in src/CMakeLists.txt:
  Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
  Run "cmake --help-policy CMP0043" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/CMakeLists.txt:
  Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
  Run "cmake --help-policy CMP0043" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/CMakeLists.txt:
  Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
  Run "cmake --help-policy CMP0043" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/CMakeLists.txt:
  Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
  Run "cmake --help-policy CMP0043" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/CMakeLists.txt:
  Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
  Run "cmake --help-policy CMP0043" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/CMakeLists.txt:
  Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
  Run "cmake --help-policy CMP0043" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/init3/Tools/gqrx/build

make-j8:

[ 36%] Building CXX object src/CMakeFiles/gqrx.dir/dsp/filter/decimator.cpp.o
[ 37%] Building CXX object src/CMakeFiles/gqrx.dir/dsp/hbf_decim.cpp.o
[ 38%] Building CXX object src/CMakeFiles/gqrx.dir/dsp/rds/decoder_impl.cc.o
[ 40%] Building CXX object src/CMakeFiles/gqrx.dir/dsp/rds/parser_impl.cc.o
[ 41%] Building CXX object src/CMakeFiles/gqrx.dir/dsp/agc_impl.cpp.o
[ 42%] Building CXX object src/CMakeFiles/gqrx.dir/dsp/correct_iq_cc.cpp.o
/home/init3/Tools/gqrx/src/applications/gqrx/receiver.cpp: In member function ‘double receiver::set_input_rate(double)’:
/home/init3/Tools/gqrx/src/applications/gqrx/receiver.cpp:322:14: error: ‘class osmosdr::source’ has no member named ‘ioctl’
     if (src->ioctl("ssa_support", (uint64_t)&max_sps)) {
              ^
/home/init3/Tools/gqrx/src/applications/gqrx/receiver.cpp:329:29: error: ‘class osmosdr::source’ has no member named ‘ioctl’
         d_input_rate = src->ioctl("set_ssa_sample_rate", (uint64_t)rate);
                             ^
/home/init3/Tools/gqrx/src/applications/gqrx/receiver.cpp:338:29: error: ‘class osmosdr::source’ has no member named ‘ioctl’
         d_input_rate = src->ioctl("set_ssa_sample_rate", (uint64_t)0);
                             ^
/home/init3/Tools/gqrx/src/applications/gqrx/receiver.cpp:313:13: warning: unused variable ‘success’ [-Wunused-variable]
     int     success;
             ^
src/CMakeFiles/gqrx.dir/build.make:201: recipe for target 'src/CMakeFiles/gqrx.dir/applications/gqrx/receiver.cpp.o' failed
make[2]: *** [src/CMakeFiles/gqrx.dir/applications/gqrx/receiver.cpp.o] Error 1

/home/init3/Tools/gqrx/src/applications/gqrx/mainwindow.cpp: In member function ‘bool MainWindow::loadConfig(QString, bool)’:
/home/init3/Tools/gqrx/src/applications/gqrx/mainwindow.cpp:389:17: warning: variable ‘span_val’ set but not used [-Wunused-but-set-variable]
     double      span_val;
                 ^
CMakeFiles/Makefile2:135: recipe for target 'src/CMakeFiles/gqrx.dir/all' failed
make[1]: *** [src/CMakeFiles/gqrx.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
System:Ubuntu 16.04
QT:5.7 
Based on Qt 5.7.0 (GCC 4.9.1 20140922 , 64 bit)

reference: https://www.youtube.com/watch?v=cgDbUQ6uR6w

cn0xroot commented 5 years ago

How to fix it? or can you releases a binary file?

botekp commented 4 years ago

Hello Nuand do you have any update on this? I'm experiencing the same problem 2 years on. Cheers

dohzer commented 3 years ago

Definitely looking for a fix...