[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] SWIG - ImportError: dynamic module does not defin
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] SWIG - ImportError: dynamic module does not define init function |
Date: |
Fri, 9 Sep 2005 04:33:15 -0700 |
User-agent: |
Mutt/1.5.6i |
On Fri, Sep 09, 2005 at 12:15:02AM +0100, sudhindra aithal kota wrote:
> Sorry for posting it on the GNURadio group.But I did
> not find an answer on google.Can someone please help?
>
> I am learning to use SWIG and while doing to first
> example in the manual
> something went wrong.
> Here is the example I am referring to:
> http://www.swig.org/Doc1.3/Introduction.html#n8
> I am trying to build the python wrapper.
> I am running gentoo linux with SWIG 1.3.19 and python
> 2.2.2
> I did these command and everything seemed to work:
> $ swig -python example.i
> $ gcc -c -fpic example.c example_wrap.c
> -I/usr/include/python2.2
> #<--location of Python.h in gentoo
> $ gcc -shared example.o example_wrap.o -o _example.so
Start by reading the README in gnuradio-core...
Pay particular attention to the parts that talk about which python and
SWIG versions are supported.
Eric