discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gr_modtool cmake/make problems on OSX


From: Martin Braun (CEL)
Subject: Re: [Discuss-gnuradio] gr_modtool cmake/make problems on OSX
Date: Tue, 26 Feb 2013 17:41:53 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Feb 26, 2013 at 02:45:52PM +0000, Warren, Kevin M wrote:
> Martin,
> It's "howto_swig.py" that is generated following the out of tree module 
> tutorial (link in original post) downloaded from github. I see there's been a 
> new version posted within the past few hours. 

If the swig file was the problem, you should be fine.

> >>Also, are you using the pre-3.7 or the post-3.7 module structure 
> >>(gr_modtool info tells you this if you don't know what this means).
> 
> Unfortunately I do not see any switches in the parser or hard coded 
> information containing the version information, though there is a reference 
> to self.info['_version'] I don't see the actual assignment. Either way, it 
> was the top version on github as of two days ago. 

This doesn't have anything to do with the modtool version, but the
version of your code structure. If you don't know what this means,
you're probably on post-3.7, but 'gr_modtool info' will tell you for
sure.

> >>In general, stuff that's "easy to remedy by hand" should be easy to get 
> >>right in modtool. If you're not talking about the swig files, perhaps you 
> >>can post the faulty code?
> 
> I hope this is sufficient. I cut out some of the details of the code to keep 
> it short.
> [...]

Yep, this is the bug that was fixed a while back.

> >>makexml makes a lot of assumptions, and right now there's no code parser 
> >>for Python blocks. Message ports aren't supported at all right now. Do you 
> >>have a C++ block? If so, I'd be interested to see the code chunks that 
> >>makexml stumbles over.
> 
> It is identical to that posted in the out of tree module tutorial. 
> http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules
> 
> >>However, there's only so much I can do in makexml, and it will never be 
> >>able to fully understand all blocks (although it should fail gracefully).
> 
> Understood. As far as I can tell gr_modtool didn't do anything to the 
> original template when I ran it on the example. When I have some time I will 
> poke into the details of the script but someone else's parsing and code 
> generation tools can be challenging to unravel. I can barely follow my own a 
> few days after I've written them. 

I just pushed a fix to the standalone, perhaps that help.

Note that I'll only be doing easy bugfixes to the standalone version
since modtool was merged.

MB

-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

Attachment: pgpnqLvpCIXGJ.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]