discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] compiling and working with gnuradio in windows


From: Josh Blum
Subject: Re: [Discuss-gnuradio] compiling and working with gnuradio in windows
Date: Fri, 16 Nov 2012 09:56:50 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2

> Per the hash problem:
> 
>>>>> To run the GRC examples, I need to delete the first line that starts
>>>>> with the hash '#'.  It seems like GRC expects the bracket '<' as the
>>>>> first line.
>>> Is this a .py file or a .grc file? Sorry, can you post a snippet or
>>> link.
> 
> Resampler_demo.grc's first few lines are here:
> 
> #!C:\Python27\python.exe
> <?xml version='1.0' encoding='ASCII'?>
> <flow_graph>
>   <timestamp>Tue Jun 19 21:31:30 2012</timestamp>
>   <block>
> 

I think its a typo, the grc file is being installed with
GR_PYTHON_INSTALL, so its appending the shebang to it. You would
probably just want to use the grc file from the source tree.

Devs should probably pull this out:

diff --git a/gr-filter/examples/CMakeLists.txt
b/gr-filter/examples/CMakeLists.txt
index a3901b6..57dbab9 100644
--- a/gr-filter/examples/CMakeLists.txt
+++ b/gr-filter/examples/CMakeLists.txt
@@ -30,7 +30,6 @@ GR_PYTHON_INSTALL(PROGRAMS
     interpolate.py
     reconstruction.py
     resampler.py
-    resampler_demo.grc
     synth_filter.py
     synth_to_chan.py
     DESTINATION ${GR_PKG_FILTER_EXAMPLES_DIR}


-josh



reply via email to

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