discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] How to add c++ modules after gnuradio-3.2.2. bin


From: Tim Pearce
Subject: Re: [Discuss-gnuradio] How to add c++ modules after gnuradio-3.2.2. binary installation?
Date: Sat, 27 Mar 2010 21:10:35 +0000

Hi,

1)
I don't think gr-howto-write-a-block is part of the normal build environment -- there's a separate one within this directory.

Try running:
./bootstrap
./configure
make
make check
sudo make install

from inside this directory (i.e gnuradio/gr-howto-write-a-block)

You might run into some weird issues if you've installed the binary packages before compiling from source (unless youve changed the prefix) as it's possible you've got two copies of gnuradio - Make sure you've removed the old binary installs.

2)
I add new C++ blocks into my own module by following the instructions at http://www.mail-archive.com/address@hidden/msg00123.html (and a bit of trial and error whilst I got the hang of automake etc)

There might be an easier way than this however!

Cheers,

Tim

On Sat, Mar 27, 2010 at 8:18 PM, Yao Jack <address@hidden> wrote:


Hi

 I installed gnuradio-3.2.2. Binary package in Ubuntu 9.04.
 It was not flexible to include new c++ files
 (I could not find bootstrap, configure.ac  files etc in usr/share/gnuradio
installation directory).

 I then downloaded gnuradio-3.2.2.tar.gz and
gr-howto-write-a-block-3.2.2.tar.gz files and unzipped them in my home
folder,
and
 gr-howto-write-a-block-3.2.2 was included as a subdirectory in the
gnuradio-3.2.2 directory.

 I  used installation commands ./bootstrap, ./configure, make, sudo make
install
 in gnuradio-3.2.2 directory, and no error was reported. I then tried to run
file
 qa_howto.py (after chmod +x qa* ) in directory
gr-howto-write-a-block-3.2.2/src/python, as follows:

 ./qa_howto.py

 Error was reported that "in import howto", "howto" module could not be
recognized.
 I tried many other means, including modifying makefile.am in several
directories,
 and
 using installation ./bootstrap, ./configure, make, sudo make install
 in gr-howto-write-a-block-3.2.2 directory.  No error was reported.

 But still
./qa_howto.py
 could not work.

 Questions:

1) How can I make this work?
2) How can I add new functions and modules using c++ files based on
gnuradio-3.2.2 binary installation?

Thank you.

 Jack
--
View this message in context: http://old.nabble.com/How-to-add-c%2B%2B-modules-after-gnuradio-3.2.2.-binary-installation--tp28036932p28036932.html
Sent from the GnuRadio mailing list archive at Nabble.com.



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


reply via email to

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