[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] build gnuradio on windows with cygwin mingw msvc
From: |
Martin Dvh |
Subject: |
[Discuss-gnuradio] build gnuradio on windows with cygwin mingw msvc |
Date: |
Wed, 04 May 2005 04:12:49 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030823 |
Hi,
Has anybody succeeded in building gnuradio 2.x on windows.
I am trying to build using cygwin (clean cygwin install)
but haven't succeeded yet.
I had to add HAVE_SLEEP to config.h and use the right configure options.
I tried:
$ ../configure --with-boost-include-dir=/usr/local/include/boost-1_32
--with-md-cpu=generic
But then still make check gives an error in vmcircbuf
Also there is something wrong with _gnuradio_swig_python
It should have build a shared library (dll) but didn't
every python code which tries to use gnuradio exits with:
$ ./dial_tone.py
Traceback (most recent call last):
File "./dial_tone.py", line 23, in ?
from gnuradio import gr
File "/usr/local/lib/python2.4/site-packages/gnuradio/gr/__init__.py", line 27
, in ?
from gnuradio_swig_python import *
File "/usr/local/lib/python2.4/site-packages/gnuradio/gr/gnuradio_swig_python.
py", line 5, in ?
import _gnuradio_swig_python
ImportError: No module named _gnuradio_swig_python
I do have an
D:\cygwin\usr\local\lib\python2.4\site-packages\gnuradio\gr\_gnuradio_swig_python.a
but it only contains
!<arch>
there is no _gnuradio_swig_python.dll
I do have D:\cygwin\usr\local\bin\cyggnuradio-core-0.dll
so my setup is able to build shared libraries
I am now trying with
./bootstrap
../configure --enable-maintainer-mode --disable-static --with-md-cpu=generic PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
--with-boost-include-dir=/usr/local/include/boost-1_32
The cygwin wiki seems out of date (talks about gnuradio-0.9)
the mingw wiki says:
Tricks
make cppunit and fftw3 compile as shared
hack the m4 macros to tell non standard Python install directory
need some vmcircbuf patches not yet in CVS
Are these vmcircbuf patches already in gnuradio (cvs)
Anybody who has some experience with this please tell me.
As a sidenote, I was able to compile a part of gnuradio with microsoft visual
C++.net 2003
Just made a project and added all relevant cpp and .h files
I had to leave out all vmcircbuf and swig parts so it is not a complete
gnuradio.
I was able to play a little with fir filters directly in cpp with my own
buffers.
Greetings,
Martin
- [Discuss-gnuradio] build gnuradio on windows with cygwin mingw msvc,
Martin Dvh <=