GNU Radio MinGW

From SpenchWiki
Jump to: navigation, search

32-bit Compilation Notes

	autocrlf = input
	eol = lf

Git hardlink in Dev to avoid spaces

-lpthread added to LIBS in root FFTW Makefile
Libs: -L${libdir} -lportaudio @DLL_LIBS@

export PATH="$PATH:/c/Dev/Python27:/usr/local/swigwin-2.0.1"

export USRP_PATH=/usr/local/share/usrp
export PYTHONPATH=/usr/local/lib/site-packages

* 'git' added to PATH (but uses spaces)
* Python should be 32-bit
? xmlto
? dot
- doxygen
? machine dependent speedups... x86
? socket

QWT_INSTALL_PREFIX    = C:/Dev/MinGW/msys/1.0/local

Also fixed for 5

if test ${libusb_name} != "libusb"; then

usb.h -> /usr/include
[libusb.a -> /usr/lib]
?libusb0.dll.a ?

QT_MOC_EXEC = /c/Dev/Qt/4.7.0/bin/moc
QT_UIC_EXEC = /c/Dev/Qt/4.7.0/bin/uic
QMAKE_INCLUDES =  /usr/local/include/qwt
QT_INCLUDES =  -I/usr/local/include/qwt ... -I/c/Dev/Qt/4.7.0/include/QtGui
QT_LIBS = -L/usr/local/lib -lqwt5 -L/c/Dev/Qt/4.7.0/lib -lQtOpenGL4 -lglu32 -lopengl32 -lQtGui4 -lfreetype -lgobject-2.0 -lQtCore4 -lfontconfig -lz -lm -lgthread-2.0 -lglib-2.0 -lpthread -Lc:/Dev/Python26/libs -lpython26

SDL_INCLUDEDIR =  -I/usr/local/SDL/include/SDL
SDL_LIBS = -L/usr/local/SDL/lib -lSDL

Removed '-ldxguid' dependency from
? While making (non-fatal):
.deps/video_sdl.Sd: line 2: command not found
make[2]: *** [.deps/video_sdl-generate-stamp] Error 127
make[2]: Leaving directory `/usr/src/gnuradio/gr-video-sdl/src'

.pc info DOES get pulled into Makefiles (not configure)

*** Still need to fix lib args in Qtxxx.pc
*** No MV for SWIG stamp
MV = $(am__mv)

qt_gui/Makefile: [Cannot compile Python file into main lib!]
libgnuradio_qtgui_la_OBJECTS = $(am_libgnuradio_qtgui_la_OBJECTS) \

Moved main Qt bin infront of PyQt bin directory, since imports were missing (different versions of Core?)


Use GR libtool for gr-air
*** -shrext .pyd