Hey,

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(......)

fft_window->d_main_gui->_spectrumDisplayForm->_frequencyDisplayPlot->set_yaxis(-130.0,
0.0);

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

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?

stephen



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to