Vijay Ramasami wrote: > Please bear with me as I am new to gnuradio (and autotools in > general). I am catching up ... Gnuradio version 3.0.3 as such compiles > fine on my system (Cygwin on XP), and I am able to run all the > examples. But, I am having a problem getting the howto example to > work. > > I have setup a new directory structure under the gnuradio (ver 3.0.3) > main directory, and copied the howto example files to that directory > (as per the article on creating a new block).
So far, so good. > I added a new M4 file in config following the examples used for other > directories, ran "bootstrap", "configure", and then "make" in the > gnuradio subdirectory. When I do this, I am getting the following > error from libtool: This is where your misunderstanding comes in. There are two types of compilation from source for GNU Radio. The successful build that you did of 3.0.3 is calling "building inside the tree." The gr-howto-write-a-block example is meant for building "outside the tree", that is, independent of the main GNU Radio code. This is a template for users to create their own signal processing blocks that live independent from the main project code and only need access to the (installed) header files. The short answer is that you can untar the gr-howto-write-a-block-3.0.3.tar.gz file into its own directory, then run (from inside that directory): $ ./configure $ make $ sudo make install This will build and install the howto example onto your system. You can use this as a template to start your own library of C++ based blocks (search and replace on 'howto' to get started.) -- Johnathan Corgan Corgan Enterprises LLC http://corganenterprises.com _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
