-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make error #16
Comments
Hey, This line of cmake
indicates, that it uses qwt 5 for compiling gr-radar. I suppose that's the problem. Greetings, |
Thank you stwunsch,I have made 'make' operation successfully! but when run ctest after setcore, it is all failed as showed below: 4% tests passed, 26 tests failed out of 27 lay@MyUbuntu:~/gr-radar/build$ ctest -V -R qa_estimator_fmcw 13: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_estimator_fmcw_test.sh" 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. |
First thing you can do is running 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: 1: Test command: /bin/sh "/home/lay/gr-radar/build/lib/test_radar_test.sh" 2: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_signal_generator_cw_c_test.sh" 3: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_signal_generator_fmcw_c_test.sh" 4: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_split_cc_test.sh" 5: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_os_cfar_c_test.sh" 6: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_ts_fft_cc_test.sh" 7: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_estimator_cw_test.sh" 8: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_static_target_simulator_cc_test.sh" 9: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_signal_generator_fsk_c_test.sh" 10: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_split_fsk_cc_test.sh" 11: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_estimator_fsk_test.sh" 12: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_usrp_echotimer_cc_test.sh" 13: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_estimator_fmcw_test.sh" 14: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_signal_generator_sync_pulse_c_test.sh" 15: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_estimator_sync_pulse_c_test.sh" 16: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_find_max_peak_c_test.sh" 17: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_tracking_singletarget_test.sh" 18: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_msg_gate_test.sh" 19: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_msg_manipulator_test.sh" 20: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_ofdm_cyclic_prefix_remover_cvc_test.sh" 21: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_transpose_matrix_vcvc_test.sh" 22: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_crop_matrix_vcvc_test.sh" 23: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_ofdm_divide_vcvc_test.sh" 24: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_os_cfar_2d_vc_test.sh" 25: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_estimator_ofdm_test.sh" 26: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_estimator_rcs_test.sh" 27: Test command: /bin/sh "/home/lay/gr-radar/build/python/qa_trigger_command_test.sh" 4% tests passed, 26 tests failed out of 27 Total Test time (real) = 6.14 sec The following tests FAILED: Another thing I want to point out is that the boost version i use is 1_53_0. |
Please check again that cmake uses qwt6. |
Thank you for your patience first!
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/gr-radar/build$ cmake ../lay@MyUbuntu:
-- 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
GNURADIO_RUNTIME_FOUND = TRUE--
-- 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
The text was updated successfully, but these errors were encountered: