[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] GNU Radio in Python Tutorial - installing python
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] GNU Radio in Python Tutorial - installing python block without C++ |
Date: |
Wed, 22 Oct 2014 11:40:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Michael,
we do point out in our tutorials that you require GNU Radio 3.7.4 or
later to run these tutorials. The possibility of writing Python-only
OOTs is the main reason for this.
However, you *probably* don't need to upgrade if you don't like. One way
to do this is to clone gr-tutorial, and remove all the source files,
then start adding them again as you go through the exercises.
Cheers,
M
On 10/21/2014 05:53 PM, Michael Rahaim wrote:
> Hi all,
>
> I've been going through the tutorials with a fresh install of GNURadio
> (Version 3.7.2.1) through Ubuntu's package manager (Ubuntu 14.04) and
> I've run into a few issues when attempting to install a python block
> (without any C++, as indicated in the tutorial:
> http://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorial_GNU_Radio_in_Python#Installing-Python-Blocks).
>
>
> I think I resolved the first issue below, but any pointers for resolving
> the second error would be greatly appreciated:
>
> 1-) Running cmake threw an error "CMAKE error: cannot determine link
> language for target "gnuradio-tutorial"
>
> -As mentioned in the "bug" report #522, I was able to eliminate the
> error by removing the lib folder and commenting out the line
> "add_subdirectory(lib)" from CMakeLists.txt
>
>
> 2-) Running make now gives the error when attempting to link the
> tutorial module:
> Linking CXX shared module _tutorial_swig.so
> /usr/bin/ld: cannot find -lgnuradio-tutorial
> collect2: error: ld returned 1 exit status
>
> -Is there something else that needs to be edited before running cmake
> since there isn't any C++ code?
>
>
> Thanks in advance,
>
> -Mike
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>