discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] updating some processing blocks, problems


From: davek
Subject: Re: [Discuss-gnuradio] updating some processing blocks, problems
Date: Sat, 29 Dec 2012 15:25:33 -0500

Josh, Bastin Thanks for the reply.

my op25_swig.i already has

GR_SWIG_BLOCK_MAGIC2. I changed it to
GR_SWIG_BLOCK_MAGIC

And compilation completes without error.
Is this a valid workaround? with what implications?


On Sat, Dec 29, 2012 at 12:06 PM, Josh Blum <address@hidden> wrote:
>
>
> 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
>>
>
> _______________________________________________
> 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]