[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] How to create a custom header derived from packet
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] How to create a custom header derived from packet_header_default.h |
Date: |
Wed, 03 Sep 2014 18:55:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Make sure you're publically exporting your symbol (using the
MYPROJECT_API macro).
M
On 09/03/2014 05:21 PM, Andrew Burger wrote:
> I am trying to create a custom header format derived from
> packet_header_default.h.
> I am also doing this in an out of tree module src structure.
>
> I have successfully got it to compile the c++ code but it now fails
> when I try to add the swig lines into the
> cmake class. I am new to cmake and unclear on how to fix it.
>
> From the python code I get the following message
>
> NameError: packet_header_myproject is not define
>
>
> If someone has an example or a tutorial on this would be great.
>
> From packet_header_default.h
> * This is a default packet header (see header_formatter()) for a description
> * on the header format). To create other header, derive packet header creator
> * classes from this function.
>
> Thanks
>