[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Clarification
From: |
Mike Willis |
Subject: |
[Discuss-gnuradio] Clarification |
Date: |
Thu, 7 Aug 2014 22:10:35 +0100 |
I still have the problem with the AttributeError: 'module' object has
no attribute problem for my OOT module. Really clutching at straws
now, hair all gone. Can anyone explain in plain English what the
following advice from the WiKi means? I am sure it is 100% clear to
whoever wrote it but it means little to me.
http://gnuradio.org/redmine/projects/gnuradio/wiki/Move_3-6_to_3-7?version=7
Make sure the methods in include/modname/blockname.h are declared pure
virtual so that blockname can remain an abstract class.
Following that is the advice that If blockname is not abstract, your
code may compile but SWIG will interpret the declaration as the
concrete class instead of your blockname_impl class. At runtime this
will cause an error like ImportError: [...] undefined symbol when the
Python interpreter attempts to load your SWIGged object code.
Well that's more or less what is happening but it might not be the cause.
- [Discuss-gnuradio] Clarification,
Mike Willis <=
- Re: [Discuss-gnuradio] Clarification, Marcus Müller, 2014/08/08
- Re: [Discuss-gnuradio] Clarification, 奕佑, 2014/08/08
- Re: [Discuss-gnuradio] Clarification, Perper, 2014/08/08
- Re: [Discuss-gnuradio] Clarification, Tom Rondeau, 2014/08/08
- Re: [Discuss-gnuradio] Clarification, Martin Braun, 2014/08/08
- Re: [Discuss-gnuradio] Clarification, 奕佑, 2014/08/08
- Re: [Discuss-gnuradio] Clarification, Martin Braun, 2014/08/09
- Re: [Discuss-gnuradio] Clarification, Perper, 2014/08/11
- Re: [Discuss-gnuradio] Clarification, 奕佑, 2014/08/11