![]() |
query regarding installing swig on Red hat Linux9
Hi all,
This is Shweta, I am working on an OFDM project in which I have to create python interfaces for GNU Radio Software. I am using swig 1.3.24 on Linux version 9. I have certain queries regarding swig which I am not able to find out from the swig documentation. Please, kindly send me the possible solutions or links which will be helpful to me. I will be highly thankful to you. I have following queries: 1. How to build the swig.exe on Linux and Windows. 2. How to set up the environment on Linux and Windows. 3. Any paths & Directories should be created. 4. How o interface swig with GNU radio. 5. How swig interacts with GNU radio. 6. Which version of Linux is compatible with swig. Thanks & Regards, shweta |
Re: query regarding installing swig on Red hat Linux9
Quote:
1. For linux: download the *.tar.gz file from the swig page at sourceforge http://sourceforge.net/project/showf...?group_id=1645 use the file roller (double click the package) to browse the contents and read anything that looks like instructions. There's usually a text fle called "readme.txt" which will tell you what to do. Usually it is a matter of unpacking the tarball, using a terminal to cd into the directory the tarball created and typing "./configer" then "make" then "make install" or something like that. For windows - which is a naughty question since we don't do that here :) - you download the *.zip file from sourceforge (see above) - unzip it and run the installation program. You'll find the windows version is a lot less configurable. 2-6. may be replied to when you have had a go at step one. Your question suggests you have yet to encounter a problem so good luck. |
Hi Simon,
Thanks for the reply.. :-) I have already installed it on Linux version 9.0. But still dont know abt the connectivity with GNU software :-(. Please let me know if u have some details. Thanks, Shweta |
swig would not interface with the GNU radio software. SWIG's job is to help you develop the (in this case) perl script which is to do the interfacing.
Have you seen the following: http://www.swig.org/papers/Perl98/swigperl.htm http://www.swig.org/Doc1.1/HTML/Contents.html http://www.swig.org/tutorial.html (in order of decreasing complexity.) How perl interfaces with the GNU Radio software depends entirely on the radio software and what you want it to do. You may find it's easier to just go directly to perl for this ... unless you are required to use swig? Or you want to change some other code (say C++) to perl? |
Ya...That's true..I will look into those links...
In the swig downloadable for linux the executable is not provided. Plzz tell me how can I build the wig executable in Linux....?????????? |
| All times are GMT -5. The time now is 06:16 PM. |