discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GNU Radio in Python Tutorial - installing python


From: Michael Rahaim
Subject: Re: [Discuss-gnuradio] GNU Radio in Python Tutorial - installing python block without C++
Date: Wed, 22 Oct 2014 08:25:48 -0400

Hi Martin,

Thanks for the response. I'll make sure to work with the newer version going forward.

I see that the tutorial home page says 3.7.4 is required, but I just checked the guided tutorial in python (http://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorial_GNU_Radio_in_Python) and it mentions 3.7.0 or later as a prereq.

Thanks again,

-Mike

On Wed, Oct 22, 2014 at 5:40 AM, Martin Braun <address@hidden> wrote:
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
>


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


reply via email to

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