kit-cel / gr-radar

GNU Radio Radar Toolbox
GNU General Public License v3.0
239 stars 85 forks source link

make error #16

Closed yerongchagui closed 8 years ago

yerongchagui commented 8 years ago

Hi guys, I encountered the issue below when I do 'make' operation during the gr radar installation. Is there anyone who can help me figure it out. Thanks a lot Here is the issue:

lay@MyUbuntu:~$ cd /home/lay/gr-radar/build lay@MyUbuntu:~/gr-radar/build$ cmake ../ -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system --QWT Version: 5.2.3

Checking for GNU Radio Module: RUNTIME

-- Checking for module SWIG -- Found SWIG version 2.0.11.

-- Configuring done -- Generating done -- Build files have been written to: /home/lay/gr-radar/build

lay@MyUbuntu:~/gr-radar/build$ make

[1%] Building CXX object lib/CMakeFiles/gnuradio-radar.dir/moc_spectrogram_plot.cxx.o In file included from /home/lay/gr-radar/build/lib/../../lib/spectrogram_plot.h:30:0,

from /home/lay/gr-radar/build/lib/moc_spectrogram_plot.cxx:9: /usr/local/include/qwt_matrix_raster_data.h:53:47: error: ‘QwtInterval’ does not name a type virtual void setInterval( Qt::Axis, const QwtInterval & );

^make[2]: *\ [lib/CMakeFiles/gnuradio-radar.dir/moc_spectrogram_plot.cxx.o] 错误 1

make[1]: * [lib/CMakeFiles/gnuradio-radar.dir/all] 错误 2 make: * [all] 错误 2

Here is my software version uhd_003.009.001-release_Ubuntu-14.04-x86_64.deb GNU Radio Companion v3.7.10.1-62-gda0a102e Boost version: 1.54.0 qt 4.8.6 qwt 6.1.3

stwunsch commented 8 years ago

Hey,

This line of cmake

--QWT Version: 5.2.3

indicates, that it uses qwt 5 for compiling gr-radar. I suppose that's the problem.

Greetings, Stefan

yerongchagui commented 8 years ago

Thank you stwunsch,I have made 'make' operation successfully! but when run ctest after setcore, it is all failed as showed below: `lay@MyUbuntu:~/gr-radar/build$ ctest Test project /home/lay/gr-radar/build Start 1: test_radar 1/27 Test #1: test_radar .......................... Passed 0.02 sec Start 2: qa_signal_generator_cw_c 2/27 Test #2: qa_signal_generator_cw_c ............_Failed 1.63 sec Start 3: qa_signal_generator_fmcw_c 3/27 Test #3: qa_signal_generator_fmcw_c .........._Failed 0.25 sec Start 4: qa_split_cc 4/27 Test #4: qa_split_cc ........................._Failed 0.23 sec Start 5: qa_os_cfar_c 5/27 Test #5: qa_os_cfar_c ........................_Failed 0.81 sec Start 6: qa_ts_fft_cc 6/27 Test #6: qa_ts_fft_cc ........................_Failed 0.23 sec Start 7: qa_estimator_cw 7/27 Test #7: qa_estimator_cw ....................._Failed 0.22 sec Start 8: qa_static_target_simulator_cc 8/27 Test #8: qa_static_target_simulator_cc ......._Failed 0.27 sec Start 9: qa_signal_generator_fsk_c 9/27 Test #9: qa_signal_generator_fsk_c ..........._Failed 0.24 sec Start 10: qa_split_fsk_cc 10/27 Test #10: qa_split_fsk_cc ....................._Failed 0.23 sec Start 11: qa_estimator_fsk 11/27 Test #11: qa_estimator_fsk ...................._Failed 0.22 sec Start 12: qa_usrp_echotimer_cc 12/27 Test #12: qa_usrp_echotimer_cc ................_Failed 0.22 sec Start 13: qa_estimator_fmcw 13/27 Test #13: qa_estimator_fmcw ..................._Failed 0.26 sec Start 14: qa_signal_generator_sync_pulse_c 14/27 Test #14: qa_signal_generator_sync_pulse_c ...._Failed 0.23 sec Start 15: qa_estimator_sync_pulse_c 15/27 Test #15: qa_estimator_sync_pulse_c ..........._Failed 0.23 sec Start 16: qa_find_max_peak_c 16/27 Test #16: qa_find_max_peak_c .................._Failed 0.26 sec Start 17: qa_tracking_singletarget 17/27 Test #17: qa_tracking_singletarget ............_Failed 0.22 sec Start 18: qa_msg_gate 18/27 Test #18: qa_msg_gate ........................._Failed 0.23 sec Start 19: qa_msg_manipulator 19/27 Test #19: qa_msg_manipulator .................._Failed 0.23 sec Start 20: qa_ofdm_cyclic_prefix_remover_cvc 20/27 Test #20: qa_ofdm_cyclic_prefix_remover_cvc ..._Failed 0.65 sec Start 21: qa_transpose_matrix_vcvc 21/27 Test #21: qa_transpose_matrix_vcvc ............_Failed 0.24 sec Start 22: qa_crop_matrix_vcvc 22/27 Test #22: qa_crop_matrix_vcvc ................._Failed 0.22 sec Start 23: qa_ofdm_divide_vcvc 23/27 Test #23: qa_ofdm_divide_vcvc ................._Failed 0.22 sec Start 24: qa_os_cfar_2d_vc 24/27 Test #24: qa_os_cfar_2d_vc ...................._Failed 0.23 sec Start 25: qa_estimator_ofdm 25/27 Test #25: qa_estimator_ofdm ..................._Failed 0.23 sec Start 26: qa_estimator_rcs 26/27 Test #26: qa_estimator_rcs ...................._Failed 0.22 sec Start 27: qa_trigger_command 27/27 Test #27: qa_trigger_command .................._Failed 0.23 sec

4% tests passed, 26 tests failed out of 27 Total Test time (real) = 8.51 sec ` And when I run:

lay@MyUbuntu:~/gr-radar/build$ ctest -V -R qa_estimator_fmcw UpdateCTestConfiguration from :/home/lay/gr-radar/build/DartConfiguration.tcl UpdateCTestConfiguration from :/home/lay/gr-radar/build/DartConfiguration.tcl Test project /home/lay/gr-radar/build Constructing a list of tests Done constructing a list of tests Checking test dependency graph... Checking test dependency graph end test 13 Start 13: qa_estimator_fmcw

13: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_estimator_fmcw_test.sh" 13: Test timeout computed to be: 9.99988e+06 13: Traceback (most recent call last): 13: File "/home/lay/gr-radar/python/qa_estimator_fmcw.py", line 24, in 13: import radar_swig as radar 13: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 13: _radar_swig = swig_import_helper() 13: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 13: _mod = imp.load_module('_radar_swig', fp, pathname, description) 13: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 1/1 Test #13: qa_estimator_fmcw ................***Failed 0.24 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) = 0.25 sec

Other failed tests also point to 13: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev

I do not know what this importerror represent exactly. Can you help me. Thank you so much

stwunsch commented 8 years ago

First thing you can do is running ctest -V to get a more verbose output of ctest.

But I suppose you compiled gnuradio with qwt5 and now gr-radar with qwt6. Now, if you run gnuradio with gr-radar you point to qwt5 but compiled with qwt6 (or other way around). To check this, you should recompile gnuradio and gr-radar (in this order). Did you compile gnuradio from source?

yerongchagui commented 8 years ago

Yes, I installed GNURadio from source,and I have recomplied the gnuradio and gr-radar in order but still have the same error. Here is the ctest -V result: `lay@MyUbuntu:~/gr-radar/build$ ctest -V UpdateCTestConfiguration from :/home/lay/gr-radar/build/DartConfiguration.tcl UpdateCTestConfiguration from :/home/lay/gr-radar/build/DartConfiguration.tcl Test project /home/lay/gr-radar/build Constructing a list of tests Done constructing a list of tests Checking test dependency graph... Checking test dependency graph end test 1 Start 1: test_radar

1: Test command: /bin/sh "/home/lay/gr-radar/build/lib/test_radar_test.sh" 1: Test timeout computed to be: 9.99988e+06 1: 1: 1/27 Test #1: test_radar .......................... Passed 0.00 sec test 2 Start 2: qa_signal_generator_cw_c

2: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_signal_generator_cw_c_test.sh" 2: Test timeout computed to be: 9.99988e+06 2: Traceback (most recent call last): 2: File "/home/lay/gr-radar/python/qa_signal_generator_cw_c.py", line 24, in 2: import radar_swig as radar 2: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 2: _radar_swig = swig_import_helper() 2: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 2: _mod = imp.load_module('_radar_swig', fp, pathname, description) 2: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 2/27 Test #2: qa_signal_generator_cw_c ............***Failed 0.22 sec test 3 Start 3: qa_signal_generator_fmcw_c

3: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_signal_generator_fmcw_c_test.sh" 3: Test timeout computed to be: 9.99988e+06 3: Traceback (most recent call last): 3: File "/home/lay/gr-radar/python/qa_signal_generator_fmcw_c.py", line 24, in 3: import radar_swig as radar 3: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 3: _radar_swig = swig_import_helper() 3: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 3: _mod = imp.load_module('_radar_swig', fp, pathname, description) 3: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 3/27 Test #3: qa_signal_generator_fmcw_c ..........***Failed 0.21 sec test 4 Start 4: qa_split_cc

4: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_split_cc_test.sh" 4: Test timeout computed to be: 9.99988e+06 4: Traceback (most recent call last): 4: File "/home/lay/gr-radar/python/qa_split_cc.py", line 24, in 4: import radar_swig as radar 4: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 4: _radar_swig = swig_import_helper() 4: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 4: _mod = imp.load_module('_radar_swig', fp, pathname, description) 4: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 4/27 Test #4: qa_split_cc .........................***Failed 0.21 sec test 5 Start 5: qa_os_cfar_c

5: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_os_cfar_c_test.sh" 5: Test timeout computed to be: 9.99988e+06 5: Traceback (most recent call last): 5: File "/home/lay/gr-radar/python/qa_os_cfar_c.py", line 24, in 5: import radar_swig as radar 5: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 5: _radar_swig = swig_import_helper() 5: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 5: _mod = imp.load_module('_radar_swig', fp, pathname, description) 5: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 5/27 Test #5: qa_os_cfar_c ........................***Failed 0.27 sec test 6 Start 6: qa_ts_fft_cc

6: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_ts_fft_cc_test.sh" 6: Test timeout computed to be: 9.99988e+06 6: Traceback (most recent call last): 6: File "/home/lay/gr-radar/python/qa_ts_fft_cc.py", line 24, in 6: import radar_swig as radar 6: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 6: _radar_swig = swig_import_helper() 6: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 6: _mod = imp.load_module('_radar_swig', fp, pathname, description) 6: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 6/27 Test #6: qa_ts_fft_cc ........................***Failed 0.22 sec test 7 Start 7: qa_estimator_cw

7: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_estimator_cw_test.sh" 7: Test timeout computed to be: 9.99988e+06 7: Traceback (most recent call last): 7: File "/home/lay/gr-radar/python/qa_estimator_cw.py", line 24, in 7: import radar_swig as radar 7: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 7: _radar_swig = swig_import_helper() 7: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 7: _mod = imp.load_module('_radar_swig', fp, pathname, description) 7: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 7/27 Test #7: qa_estimator_cw .....................***Failed 0.22 sec test 8 Start 8: qa_static_target_simulator_cc

8: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_static_target_simulator_cc_test.sh" 8: Test timeout computed to be: 9.99988e+06 8: Traceback (most recent call last): 8: File "/home/lay/gr-radar/python/qa_static_target_simulator_cc.py", line 24, in 8: import radar_swig as radar 8: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 8: _radar_swig = swig_import_helper() 8: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 8: _mod = imp.load_module('_radar_swig', fp, pathname, description) 8: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 8/27 Test #8: qa_static_target_simulator_cc .......***Failed 0.26 sec test 9 Start 9: qa_signal_generator_fsk_c

9: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_signal_generator_fsk_c_test.sh" 9: Test timeout computed to be: 9.99988e+06 9: Traceback (most recent call last): 9: File "/home/lay/gr-radar/python/qa_signal_generator_fsk_c.py", line 24, in 9: import radar_swig as radar 9: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 9: _radar_swig = swig_import_helper() 9: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 9: _mod = imp.load_module('_radar_swig', fp, pathname, description) 9: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 9/27 Test #9: qa_signal_generator_fsk_c ...........***Failed 0.22 sec test 10 Start 10: qa_split_fsk_cc

10: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_split_fsk_cc_test.sh" 10: Test timeout computed to be: 9.99988e+06 10: Traceback (most recent call last): 10: File "/home/lay/gr-radar/python/qa_split_fsk_cc.py", line 24, in 10: import radar_swig as radar 10: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 10: _radar_swig = swig_import_helper() 10: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 10: _mod = imp.load_module('_radar_swig', fp, pathname, description) 10: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 10/27 Test #10: qa_split_fsk_cc .....................***Failed 0.22 sec test 11 Start 11: qa_estimator_fsk

11: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_estimator_fsk_test.sh" 11: Test timeout computed to be: 9.99988e+06 11: Traceback (most recent call last): 11: File "/home/lay/gr-radar/python/qa_estimator_fsk.py", line 24, in 11: import radar_swig as radar 11: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 11: _radar_swig = swig_import_helper() 11: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 11: _mod = imp.load_module('_radar_swig', fp, pathname, description) 11: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 11/27 Test #11: qa_estimator_fsk ....................***Failed 0.22 sec test 12 Start 12: qa_usrp_echotimer_cc

12: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_usrp_echotimer_cc_test.sh" 12: Test timeout computed to be: 9.99988e+06 12: Traceback (most recent call last): 12: File "/home/lay/gr-radar/python/qa_usrp_echotimer_cc.py", line 24, in 12: import radar_swig as radar 12: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 12: _radar_swig = swig_import_helper() 12: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 12: _mod = imp.load_module('_radar_swig', fp, pathname, description) 12: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 12/27 Test #12: qa_usrp_echotimer_cc ................***Failed 0.22 sec test 13 Start 13: qa_estimator_fmcw

13: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_estimator_fmcw_test.sh" 13: Test timeout computed to be: 9.99988e+06 13: Traceback (most recent call last): 13: File "/home/lay/gr-radar/python/qa_estimator_fmcw.py", line 24, in 13: import radar_swig as radar 13: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 13: _radar_swig = swig_import_helper() 13: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 13: _mod = imp.load_module('_radar_swig', fp, pathname, description) 13: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 13/27 Test #13: qa_estimator_fmcw ...................***Failed 0.24 sec test 14 Start 14: qa_signal_generator_sync_pulse_c

14: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_signal_generator_sync_pulse_c_test.sh" 14: Test timeout computed to be: 9.99988e+06 14: Traceback (most recent call last): 14: File "/home/lay/gr-radar/python/qa_signal_generator_sync_pulse_c.py", line 24, in 14: import radar_swig as radar 14: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 14: _radar_swig = swig_import_helper() 14: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 14: _mod = imp.load_module('_radar_swig', fp, pathname, description) 14: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 14/27 Test #14: qa_signal_generator_sync_pulse_c ....***Failed 0.21 sec test 15 Start 15: qa_estimator_sync_pulse_c

15: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_estimator_sync_pulse_c_test.sh" 15: Test timeout computed to be: 9.99988e+06 15: Traceback (most recent call last): 15: File "/home/lay/gr-radar/python/qa_estimator_sync_pulse_c.py", line 24, in 15: import radar_swig as radar 15: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 15: _radar_swig = swig_import_helper() 15: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 15: _mod = imp.load_module('_radar_swig', fp, pathname, description) 15: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 15/27 Test #15: qa_estimator_sync_pulse_c ...........***Failed 0.21 sec test 16 Start 16: qa_find_max_peak_c

16: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_find_max_peak_c_test.sh" 16: Test timeout computed to be: 9.99988e+06 16: Traceback (most recent call last): 16: File "/home/lay/gr-radar/python/qa_find_max_peak_c.py", line 24, in 16: import radar_swig as radar 16: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 16: _radar_swig = swig_import_helper() 16: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 16: _mod = imp.load_module('_radar_swig', fp, pathname, description) 16: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 16/27 Test #16: qa_find_max_peak_c ..................***Failed 0.29 sec test 17 Start 17: qa_tracking_singletarget

17: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_tracking_singletarget_test.sh" 17: Test timeout computed to be: 9.99988e+06 17: Traceback (most recent call last): 17: File "/home/lay/gr-radar/python/qa_tracking_singletarget.py", line 24, in 17: import radar_swig as radar 17: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 17: _radar_swig = swig_import_helper() 17: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 17: _mod = imp.load_module('_radar_swig', fp, pathname, description) 17: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 17/27 Test #17: qa_tracking_singletarget ............***Failed 0.29 sec test 18 Start 18: qa_msg_gate

18: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_msg_gate_test.sh" 18: Test timeout computed to be: 9.99988e+06 18: Traceback (most recent call last): 18: File "/home/lay/gr-radar/python/qa_msg_gate.py", line 24, in 18: import radar_swig as radar 18: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 18: _radar_swig = swig_import_helper() 18: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 18: _mod = imp.load_module('_radar_swig', fp, pathname, description) 18: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 18/27 Test #18: qa_msg_gate .........................***Failed 0.24 sec test 19 Start 19: qa_msg_manipulator

19: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_msg_manipulator_test.sh" 19: Test timeout computed to be: 9.99988e+06 19: Traceback (most recent call last): 19: File "/home/lay/gr-radar/python/qa_msg_manipulator.py", line 24, in 19: import radar_swig as radar 19: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 19: _radar_swig = swig_import_helper() 19: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 19: _mod = imp.load_module('_radar_swig', fp, pathname, description) 19: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 19/27 Test #19: qa_msg_manipulator ..................***Failed 0.22 sec test 20 Start 20: qa_ofdm_cyclic_prefix_remover_cvc

20: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_ofdm_cyclic_prefix_remover_cvc_test.sh" 20: Test timeout computed to be: 9.99988e+06 20: Traceback (most recent call last): 20: File "/home/lay/gr-radar/python/qa_ofdm_cyclic_prefix_remover_cvc.py", line 24, in 20: import radar_swig as radar 20: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 20: _radar_swig = swig_import_helper() 20: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 20: _mod = imp.load_module('_radar_swig', fp, pathname, description) 20: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 20/27 Test #20: qa_ofdm_cyclic_prefix_remover_cvc ...***Failed 0.35 sec test 21 Start 21: qa_transpose_matrix_vcvc

21: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_transpose_matrix_vcvc_test.sh" 21: Test timeout computed to be: 9.99988e+06 21: Traceback (most recent call last): 21: File "/home/lay/gr-radar/python/qa_transpose_matrix_vcvc.py", line 24, in 21: import radar_swig as radar 21: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 21: _radar_swig = swig_import_helper() 21: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 21: _mod = imp.load_module('_radar_swig', fp, pathname, description) 21: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 21/27 Test #21: qa_transpose_matrix_vcvc ............***Failed 0.22 sec test 22 Start 22: qa_crop_matrix_vcvc

22: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_crop_matrix_vcvc_test.sh" 22: Test timeout computed to be: 9.99988e+06 22: Traceback (most recent call last): 22: File "/home/lay/gr-radar/python/qa_crop_matrix_vcvc.py", line 24, in 22: import radar_swig as radar 22: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 22: _radar_swig = swig_import_helper() 22: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 22: _mod = imp.load_module('_radar_swig', fp, pathname, description) 22: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 22/27 Test #22: qa_crop_matrix_vcvc .................***Failed 0.22 sec test 23 Start 23: qa_ofdm_divide_vcvc

23: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_ofdm_divide_vcvc_test.sh" 23: Test timeout computed to be: 9.99988e+06 23: Traceback (most recent call last): 23: File "/home/lay/gr-radar/python/qa_ofdm_divide_vcvc.py", line 24, in 23: import radar_swig as radar 23: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 23: _radar_swig = swig_import_helper() 23: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 23: _mod = imp.load_module('_radar_swig', fp, pathname, description) 23: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 23/27 Test #23: qa_ofdm_divide_vcvc .................***Failed 0.23 sec test 24 Start 24: qa_os_cfar_2d_vc

24: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_os_cfar_2d_vc_test.sh" 24: Test timeout computed to be: 9.99988e+06 24: Traceback (most recent call last): 24: File "/home/lay/gr-radar/python/qa_os_cfar_2d_vc.py", line 24, in 24: import radar_swig as radar 24: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 24: _radar_swig = swig_import_helper() 24: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 24: _mod = imp.load_module('_radar_swig', fp, pathname, description) 24: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 24/27 Test #24: qa_os_cfar_2d_vc ....................***Failed 0.22 sec test 25 Start 25: qa_estimator_ofdm

25: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_estimator_ofdm_test.sh" 25: Test timeout computed to be: 9.99988e+06 25: Traceback (most recent call last): 25: File "/home/lay/gr-radar/python/qa_estimator_ofdm.py", line 24, in 25: import radar_swig as radar 25: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 25: _radar_swig = swig_import_helper() 25: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 25: _mod = imp.load_module('_radar_swig', fp, pathname, description) 25: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 25/27 Test #25: qa_estimator_ofdm ...................***Failed 0.22 sec test 26 Start 26: qa_estimator_rcs

26: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_estimator_rcs_test.sh" 26: Test timeout computed to be: 9.99988e+06 26: Traceback (most recent call last): 26: File "/home/lay/gr-radar/python/qa_estimator_rcs.py", line 24, in 26: import radar_swig as radar 26: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 26: _radar_swig = swig_import_helper() 26: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 26: _mod = imp.load_module('_radar_swig', fp, pathname, description) 26: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 26/27 Test #26: qa_estimator_rcs ....................***Failed 0.23 sec test 27 Start 27: qa_trigger_command

27: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_trigger_command_test.sh" 27: Test timeout computed to be: 9.99988e+06 27: Traceback (most recent call last): 27: File "/home/lay/gr-radar/python/qa_trigger_command.py", line 24, in 27: import radar_swig as radar 27: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 28, in 27: _radar_swig = swig_import_helper() 27: File "/home/lay/gr-radar/build/swig/radar_swig.py", line 24, in swig_import_helper 27: _mod = imp.load_module('_radar_swig', fp, pathname, description) 27: ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev 27/27 Test #27: qa_trigger_command ..................***Failed 0.23 sec

4% tests passed, 26 tests failed out of 27

Total Test time (real) = 6.14 sec

The following tests FAILED: 2 - qa_signal_generator_cw_c (Failed) 3 - qa_signal_generator_fmcw_c (Failed) 4 - qa_split_cc (Failed) 5 - qa_os_cfar_c (Failed) 6 - qa_ts_fft_cc (Failed) 7 - qa_estimator_cw (Failed) 8 - qa_static_target_simulator_cc (Failed) 9 - qa_signal_generator_fsk_c (Failed) 10 - qa_split_fsk_cc (Failed) 11 - qa_estimator_fsk (Failed) 12 - qa_usrp_echotimer_cc (Failed) 13 - qa_estimator_fmcw (Failed) 14 - qa_signal_generator_sync_pulse_c (Failed) 15 - qa_estimator_sync_pulse_c (Failed) 16 - qa_find_max_peak_c (Failed) 17 - qa_tracking_singletarget (Failed) 18 - qa_msg_gate (Failed) 19 - qa_msg_manipulator (Failed) 20 - qa_ofdm_cyclic_prefix_remover_cvc (Failed) 21 - qa_transpose_matrix_vcvc (Failed) 22 - qa_crop_matrix_vcvc (Failed) 23 - qa_ofdm_divide_vcvc (Failed) 24 - qa_os_cfar_2d_vc (Failed) 25 - qa_estimator_ofdm (Failed) 26 - qa_estimator_rcs (Failed) 27 - qa_trigger_command (Failed) Errors while running CTest lay@MyUbuntu:~/gr-radar/build$ `

Another thing I want to point out is that the boost version i use is 1_53_0. Is it likely that this issue is related to boost? Thanks

stwunsch commented 8 years ago

Please check again that cmake uses qwt6. ImportError: /home/lay/gr-radar/build/lib/libgnuradio-radar.so: undefined symbol: _ZN19QwtMatrixRasterDataC1Ev is a strong hint that it uses the wrong qwt version, because qwt5 does not have the matrix raster data stuff.

yerongchagui commented 8 years ago

Thank you for your patience first! I uninstall the gnuradio and install the qwt (the version is qwt-6.0.0.tar.bz2) After that i reinstall the gnuradio in order to be complied under qwt6,but got this error through cmake:

gnuradio recognises the QWT version but cannot find QWT,which made me confused,can you have some ideas in detail.

stwunsch commented 8 years ago

Can you dump the complete cmake output here? otherwise, you can ask on the gnuradio list because it's a gnuradio build problem.

stwunsch commented 8 years ago

And have you installed qwt with the package manger or from source?

yerongchagui commented 8 years ago

I installed the qwt 6.0.0 from source and here is my steps:

  1. the downloaded file is qwt 6.0.0 tar.bz2
  2. qmake
  3. make
  4. sudo make install after that, I try to modify ld.so.conf and run ldconfig to let gnuradio where QWT lib is during cmake, but it does not work,gnuradio cannot find the qwt lib. Do you have some ideas?