GNU Radio MinGW

From SpenchWiki

Jump to: navigation, search

32-bit Compilation Notes

gitconfig:
[core]
	autocrlf = input
	eol = lf

Git hardlink in Dev to avoid spaces

-lpthread added to LIBS in root FFTW Makefile

portaudio-2.0.pc.in:
Libs: -L${libdir} -lportaudio @DLL_LIBS@

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

~/.bash_profile:
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

6.0.0/qwtconfig.pri:
QWT_INSTALL_PREFIX    = C:/Dev/MinGW/msys/1.0/local
QWT_INSTALL_HEADERS   = $${QWT_INSTALL_PREFIX}/include/qwt
QWT_INSTALL_DOCS      = $${QWT_INSTALL_PREFIX}/doc/qwt

Also fixed for 5

config/usrp_libusb.m4
if test ${libusb_name} != "libusb"; then

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

gr-qtgui/src/lib/Makefile:
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

gr-video-sdl/src/Makefile:
SDL_INCLUDEDIR =  -I/usr/local/SDL/include/SDL
SDL_LIBS = -L/usr/local/SDL/lib -lSDL

Removed '-ldxguid' dependency from libSDL.la
? While making (non-fatal):
.deps/video_sdl.Sd: line 2: video_sdl.cc:: 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) \
        $(am__objects_1)

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
Views
Personal tools
follow me
Latest Content
Blog
Gallery