|
From: | Robert McGwier |
Subject: | Re: [Discuss-gnuradio] Question on how to derive a class in an out-of-tree module based on a gnuradio class |
Date: | Sun, 12 Oct 2014 10:32:55 -0400 |
Hi Marcus, Martin and Bastian,Thanks for your help!You are right, it's a linker error, the reason is absolutely what Martin mentioned that I didn't refer the header files I used i.e packet_header_default.h in my swig file.I checked Bastian's swig file and made this class working as expected!Thanks again!Best,Zhe--On Tue, Oct 7, 2014 at 6:39 AM, Bastian Bloessl <address@hidden> wrote:
On 07 Oct 2014, at 12:02, Bastian Bloessl <address@hidden> wrote:
>
> I did that in gr-ieee802-11 and IIRC I had to define GR_API in the swig config
arg, sorry! I had to #define DIGITAL_API and include packet_header_default.h
>
> https://github.com/bastibl/gr-ieee802-11/blob/master/swig/ieee802_11_swig.i#L18
I think that I also had some problems with the swig bindings without those includes and defines.
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Zhe FengElectrical Engineering: SystemUniversity of Michigan Ann ArborTel: 734-834-3188
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |