Forum: GNU Radio swig gnuradio.i cannot find gruel_common.i in 3.6.0

34d9e7f89372ab2c163a1a9f92bc47c5?d=identicon&s=25 Justin Ford (Guest)
on 2012-04-10 17:50
(Received via mailing list)
Attachment: gnuradio.i (3 KB)
I'm trying to build an existing tool against gnuradio 3.6.0 (master
branch 3.6.0git-7-g779d8c67). I'm getting the following error from
make when gnuradio.i is included by swig:
/usr/local/include/gnuradio/swig/gnuradio.i:28: Error: Unable to find
'gruel_common.i'

I have attached gnuradio.i from my build, line 28 is trying to include
gruel_common.i. I found gruel_common.i in
/usr/local/include/gruel/swig/, but I think it's expected to be in
/usr/local/include/gnuradio/swig/.

Is this an issue with my build? Or does a change in the more recent
master branch version require a patch to gnuradio.i?

Should I just copy (or link) the contents of
/usr/local/include/gruel/swig/ to /usr/local/include/gnuradio/swig/ as
a workaround?

Thanks for any guidance!
Justin

$ cat /proc/version
Linux version 2.6.32-220.7.1.el6.x86_64
(mockbuild@x86-002.build.bos.redhat.com) (gcc version 4.4.6 20110731
(Red Hat 4.4.6-3) (GCC) ) #1 SMP Fri Feb 10 15:22:22 EST 2012

$ gnuradio-config-info -v
3.6.0git-7-g779d8c67

$ ls /usr/local/include/gruel/swig/
gr_intrusive_ptr.i gruel_common.i pmt_swig_doc.i pmt_swig.i

$ ls /usr/local/include/gnuradio/swig/
atsc.i                gr_freq_xlating_fir_filter_fcc.i
 gr_stream_to_vector.i
atsc_swig_doc.i           gr_freq_xlating_fir_filter_fcf.i
 gr_stretch_ff.i
audio_swig_doc.i           gr_freq_xlating_fir_filter_scc.i
 gr_sub_cc.i
audio_swig.i             gr_freq_xlating_fir_filter_scf.i
 gr_sub_ff.i
complex_vec_test.i          gr_glfsr_source_b.i
gr_sub_ii.i
digital_binary_slicer_fb.i      gr_glfsr_source_f.i
gr_sub_ss.i
digital_clock_recovery_mm_cc.i    gr_goertzel_fc.i
 gr_swig_block_magic.i
digital_clock_recovery_mm_ff.i    gr_head.i
gr_sync_block.i
digital_cma_equalizer_cc.i      gr_hier_block2.i
 gr_sync_decimator.i
digital_constellation_decoder_cb.i  gr_hilbert_fc.i
gr_sync_interpolator.i
digital_constellation.i       gr_histo_sink.i
gr_tagged_file_sink.i
digital_constellation_receiver_cb.i gri_agc2_cc.i
gr_tags.i
digital_correlate_access_code_bb.i  gri_agc2_ff.i
gr_test.i
digital_costas_loop_cc.i       gri_agc_cc.i
 gr_threshold_ff.i
digital_cpmmod_bc.i         gri_agc_ff.i
 gr_throttle.i
digital_crc32.i           gri_control_loop.i
 gr_top_block.i
digital_fll_band_edge_cc.i      gr_iir_filter_ffd.i
gr_transcendental.i
digital_gmskmod_bc.i         gr_integrate_cc.i
gr_uchar_to_float.i
digital_kurtotic_equalizer_cc.i   gr_integrate_ff.i
gr_udp_sink.i
digital_lms_dd_equalizer_cc.i    gr_integrate_ii.i
gr_udp_source.i
digital_mpsk_receiver_cc.i      gr_integrate_ss.i
gr_unpacked_to_packed_bb.i
digital_mpsk_snr_est_cc.i      gr_interleaved_short_to_complex.i
gr_unpacked_to_packed_ii.i
digital_ofdm_cyclic_prefixer.i    gr_interleave.i
gr_unpacked_to_packed_ss.i
digital_ofdm_frame_acquisition.i   gr_interp_fir_filter_ccc.i
 gr_unpack_k_bits_bb.i
digital_ofdm_frame_sink.i      gr_interp_fir_filter_ccf.i
 gr_vco_f.i
digital_ofdm_insert_preamble.i    gr_interp_fir_filter_fcc.i
 gr_vector_sink_b.i
digital_ofdm_mapper_bcv.i      gr_interp_fir_filter_fff.i
 gr_vector_sink_c.i
digital_ofdm_sampler.i        gr_interp_fir_filter_fsf.i
 gr_vector_sink_f.i
digital_probe_mpsk_snr_est_c.i    gr_interp_fir_filter_scc.i
 gr_vector_sink_i.i
digital_swig_doc.i          gr_int_to_float.i
gr_vector_sink_s.i
digital_swig.i            gr_io_signature.i
gr_vector_source_b.i
fcd_swig_doc.i            gr_iqcomp_cc.i
 gr_vector_source_c.i
fcd_swig.i              gr_keep_one_in_n.i
 gr_vector_source_f.i
filter_generated.i          gr_kludge_copy.i
 gr_vector_source_i.i
filter.i               gr_lfsr_32k_source_s.i
 gr_vector_source_s.i
filter_swig_doc.i          gr_map_bb.i
gr_vector_to_stream.i
fsm.i                gr_max_ff.i
gr_vector_to_streams.i
general.i              gr_max_ii.i
gr_wavfile_sink.i
general_swig_doc.i          gr_max_ss.i
gr_wavfile_source.i
gengen_generated.i          gr_message.i
 gr_xor_bb.i
gengen.i               gr_message_sink.i
gr_xor_ii.i
gengen_swig_doc.i          gr_message_source.i
gr_xor_ss.i
gnuradio_core_filter.i        gr_moving_average_cc.i
 hier.i
gnuradio_core_general.i       gr_moving_average_ff.i
 hier_swig_doc.i
gnuradio_core_gengen.i        gr_moving_average_ii.i
 interleaver.i
gnuradio_core_hier.i         gr_moving_average_ss.i
 io.i
gnuradio_core_io.i          gr_msg_handler.i
 io_swig_doc.i
gnuradio_core_runtime.i       gr_msg_queue.i
 microtune_4702_eval_board.i
gnuradio.i              gr_multiply_cc.i
 microtune_4937_eval_board.i
gr_adaptive_fir_ccc.i        gr_multiply_conjugate_cc.i
 microtune_xxxx_eval_board.i
gr_adaptive_fir_ccf.i        gr_multiply_const_cc.i
 noaa_hrpt_decoder.i
gr_add_cc.i             gr_multiply_const_ff.i
 noaa_hrpt_deframer.i
gr_add_const_cc.i          gr_multiply_const_ii.i
 noaa_hrpt_pll_cf.i
gr_add_const_ff.i          gr_multiply_const_ss.i
 noaa_swig_doc.i
gr_add_const_ii.i          gr_multiply_const_vcc.i
noaa_swig.i
gr_add_const_sf.i          gr_multiply_const_vff.i
pager_flex_deinterleave.i
gr_add_const_ss.i          gr_multiply_const_vii.i
pager_flex_frame.i
gr_add_const_vcc.i          gr_multiply_const_vss.i
pager_flex_parse.i
gr_add_const_vff.i          gr_multiply_ff.i
 pager_flex_sync.i
gr_add_const_vii.i          gr_multiply_ii.i
 pager_slicer_fb.i
gr_add_const_vss.i          gr_multiply_ss.i
 pager_swig_doc.i
gr_add_ff.i             gr_mute_cc.i
 pager_swig.i
gr_add_ii.i             gr_mute_ff.i
 ppio.i
gr_additive_scrambler_bb.i      gr_mute_ii.i
 qtgui_sink_c.i
gr_add_ss.i             gr_mute_ss.i
 qtgui_sink_f.i
gr_agc2_cc.i             gr_nlog10_ff.i
 qtgui_swig_doc.i
gr_agc2_ff.i             gr_noise_source_c.i
qtgui_swig.i
gr_agc_cc.i             gr_noise_source_f.i
qtgui_time_sink_c.i
gr_agc_ff.i             gr_noise_source_i.i
qtgui_time_sink_f.i
gr_align_on_samplenumbers_ss.i    gr_noise_source_s.i
runtime.i
gr_and_bb.i             gr_nop.i
 runtime_swig_doc.i
gr_and_const_bb.i          gr_not_bb.i
sdr_1000.i
gr_and_const_ii.i          gr_not_ii.i
trellis_constellation_metrics_cf.i
gr_and_const_ss.i          gr_not_ss.i
trellis_encoder_bb.i
gr_and_ii.i             gr_null_sink.i
 trellis_encoder_bi.i
gr_and_ss.i             gr_null_source.i
 trellis_encoder_bs.i
gr_annotator_1to1.i         gr_or_bb.i
 trellis_encoder_ii.i
gr_annotator_alltoall.i       gr_or_ii.i
 trellis_encoder_si.i
gr_argmax_fs.i            gr_or_ss.i
 trellis_encoder_ss.i
gr_argmax_is.i            gr_oscope_sink.i
 trellis_generated.i
gr_argmax_ss.i            gr_pa_2x2_phase_combiner.i
 trellis.i
gr_basic_block.i           gr_packed_to_unpacked_bb.i
 trellis_metrics_c.i
gr_bin_statistics_f.i        gr_packed_to_unpacked_ii.i
 trellis_metrics_f.i
gr_block_detail.i          gr_packed_to_unpacked_ss.i
 trellis_metrics_i.i
gr_block.i              gr_packet_sink.i
 trellis_metrics_s.i
gr_buffer.i             gr_peak_detector2_fb.i
 trellis_pccc_decoder_b.i
gr_burst_tagger.i          gr_peak_detector_fb.i
trellis_pccc_decoder_combined_cb.i
gr_bytes_to_syms.i          gr_peak_detector_ib.i
trellis_pccc_decoder_combined_ci.i
gr_channel_model.i          gr_peak_detector_sb.i
trellis_pccc_decoder_combined_cs.i
gr_char_to_float.i          gr_pfb_arb_resampler_ccf.i
 trellis_pccc_decoder_combined_fb.i
gr_char_to_short.i          gr_pfb_arb_resampler_fff.i
 trellis_pccc_decoder_combined_fi.i
gr_check_counting_s.i        gr_pfb_channelizer_ccf.i
 trellis_pccc_decoder_combined_fs.i
gr_check_lfsr_32k_s.i        gr_pfb_clock_sync_ccf.i
trellis_pccc_decoder_i.i
gr_chunks_to_symbols_bc.i      gr_pfb_clock_sync_fff.i
trellis_pccc_decoder_s.i
gr_chunks_to_symbols_bf.i      gr_pfb_decimator_ccf.i
 trellis_pccc_encoder_bb.i
gr_chunks_to_symbols_ic.i      gr_pfb_interpolator_ccf.i
trellis_pccc_encoder_bi.i
gr_chunks_to_symbols_if.i      gr_pfb_synthesizer_ccf.i
 trellis_pccc_encoder_bs.i
gr_chunks_to_symbols_sc.i      gr_phase_modulator_fc.i
trellis_pccc_encoder_ii.i
gr_chunks_to_symbols_sf.i      gr_pll_carriertracking_cc.i
trellis_pccc_encoder_si.i
gr_complex_to_interleaved_short.i  gr_pll_freqdet_cf.i
trellis_pccc_encoder_ss.i
gr_complex_to_xxx.i         gr_pll_refout_cc.i
 trellis_permutation.i
gr_conjugate_cc.i          gr_pn_correlator_cc.i
trellis_sccc_decoder_b.i
gr_constants.i            gr_prefs.i
 trellis_sccc_decoder_combined_cb.i
gr_copy.i              gr_probe_avg_mag_sqrd_cf.i
 trellis_sccc_decoder_combined_ci.i
gr_correlate_access_code_tag_bb.i  gr_probe_avg_mag_sqrd_c.i
trellis_sccc_decoder_combined_cs.i
gr_cpfsk_bc.i            gr_probe_avg_mag_sqrd_f.i
trellis_sccc_decoder_combined_fb.i
gr_cpm.i               gr_probe_density_b.i
 trellis_sccc_decoder_combined_fi.i
gr_ctcss_squelch_ff.i        gr_probe_signal_b.i
trellis_sccc_decoder_combined_fs.i
gr_dc_blocker_cc.i          gr_probe_signal_c.i
trellis_sccc_decoder_i.i
gr_dc_blocker_ff.i          gr_probe_signal_f.i
trellis_sccc_decoder_s.i
gr_decode_ccsds_27_fb.i       gr_probe_signal_i.i
trellis_sccc_encoder_bb.i
gr_deinterleave.i          gr_probe_signal_s.i
trellis_sccc_encoder_bi.i
gr_delay.i              gr_probe_signal_vb.i
 trellis_sccc_encoder_bs.i
gr_descrambler_bb.i         gr_probe_signal_vc.i
 trellis_sccc_encoder_ii.i
gr_diff_decoder_bb.i         gr_probe_signal_vf.i
 trellis_sccc_encoder_si.i
gr_diff_encoder_bb.i         gr_probe_signal_vi.i
 trellis_sccc_encoder_ss.i
gr_diff_phasor_cc.i         gr_probe_signal_vs.i
 trellis_siso_combined_f.i
gr_dispatcher.i           gr_pwr_squelch_cc.i
trellis_siso_f.i
gr_divide_cc.i            gr_pwr_squelch_ff.i
trellis_swig_doc.i
gr_divide_ff.i            gr_quadrature_demod_cf.i
 trellis_viterbi_b.i
gr_divide_ii.i            gr_rail_ff.i
 trellis_viterbi_combined_cb.i
gr_divide_ss.i            gr_rational_resampler_base_ccc.i
 trellis_viterbi_combined_ci.i
gr_dpll_bb.i             gr_rational_resampler_base_ccf.i
 trellis_viterbi_combined_cs.i
gr_encode_ccsds_27_bb.i       gr_rational_resampler_base_fcc.i
 trellis_viterbi_combined_fb.i
gr_endianness.i           gr_rational_resampler_base_fff.i
 trellis_viterbi_combined_fi.i
gr_error_handler.i          gr_rational_resampler_base_fsf.i
 trellis_viterbi_combined_fs.i
gr_fake_channel_coder_pp.i      gr_rational_resampler_base_scc.i
 trellis_viterbi_combined_ib.i
gr_feedforward_agc_cc.i       gr_realtime.i
trellis_viterbi_combined_ii.i
gr_feval.i              gr_regenerate_bb.i
 trellis_viterbi_combined_is.i
gr_fft_filter_ccc.i         gr_remez.i
 trellis_viterbi_combined_sb.i
gr_fft_filter_fff.i         gr_repeat.i
trellis_viterbi_combined_si.i
gr_fft_vcc.i             gr_rms_cf.i
trellis_viterbi_combined_ss.i
gr_fft_vfc.i             gr_rms_ff.i
trellis_viterbi_i.i
gr_file_descriptor_sink.i      gr_sample_and_hold_bb.i
trellis_viterbi_s.i
gr_file_descriptor_source.i     gr_sample_and_hold_ff.i
uhd_swig_doc.i
gr_file_sink_base.i         gr_sample_and_hold_ii.i
uhd_swig.i
gr_file_sink.i            gr_sample_and_hold_ss.i
vocoder_alaw_decode_bs.i
gr_file_source.i           gr_scrambler_bb.i
vocoder_alaw_encode_sb.i
gr_filter_delay_fc.i         gr_shared_ptr.i
vocoder_codec2_decode_ps.i
gr_firdes.i             gr_short_to_char.i
 vocoder_codec2_encode_sp.i
gr_fir_filter_ccc.i         gr_short_to_float.i
vocoder_cvsd_decode_bs.i
gr_fir_filter_ccf.i         gr_sig_source_c.i
vocoder_cvsd_encode_sb.i
gr_fir_filter_fcc.i         gr_sig_source_f.i
vocoder_g721_decode_bs.i
gr_fir_filter_fff.i         gr_sig_source_i.i
vocoder_g721_encode_sb.i
gr_fir_filter_fsf.i         gr_sig_source_s.i
vocoder_g723_24_decode_bs.i
gr_fir_filter_scc.i         gr_simple_correlator.i
 vocoder_g723_24_encode_sb.i
gr_float_to_char.i          gr_simple_framer.i
 vocoder_g723_40_decode_bs.i
gr_float_to_complex.i        gr_simple_squelch_cc.i
 vocoder_g723_40_encode_sb.i
gr_float_to_int.i          gr_single_pole_iir_filter_cc.i
 vocoder_gsm_fr_decode_ps.i
gr_float_to_short.i         gr_single_pole_iir_filter_ff.i
 vocoder_gsm_fr_encode_sp.i
gr_float_to_uchar.i         gr_single_threaded_scheduler.i
 vocoder_swig_doc.i
gr_fmdet_cf.i            gr_skiphead.i
vocoder_swig.i
gr_fractional_interpolator_cc.i   gr_squelch_base_cc.i
 vocoder_ulaw_decode_bs.i
gr_fractional_interpolator_ff.i   gr_squelch_base_ff.i
 vocoder_ulaw_encode_sb.i
gr_framer_sink_1.i          gr_stream_mux.i
wavelet_swig_doc.i
gr_frequency_modulator_fc.i     gr_streams_to_stream.i
 wavelet_swig.i
gr_freq_xlating_fir_filter_ccc.i   gr_streams_to_vector.i
gr_freq_xlating_fir_filter_ccf.i   gr_stream_to_streams.i
4252201ac30d6dd44d8090ce1070e35f?d=identicon&s=25 Josh Blum (Guest)
on 2012-04-10 19:28
(Received via mailing list)
On 04/10/2012 08:49 AM, Justin Ford wrote:
>
> Is this an issue with my build? Or does a change in the more recent
> master branch version require a patch to gnuradio.i?
>

This looks to be a recent change. The gruel swig stuff was moved to a
new install path include/gruel/swig.

> Should I just copy (or link) the contents of
> /usr/local/include/gruel/swig/ to /usr/local/include/gnuradio/swig/ as
> a workaround?
>

You should add this path to the swig search path for your application.

-josh
558c40b97bd1af8d912424757714bda9?d=identicon&s=25 unknown (Guest)
on 2012-04-10 19:43
(Received via mailing list)
There was a 3-line patch that I had to add to CMakelists.txt in the
"swig" subdir to get my gr-pocsag module to build with the latest Gnu
Radio.

I wonder if the latest howto-write-a-block-cmake has been
updated to include that patch?

On Tue, 10 Apr 2012 10:27:15 -0700,
Josh Blum wrote:

> On 04/10/2012 08:49 AM, Justin Ford wrote:
>> I'm
trying to build an existing tool against gnuradio 3.6.0 (master branch
3.6.0git-7-g779d8c67). I'm getting the following error from make when
gnuradio.i is included by swig:
/usr/local/include/gnuradio/swig/gnuradio.i:28: Error: Unable to find
'gruel_common.i' I have attached gnuradio.i from my build, line 28 is
trying to include gruel_common.i. I found gruel_common.i in
/usr/local/include/gruel/swig/, but I think it's expected to be in
/usr/local/include/gnuradio/swig/. Is this an issue with my build? Or
does a change in the more recent master branch version require a patch
to gnuradio.i?
> This looks to be a recent change. The gruel swig stuff
was moved to a new install path include/gruel/swig.
>
>> Should I just
copy (or link) the contents of /usr/local/include/gruel/swig/ to
/usr/local/include/gnuradio/swig/ as a workaround?
> You should add this
path to the swig search path for your application. -josh Thanks for any
gu
>
>>
86-002.build.bos.redhat.com">mockbuild@x86-002.build.bos.redhat.com)
(gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Fri Feb 10
15:22:22 EST 2012 $ gnuradio-config-info -v 3.6.0git-7-g779d8c67 $ ls
/usr/local/include/gruel/swig/ gr_intrusive_ptr.i gruel_common.i
pmt_swig_doc.i pmt_swig.i $ ls /usr/local/include/gnuradio/swig/ atsc.i
gr_freq_xlating_fir_filter_fcc.i gr_stream_to_vector.i atsc_swig_doc.i
gr_freq_xlating_fir_filter_fcf.i gr_stretch_ff.i audio_swig_doc.i
gr_freq_xlating_fir_filter_scc.i gr_sub_cc.i audio_swig.i
gr_freq_xlating_fir_filter_scf.i gr_sub_ff.i complex_vec_test.i
gr_glfsr_source_b.i gr_sub_ii.i digital_binary_slicer_fb.i
gr_glfsr_source_f.i gr_sub_ss.i digital_clock_recovery_mm_cc.i
gr_goertzel_fc.i gr_swig_block_magic.i digital_clock_recovery_mm_ff.i
gr_head.i gr_sync_block.i digital_cma_equalizer_cc.i gr_hier_block2.i
gr_sync_decimator.i digital_constellation_decoder_cb.i gr_hilbert_fc.i
gr_sync_interpolator.i digital_constellation.i gr_histo_sink.i
gr_tagged_file_sink.i digital_constellation_receiver_cb.i gri_agc2_cc.i
gr_tags.i digital_correlate_access_code_bb.i gri_agc2_ff.i gr_test.i
digital_costas_loop_cc.i gri_agc_cc.i gr_threshold_ff.i
digital_cpmmod_bc.i gri_agc_ff.i gr_throttle.i digital_crc32.i
gri_control_loop.i gr_top_block.i digital_fll_band_edge_cc.i
gr_iir_filter_ffd.i gr_transcendental.i digital_gmskmod_bc.i
gr_integrate_cc.i gr_uchar_to_float.i digital_kurtotic_equalizer_cc.i
gr_integrate_ff.i gr_udp_sink.i digital_lms_dd_equalizer_cc.i
gr_integrate_ii.i gr_udp_source.i digital_mpsk_receiver_cc.i
gr_integrate_ss.i gr_unpacked_to_packed_bb.i digital_mpsk_snr_est_cc.i
gr_interleaved_short_to_complex.i gr_unpacked_to_packed_ii.i
digital_ofdm_cyclic_prefixer.i gr_interleave.i
gr_unpacked_to_packed_ss.i digital_ofdm_frame_acquisition.i
gr_interp_fir_filter_ccc.i gr_unpack_k_bits_bb.i
digital_ofdm_frame_sink.i gr_interp_fir_filter_ccf.i gr_vco_f.i
digital_ofdm_insert_preamble.i gr_interp_fir_filter_fcc.i
gr_vector_sink_b.i digital_ofdm_mapper_bcv.i gr_interp_fir_filter_fff.i
gr_vector_sink_c.i digital_ofdm_sampler.i gr_interp_fir_filter_fsf.i
gr_vector_sink_f.i digital_probe_mpsk_snr_est_c.i
gr_interp_fir_filter_scc.i gr_vector_sink_i.i digital_swig_doc.i
gr_int_to_float.i gr_vector_sink_s.i digital_swig.i gr_io_signature.i
gr_vector_source_b.i fcd_swig_doc.i gr_iqcomp_cc.i gr_vector_source_c.i
fcd_swig.i gr_keep_one_in_n.i gr_vector_source_f.i filter_generated.i
gr_kludge_copy.i gr_vector_source_i.i filter.i gr_lfsr_32k_source_s.i
gr_vector_source_s.i filter_swig_doc.i gr_map_bb.i gr_vector_to_stream.i
fsm.i gr_max_ff.i gr_vector_to_streams.i general.i gr_max_ii.i
gr_wavfile_sink.i general_swig_doc.i gr_max_ss.i gr_wavfile_source.i
gengen_generated.i gr_message.i gr_xor_bb.i gengen.i gr_message_sink.i
gr_xor_ii.i gengen_swig_doc.i gr_message_source.i gr_xor_ss.i
gnuradio_core_filter.i gr_moving_average_cc.i hier.i
gnuradio_core_general.i gr_moving_average_ff.i hier_swig_doc.i
gnuradio_core_gengen.i gr_moving_average_ii.i interleaver.i
gnuradio_core_hier.i gr_moving_average_ss.i io.i gnuradio_core_io.i
gr_msg_handler.i io_swig_doc.i gnuradio_core_runtime.i gr_msg_queue.i
microtune_4702_eval_board.i gnuradio.i gr_multiply_cc.i
microtune_4937_eval_board.i gr_adaptive_fir_ccc.i
gr_multiply_conjugate_cc.i microtune_xxxx_eval_board.i
gr_adaptive_fir_ccf.i gr_multiply_const_cc.i noaa_hrpt_decoder.i
gr_add_cc.i gr_multiply_const_ff.i noaa_hrpt_deframer.i
gr_add_const_cc.i gr_multiply_const_ii.i noaa_hrpt_pll_cf.i
gr_add_const_ff.i gr_multiply_const_ss.i noaa_swig_doc.i
gr_add_const_ii.i gr_multiply_const_vcc.i noaa_swig.i gr_add_const_sf.i
gr_multiply_const_vff.i pager_flex_deinterleave.i gr_add_const_ss.i
gr_multiply_const_vii.i pager_flex_frame.i gr_add_const_vcc.i
gr_multiply_const_vss.i pager_flex_parse.i gr_add_const_vff.i
gr_multiply_ff.i pager_flex_sync.i gr_add_const_vii.i gr_multiply_ii.i
pager_slicer_fb.i gr_add_const_vss.i gr_multiply_ss.i pager_swig_doc.i
gr_add_ff.i gr_mute_cc.i pager_swig.i gr_add_ii.i gr_mute_ff.i ppio.i
gr_additive_scrambler_bb.i gr_mute_ii.i qtgui_sink_c.i gr_add_ss.i
gr_mute_ss.i qtgui_sink_f.i gr_agc2_cc.i gr_nlog10_ff.i qtgui_swig_doc.i
gr_agc2_ff.i gr_noise_source_c.i qtgui_swig.i gr_agc_cc.i
gr_noise_source_f.i qtgui_time_sink_c.i gr_agc_ff.i gr_noise_source_i.i
qtgui_time_sink_f.i gr_align_on_samplenumbers_ss.i gr_noise_source_s.i
runtime.i gr_and_bb.i gr_nop.i runtime_swig_doc.i gr_and_const_bb.i
gr_not_bb.i sdr_1000.i gr_and_const_ii.i gr_not_ii.i
trellis_constellation_metrics_cf.i gr_and_const_ss.i gr_not_ss.i
trellis_encoder_bb.i gr_and_ii.i gr_null_sink.i trellis_encoder_bi.i
gr_and_ss.i gr_null_source.i trellis_encoder_bs.i gr_annotator_1to1.i
gr_or_bb.i trellis_encoder_ii.i gr_annotator_alltoall.i gr_or_ii.i
trellis_encoder_si.i gr_argmax_fs.i gr_or_ss.i trellis_encoder_ss.i
gr_argmax_is.i gr_oscope_sink.i trellis_generated.i gr_argmax_ss.i
gr_pa_2x2_phase_combiner.i trellis.i gr_basic_block.i
gr_packed_to_unpacked_bb.i trellis_metrics_c.i gr_bin_statistics_f.i
gr_packed_to_unpacked_ii.i trellis_metrics_f.i gr_block_detail.i
gr_packed_to_unpacked_ss.i trellis_metrics_i.i gr_block.i
gr_packet_sink.i trellis_metrics_s.i gr_buffer.i gr_peak_detector2_fb.i
trellis_pccc_decoder_b.i gr_burst_tagger.i gr_peak_detector_fb.i
trellis_pccc_decoder_combined_cb.i gr_bytes_to_syms.i
gr_peak_detector_ib.i trellis_pccc_decoder_combined_ci.i
gr_channel_model.i gr_peak_detector_sb.i
trellis_pccc_decoder_combined_cs.i gr_char_to_float.i
gr_pfb_arb_resampler_ccf.i trellis_pccc_decoder_combined_fb.i
gr_char_to_short.i gr_pfb_arb_resampler_fff.i
trellis_pccc_decoder_combined_fi.i gr_check_counting_s.i
gr_pfb_channelizer_ccf.i trellis_pccc_decoder_combined_fs.i
gr_check_lfsr_32k_s.i gr_pfb_clock_sync_ccf.i trellis_pccc_decoder_i.i
gr_chunks_to_symbols_bc.i gr_pfb_clock_sync_fff.i
trellis_pccc_decoder_s.i gr_chunks_to_symbols_bf.i
gr_pfb_decimator_ccf.i trellis_pccc_encoder_bb.i
gr_chunks_to_symbols_ic.i gr_pfb_interpolator_ccf.i
trellis_pccc_encoder_bi.i gr_chunks_to_symbols_if.i
gr_pfb_synthesizer_ccf.i trellis_pccc_encoder_bs.i
gr_chunks_to_symbols_sc.i gr_phase_modulator_fc.i
trellis_pccc_encoder_ii.i gr_chunks_to_symbols_sf.i
gr_pll_carriertracking_cc.i trellis_pccc_encoder_si.i
gr_complex_to_interleaved_short.i gr_pll_freqdet_cf.i
trellis_pccc_encoder_ss.i gr_complex_to_xxx.i gr_pll_refout_cc.i
trellis_permutation.i gr_conjugate_cc.i gr_pn_correlator_cc.i
trellis_sccc_decoder_b.i gr_constants.i gr_prefs.i
trellis_sccc_decoder_combined_cb.i gr_copy.i gr_probe_avg_mag_sqrd_cf.i
trellis_sccc_decoder_combined_ci.i gr_correlate_access_code_tag_bb.i
gr_probe_avg_mag_sqrd_c.i trellis_sccc_decoder_combined_cs.i
gr_cpfsk_bc.i gr_probe_avg_mag_sqrd_f.i
trellis_sccc_decoder_combined_fb.i gr_cpm.i gr_probe_density_b.i
trellis_sccc_decoder_combined_fi.i gr_ctcss_squelch_ff.i
gr_probe_signal_b.i trellis_sccc_decoder_combined_fs.i
gr_dc_blocker_cc.i gr_probe_signal_c.i trellis_sccc_decoder_i.i
gr_dc_blocker_ff.i gr_probe_signal_f.i trellis_sccc_decoder_s.i
gr_decode_ccsds_27_fb.i gr_probe_signal_i.i trellis_sccc_encoder_bb.i
gr_deinterleave.i gr_probe_signal_s.i trellis_sccc_encoder_bi.i
gr_delay.i gr_probe_signal_vb.i trellis_sccc_encoder_bs.i
gr_descrambler_bb.i gr_probe_signal_vc.i trellis_sccc_encoder_ii.i
gr_diff_decoder_bb.i gr_probe_signal_vf.i trellis_sccc_encoder_si.i
gr_diff_encoder_bb.i gr_probe_signal_vi.i trellis_sccc_encoder_ss.i
gr_diff_phasor_cc.i gr_probe_signal_vs.i trellis_siso_combined_f.i
gr_dispatcher.i gr_pwr_squelch_cc.i trellis_siso_f.i gr_divide_cc.i
gr_pwr_squelch_ff.i trellis_swig_doc.i gr_divide_ff.i
gr_quadrature_demod_cf.i trellis_viterbi_b.i gr_divide_ii.i gr_rail_ff.i
trellis_viterbi_combined_cb.i gr_divide_ss.i
gr_rational_resampler_base_ccc.i trellis_viterbi_combined_ci.i
gr_dpll_bb.i gr_rational_resampler_base_ccf.i
trellis_viterbi_combined_cs.i gr_encode_ccsds_27_bb.i
gr_rational_resampler_base_fcc.i trellis_viterbi_combined_fb.i
gr_endianness.i gr_rational_resampler_base_fff.i
trellis_viterbi_combined_fi.i gr_error_handler.i
gr_rational_resampler_base_fsf.i trellis_viterbi_combined_fs.i
gr_fake_channel_coder_pp.i gr_rational_resampler_base_scc.i
trellis_viterbi_combined_ib.i gr_feedforward_agc_cc.i gr_realtime.i
trellis_viterbi_combined_ii.i gr_feval.i gr_regenerate_bb.i
trellis_viterbi_combined_is.i gr_fft_filter_ccc.i gr_remez.i
trellis_viterbi_combined_sb.i gr_fft_filter_fff.i gr_repeat.i
trellis_viterbi_combined_si.i gr_fft_vcc.i gr_rms_cf.i
trellis_viterbi_combined_ss.i gr_fft_vfc.i gr_rms_ff.i
trellis_viterbi_i.i gr_file_descriptor_sink.i gr_sample_and_hold_bb.i
trellis_viterbi_s.i gr_file_descriptor_source.i gr_sample_and_hold_ff.i
uhd_swig_doc.i gr_file_sink_base.i gr_sample_and_hold_ii.i uhd_swig.i
gr_file_sink.i gr_sample_and_hold_ss.i vocoder_alaw_decode_bs.i
gr_file_source.i gr_scrambler_bb.i vocoder_alaw_encode_sb.i
gr_filter_delay_fc.i gr_shared_ptr.i vocoder_codec2_decode_ps.i
gr_firdes.i gr_short_to_char.i vocoder_codec2_encode_sp.i
gr_fir_filter_ccc.i gr_short_to_float.i vocoder_cvsd_decode_bs.i
gr_fir_filter_ccf.i gr_sig_source_c.i vocoder_cvsd_encode_sb.i
gr_fir_filter_fcc.i gr_sig_source_f.i vocoder_g721_decode_bs.i
gr_fir_filter_fff.i gr_sig_source_i.i vocoder_g721_encode_sb.i
gr_fir_filter_fsf.i gr_sig_source_s.i vocoder_g723_24_decode_bs.i
gr_fir_filter_scc.i gr_simple_correlator.i vocoder_g723_24_encode_sb.i
gr_float_to_char.i gr_simple_framer.i vocoder_g723_40_decode_bs.i
gr_float_to_complex.i gr_simple_squelch_cc.i vocoder_g723_40_encode_sb.i
gr_float_to_int.i gr_single_pole_iir_filter_cc.i
vocoder_gsm_fr_decode_ps.i gr_float_to_short.i
gr_single_pole_iir_filter_ff.i vocoder_gsm_fr_encode_sp.i
gr_float_to_uchar.i gr_single_threaded_scheduler.i vocoder_swig_doc.i
gr_fmdet_cf.i gr_skiphead.i vocoder_swig.i
gr_fractional_interpolator_cc.i gr_squelch_base_cc.i
vocoder_ulaw_decode_bs.i gr_fractional_interpolator_ff.i
gr_squelch_base_ff.i vocoder_ulaw_encode_sb.i gr_framer_sink_1.i
gr_stream_mux.i wavelet_swig_doc.i gr_frequency_modulator_fc.i
gr_streams_to_stream.i wavelet_swig.i gr_freq_xlating_fir_filter_ccc.i
gr_streams_to_vector.i gr_freq_xlating_fir_filter_ccf.i
gr_stream_to_streams.i _______________________________________________
Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org [1]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio [2]
_______________________________________________ Discuss-gnuradio mailing
list
> scuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio [3]




Links:
D0072e69d706bb3ca211d33a1b536e2c?d=identicon&s=25 Johnathan Corgan (Guest)
on 2012-04-10 20:13
(Received via mailing list)
On Tue, Apr 10, 2012 at 10:42,  <mleech@ripnet.com> wrote:

> There was a 3-line patch that I had to add to CMakelists.txt in the "swig"
> subdir to get my gr-pocsag module to build with the latest Gnu Radio.
>
> I wonder if the latest howto-write-a-block-cmake has been updated to include
> that patch?

Probably not.  Please send.  Also, on the new master branch, the howto
no longer has 'cmake' in the directory name.

Johnathan
558c40b97bd1af8d912424757714bda9?d=identicon&s=25 unknown (Guest)
on 2012-04-10 20:15
(Received via mailing list)
OK, I'll snarfle through my stuff sometime this evening and send a
patch. I got the original patch from the OSMOCOM folks in .DE, when they
tried to build gr-pocsag on the very-latest, and it failed.

On Tue, 10
Apr 2012 11:11:42 -0700, Johnathan Corgan wrote:

> On Tue, Apr 10,
2012 at 10:42, wrote:
>
>> There was a 3-line patch that I had to add
to CMakelists.txt in the "swig" subdir to get my gr-pocsag module to
build with the latest Gnu Radio. I wonder if the latest
howto-write-a-block-cmake has been updated to include that patch?
>
Probably not. Please send. Also, on the new master branch, the howto no
longer has 'cmake' in the directory name. Johnathan




Links:
34d9e7f89372ab2c163a1a9f92bc47c5?d=identicon&s=25 Justin Ford (Guest)
on 2012-04-10 20:56
(Received via mailing list)
Thanks, Josh.  That got me past the swig error.  Now I've got new
trouble but it's not clear what the issue is yet...

I appreciate your help!
Justin
763b7dca0f6574bdd812c57331de2ca9?d=identicon&s=25 Damian M. (damian_m70)
on 2012-04-14 22:28
Hello
I am working with the template of how to create a new block in gnuradio,
I have all the code saved from a previous version of gnuradio on my
computer. Now after I get this new version when I run the code I get the
same error, related to gnuradio.i :28 ......
Now I read your post and found out that gruel_common.i is no longer in
/usr/local/include/gnuradio/swig/ , and is now at
/usr/local/include/gruel/swig/ . Now i do not know how to change the
swig search path. I modified a file in
/home/ubuntu/Desktop/PRUEBA/swig/python/howto_swig.d, including manually
the search path into the gruel_common.i. However It keeps returning the
same errors. Any help would be great
thanks in advance
Damian
68e4cb2871861bbe64d2eb3d42ca298e?d=identicon&s=25 Alexandru Csete (Guest)
on 2012-04-15 18:48
(Received via mailing list)
On Tue, Apr 10, 2012 at 7:27 PM, Josh Blum <josh@joshknows.com> wrote:
> > /usr/local/include/gruel/swig/, but I think it's expected to be in
> > /usr/local/include/gruel/swig/ to /usr/local/include/gnuradio/swig/ as
> > a workaround?
> >
>
> You should add this path to the swig search path for your application.
>

Can someone please tell me how to do this for
https://github.com/balint256/gr-baz
I tried to modify Makefile.common updating swigincludedir but it has
no effect :(

Alex
C539637020fd56193dd6daec746c4a84?d=identicon&s=25 Tom Rondeau (Guest)
on 2012-04-15 20:47
(Received via mailing list)
On Sun, Apr 15, 2012 at 12:48 PM, Alexandru Csete <oz9aec@gmail.com>
wrote:
>> > gruel_common.i. I found gruel_common.i in
>> > Should I just copy (or link) the contents of
> no effect :(
>
> Alex


The change was from commit aaa98c095a85724a8782a28717162c1d30d865c2.

Here's the relevant lines changed in Makefile.common to get this to
work. I'm not really sure why, buy swignincludedir is not the right
variable to manipulate here.

diff --git a/gr-howto-write-a-block/Makefile.common
b/gr-howto-write-a-block/Makefile.common
index fca6133..2b9cc75 100644
--- a/gr-howto-write-a-block/Makefile.common
+++ b/gr-howto-write-a-block/Makefile.common
@@ -56,7 +56,8 @@ STD_DEFINES_AND_INCLUDES = \
        $(DEFINES) \
        -I$(abs_top_srcdir)/lib \
        -I$(GNURADIO_CORE_INCLUDEDIR) \
-       -I$(GNURADIO_CORE_INCLUDEDIR)/swig
+       -I$(GNURADIO_CORE_INCLUDEDIR)/swig \
+       -I$(GRUEL_INCLUDEDIR)/gruel/swig


Tom
68e4cb2871861bbe64d2eb3d42ca298e?d=identicon&s=25 Alexandru Csete (Guest)
on 2012-04-15 21:37
(Received via mailing list)
On Sun, Apr 15, 2012 at 8:45 PM, Tom Rondeau <tom@trondeau.com> wrote:
>>> > I have attached gnuradio.i from my build, line 28 is trying to include
>>>
>> I tried to modify Makefile.common updating swigincludedir but it has
>
> +    -I$(GNURADIO_CORE_INCLUDEDIR)/swig \
> +    -I$(GRUEL_INCLUDEDIR)/gruel/swig
>

Thanks Tom, that helped (together with adding the check for gruel in
gr_standalone.m4).

Alex
98552b2654c85be45725c4901fd1cc3c?d=identicon&s=25 Balint Seeber (Guest)
on 2012-04-21 11:24
(Received via mailing list)
Dear all,

I have merged Alex's pull request (resolution of the 'gruel_common'
issue in
gr-baz) on github, and committed that change to SVN too.

My thanks to Tom and Alex for formulating the fix.

Kind regards,
Balint

PS: If anyone is experimenting with GNU Radio using their 'ultra-cheap'
RTL2832U-based DVB-T USB dongle, and would like to ask questions/post
results/etc specifically regarding the device, I have set up a Google
Group
for this purpose:
https://groups.google.com/forum/#!forum/ultra-cheap-sdr
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.