|
From: | Carlos Alberto Ruiz Naranjo |
Subject: | Re: [Discuss-gnuradio] Undefined symbol: wav_write_sample |
Date: | Thu, 21 Aug 2014 12:04:55 +0200 |
On 08/21/2014 10:44 AM, Carlos Alberto Ruiz Naranjo wrote:
> Hello,
>
> I am creating a new block (modified wavfile_sink). Now it is only aCould be a SWIG issue -- try clearing the build dir and starting again.
> copy-paste of wavfile_sink.
> I have this error in GRC:
>
> Traceback (most recent call last):
> File "/home/carlos/Escritorio/ESA/apt_rec_v01.py", line 111, in <module>
> tb = apt_rec_v01()
> File "/home/carlos/Escritorio/ESA/apt_rec_v01.py", line 68, in __init__
> self.noaa_dec_0 = sat_observer.wavfile_sink("/tmp/bien.wav", 1,
> 11025, 16)
> AttributeError: 'module' object has no attribute 'wavfile_sink'
> <address@hidden <mailto:address@hidden>>:
M
>
> This is the code: https://github.com/qarlosalberto/MLABlock
>
> ** With sudo ldconfig doesnt run.
>
> Thank you.
>
>
>
> 2014-08-19 20:16 GMT+02:00 Carlos Alberto Ruiz Naranjo
>> <mailto:address@hidden>>:
> It runs. I have done a pull request.
>
> Thank you all ;)
>
>
> 2014-08-18 14:12 GMT+02:00 Martin Braun <address@hidden
>> > address@hidden <mailto:address@hidden>
> Carlos,
>
>
> the functions in wavfile.cc are not publicly exported. We might
> want to
> change that, since wavfile.h is actually publicly visible.
>
> You can try and add the BLOCKS_API macro in wavfile.h. That will
> probably fix your troubles. If so, please submit a patch & pull
> request.
>
> M
>
> On 08/17/2014 04:23 PM, Carlos Alberto Ruiz Naranjo wrote:
> > Hello,
> >
> > I am developing a block. Now it is a copy of Wav File Sink block.
> > It compiles fine but in the GRC gives me the error:
> >
> > ImportError: /usr/local/lib/libgnuradio-MLABlocks.so:
> undefined symbol:
> > _ZN2gr6blocks16wav_write_sampleEP8_IO_FILEsi
> >
> > This is the block:
> > https://github.com/qarlosalberto/wav-sink
> >
> > *I have done: sudo ldconfig
> > ** I have serched in the mailing list, but I haven't solved
> the problem.
> >
> > Thank you.
> >
> >
> > _______________________________________________
> > Discuss-gnuradio mailing list
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio> address@hidden <mailto:address@hidden>
> >
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |