Closed yerongchagui closed 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
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
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
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?
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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.
Can you dump the complete cmake output here? otherwise, you can ask on the gnuradio list because it's a gnuradio build problem.
And have you installed qwt with the package manger or from source?
I installed the qwt 6.0.0 from source and here is my steps:
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