No problems. As I said, I don't use Ubuntu right now so I'm a bit out of the loop on these matters. Keep playing around & learn all you can! - MLD
If you look in < https://github.com/kik/sdr-tv/blob/master/gr-ntsc/CMakeLists.txt >, lines 89-94 read: {{{ # Search for GNU Radio and its components and versions. Add any # components required to the list of GR_REQUIRED_COMPONENTS (in all # caps such as FILTER or FFT) and change the version to the minimum # API compatible version required. set(GR_REQUIRED_COMPONENTS RUNTIME) find_package(Gnuradio "3.7.2" REQUIRED) }}} When you run the "cmake" command using this source directory, cmake will "execute" this file (CMakeLists.txt), which will do some other stuff before this command, then when it gets to this command cmake will go off and try to find GNU Radio 3.7.2 or newer. The way this step works is that GNU Radio has already installed cmake files somewhere, generally /usr/local/lib/cmake or /usr/local/share/cmake; append "gnuradio" to one of those and you should find files inside that directory if it is installed. For example, you could execute the following to look for this directory via: {{{ ls -lAF /usr/local/lib/cmake /usr/local/share/cmake }}} which will either list files / directories in those directories, or will return "No such file or directory" if the directory does not exist. I think in your case there will be listings inside at least one of those locations, but "gnuradio" will not be found. I'm guessing that when you do "sudo apt-get install gnuradio", you get the runtime parts of GNU Radio -- those parts that you need for running scripts, but not files for developing or building an OOT module on your own. I'm guessing you need to do something like "sudo apt-get install gnuradio-dev" to get the developer parts of GNU Radio. On Wed, Jan 13, 2016, at 10:27 AM, [email protected] wrote: > Thanks for the response, I'm not a software developer so bear with me. Yes > I'm using an OOT at > https://github.com/kik/sdr-tv/blob/master/gr-ntsc/examples/ntsc.grc which I > would like to experiment with. My thinking was to edit the CMakelists.txt??? > that comes along with this gr-function to indicate where gnuradio is located > but not sure if this is correct nor do I know the syntax to do this. Will > perform a search to find out using apt or maybe locate?? then what? > > I can say that if I run a python script in my home directory it can not > import any gr classes but I can execute gnuradion_companion. Not sure if this > helps. > > Still learning, _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
