discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] 回复: How to compile the example alone?


From: ruiy
Subject: [Discuss-gnuradio] 回复: How to compile the example alone?
Date: Sat, 3 Mar 2018 21:00:24 +0800

Thank you very much! I have read your code. It's helpful.
Actually, the problem I met is in here https://lists.gnu.org/archive/html/discuss-gnuradio/2018-03/msg00004.html
when I use qt5's library to compile, it will exit code 139 (interrupt by signal 11: SIGSEGV). The error is showed in the last picture of that question. And I also try to compile it by qt4 and it's normal except for some messy code.
I am very curious about why you not met the question when you compile program by qt5 libraries.
Thanks again!


------------------ 原始邮件 ------------------
发件人: "Håkon Vågsether"<address@hidden>;
发送时间: 2018年3月3日(星期六) 晚上7:24
收件人: "ruiy"<address@hidden>;
抄送: "discuss-gnuradio"<address@hidden>;
主题: Re: [Discuss-gnuradio] How to compile the example alone?

Hello ruiy! 

The display_qt example is compiled when you compile GNU Radio with gr-qtgui. So the executable should have the following path:

gnuradio/build/gr-qtgui/examples/c++/display_qt

If you want to rewrite CMakeLists.txt to compile it alone, I believe I can help with that. :) I'm not an expert in CMake, but I can point you to a CMakeLists.txt that I've used for the same purpose.

I have uploaded it at: https://gist.github.com/haakov/7561494f3eaf77d4259d5abea33c0c4e

Hope this helps!

Best regards
Håkon Vågsether

Den lør. 3. mar. 2018, 11.34 skrev ruiy <address@hidden>:
I discover a example about how to compile the qtgui in c++. The example's path is "gnuradio/gr-qtgui/examples/c++/display_qt.cc"(The website is https://github.com/gnuradio/gnuradio/tree/master/gr-qtgui/examples/c%2B%2B). But I don't know how to compile it singlely. I try to rewrite the CMakeLists.txt. However, I fail...
So if anyone know how to compile the display_qt.cc or how to rewrite the CMakeLists.txt, please teach me. Thanks very much!
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

reply via email to

[Prev in Thread] Current Thread [Next in Thread]