discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] SWIG Includes for GRExtras blocks


From: Josh Blum
Subject: Re: [Discuss-gnuradio] SWIG Includes for GRExtras blocks
Date: Tue, 13 Nov 2012 10:27:21 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2


On 11/12/2012 02:24 PM, Roy Thompson wrote:
> Well, I guess it fixed the compilation problem, but now I am having a
> problem when I try to import the swig module in Python:
> 
> Traceback (most recent call last):
>   File "/root/mockup_test.py", line 15, in <module>
>     import argon
>   File "/usr/lib64/python2.6/site-packages/argon/__init__.py", line
> 45, in <module>
>     from argon_swig import *
>   File "/usr/lib64/python2.6/site-packages/argon/argon_swig.py", line
> 26, in <module>
>     _argon_swig = swig_import_helper()
>   File "/usr/lib64/python2.6/site-packages/argon/argon_swig.py", line
> 22, in swig_import_helper
>     _mod = imp.load_module('_argon_swig', fp, pathname, description)
> ImportError: /usr/lib64/libgnuradio-argon.so: undefined symbol:
> _ZN8gnuradio5block5startEv
> 
> It looks like it's not pulling in gnuradio::block::start() even though
> libgnuradio-extras.so should be in my load path.  Any ideas?
> 

Probably just have to link it against gr extras library. did you set
GR_SWIG_LIBRARIES ?

-josh

> Thanks,
> Roy
> 
> _______________________________________________
> 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]