[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Installing Hierarchical Blocks
From: |
Bastian Bloessl |
Subject: |
Re: [Discuss-gnuradio] Installing Hierarchical Blocks |
Date: |
Tue, 11 Jun 2013 19:52:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 |
Hi,
On 06/11/2013 04:50 PM, Tom Rondeau wrote:
Yes, you should be able to make a Cmake rule to run grcc on the .grc
file to build the Python file.
Building hierarchical blocks with grcc needed a small tweak, as
convert_hier.py expects the flow graph to have grc_file_path set (in
order to add a reference to the file in the doc section of the XML block
definition).
Adding the file path during initialization of grcc fixed it for me:
https://github.com/bastibl/gnuradio/commit/515e9ac51837aa8f89de0ec3c95f6f185339c48e
Best,
Bastian