Question GNU Radio swig Path

Hi,

i have a question related to GNU Radio installation. I followed all
steps
described in http://gnuradio.org/redmine/wiki/1/MingwInstallMain, but
when I
want to install gnuradio 3.3.0 it says that it can’t find swig. It finds
python
becasue it is decalred in Environment Variables under Path with the
value of
“C:\Python26”. Swig is installed under C:\msys\1.0\local\swigwin-1.3.40,
the
problem is that I don’t know how I soulddeclare theswig path and where.
I
tried in the same place as Python path but on GNU Radio installation it
gives
error that it can’t find some gr_vmcircbuf.cc file. Can anybody give
some ideas
regarding this problem? I have bought the USRP 3 month ago and I could
not try
it because I couldn’t install GNU Radio under WindowsXP using MinGW, and
it
starts to make me very angry.Thank you very much for any help.

Best regards,
Matt Dunstan.

On Sun, Oct 24, 2010 at 10:37 PM, Matt Dunstan
[email protected] wrote:

gr_vmcircbuf.cc file. Can anybody give some ideas regarding this problem? I
have bought the USRP 3 month ago and I could not try it because I couldn’t
install GNU Radio under WindowsXP using MinGW, and it starts to make me
very angry.Thank you very much for any help.

Best regards,
Matt Dunstan.

I’m afraid I’ve actually never installed GNU Radio on Windows, so I
can’t be of much help here. Windows, as you’ve probably gathered, is
woefully under-supported by our community. One of these days I’ll get
around to trying it out in Windows…

To attempt to help you out, Swig should just need to be in the PATH
environmental variable. If it passes configure, it’s found it. So if
you’ve made it to the make part and that’s where you’re getting the
gr_vmcircbuf.cc file, I’m not sure what to tell you. The file is in
gnuradio-core/src/lib/runtime.

Is there any way you can get a Linux installation up and running (even
as a virtual machine)? Ubuntu’s pretty easy to install and work with
these days.

Tom

Matt Dunstan wrote:

i have a question related to GNU Radio installation. I followed all steps
described in http://gnuradio.org/redmine/wiki/1/MingwInstallMain, but when
I
want to install gnuradio 3.3.0 it says that it can’t find swig. It finds
python
becasue it is decalred in Environment Variables under Path with the value
of
“C:\Python26”. Swig is installed under C:\msys\1.0\local\swigwin-1.3.40,
the
problem is that I don’t know how I sould declare the swig path and where.

The step that says

export
PATH=“$PATH:/c/Python26:/usr/local/swigwin-1.3.40:/c/Progra~1/SDCC/bin”

should take care of this. Another option is to create a file called
/usr/local/bin/swig with the commands:

#! /bin/sh
exec ‘C:/msys/1.0/local/swigwin-1.3.40/swig.exe’ “$@”

Make the file executable with “chmod +x /usr/local/bin/swig”.

In any case, the command “which swig” should tell you whether swig can
be
found.

– Don W.