[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] updating some processing blocks, problems
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] updating some processing blocks, problems |
Date: |
Sat, 29 Dec 2012 11:06:27 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 12/29/2012 02:46 AM, davek wrote:
> Im trying to upgrade some signal processing blocks from autotools to cmake.
> https://github.com/KD8EYF/op25/tree/master/blocks
>
>
> "cmake ../ "
> seems to work fine
> http://pastebin.com/ycAqvSh8
>
> "make op25"
> has a few warnings but nothing serious looking. So this tells me at
> least the source is compiling fine
> http://pastebin.com/D8EUnMv8
>
> "make"
> i get some warnings "Found unknown command `\precondition'" when
> creating the doxygen ... not sure this is too important.
> but i also get some errors, Like:
>
> [ 80%] Building CXX object
> swig/CMakeFiles/_op25_swig.dir/op25_swigPYTHON_wrap.cxx.o
> /build/swig/op25_swigPYTHON_wrap.cxx: In function ‘PyObject*
> _wrap_new_fsk4_demod_ff_sptr__SWIG_0(PyObject*, PyObject*)’:
> /build/swig/op25_swigPYTHON_wrap.cxx:5784:22: error: ‘gr’ was not
> declared in this scope
>
> This file 'op25_swigPYTHON_wrap.cxx' is automatically generated by
> swig. I have no idea why its in error. Its almost like it not putting
> the processing blocks into the 'gr' namespace? if that even makes
> sense.. I dunno.. This is a bit over my head
>
> Full makelog w/ errors
> http://pastebin.com/raw.php?i=EbEk1TzL
>
> Does anyone see anything wrong with what im doing?
> Thanks
> Dave
>
Is fsk4_demod_ff declared in a namespace?
There is possibly a macro to deal with this:
GR_SWIG_BLOCK_MAGIC2
http://gnuradio.org/cgit/gnuradio.git/tree/gnuradio-core/src/lib/swig/gr_swig_block_magic.i
-josh
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>