Depends... If you're modifying an already existing block, just recompiling 
should probably be sufficient. If you're adding new functions that you want to 
be accessible from Python, you have to add the functions to the SWIG *.i file. 
If you're making a brand new block you'll have to add it to the proper 
CMakeLists.txt file and also create a new SWIG *.i file.

Check out gnuradio/gr-howto-write-a-block-cmake for examples where they've done 
the above.

Sean

From: discuss-gnuradio-bounces+sean.nowlan=gtri.gatech....@gnu.org 
[mailto:discuss-gnuradio-bounces+sean.nowlan=gtri.gatech....@gnu.org] On Behalf 
Of Loic Danceg
Sent: Thursday, March 08, 2012 1:01 PM
To: discuss-gnuradio@gnu.org
Subject: [Discuss-gnuradio] New in GNU Radio

Hi everybody,

I have a stupid question but...when i modify a blocks (in C++), i need to 
compile after the modification? If i want to use this block in a python program.


Thank you!

Loic

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to