[Top][All Lists]

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

[Discuss-gnuradio] problem linking app with qtgui_sink_c

From: Stephen
Subject: [Discuss-gnuradio] problem linking app with qtgui_sink_c
Date: Mon, 21 May 2012 21:34:46 -0500
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120312 Thunderbird/11.0


I'm having a problem building my application. If anyone can tell me what
I'm doing wrong it
would be appreciated.

All of the files I'm talking about are in gr-qtgui/lib

There is a public routine, set_yaxis, in FrequencyDisplayPlot that I
want to call. A pointer to that class is
used in spectrumdisplayform but not public. I made it public. There is a
pointer to
that class used in SpectrumGUIClass but not public. I made it public.
There is a
pointer to that in qtgui_sink_c but not public. I made it public. Then I
rebuilt gnuradio.
Everything builds and gnuradio works. My application calling set_yaxis via

qtgui_sink_c_sptr fft_window =    qtgui_make_sink_c(......)


compiles. But when it links I get an undefined reference to

I looked in the library that has that routine using nm and it is there

libgnuradio-qtgui-3.6.1git.so:00000000000172f0 t
FrequencyDisplayPlot::set_yaxis(double, double)
libgnuradio-qtgui.so:00000000000172f0 t
FrequencyDisplayPlot::set_yaxis(double, double)

so what is going wrong?


reply via email to

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