Fun with building GHPSDR

I may have mentioned, a friend loaned me his TAPR HPSDR chassis and cards. I kinda had to assemble things a little first but that was fun. Then I decided to build mac-GHPSDR. It was a lot of fun. Sorta like slamming my head in a car door. Figured I'd make some notes. Oh, this wasn't exactly the first time. It took me a while to figure everything out. Oh, http://openhpsdr.org/wiki/index.php?title=Quick_Startup_Guide is a VERY useful link to figure out how to make everything work.

First off, I had to install the required bits. I use Macports, I install gtk2, libusb, and libfftw3. Then I tweaked out the Makefile so it'd work with the /opt/local path needed. Here's my updated Makefile bits as guidance

INCLUDES=-I. -I/opt/local/include/gtk-2.0\
         -I/opt/local/lib/gtk-2.0/include\
         -I/opt/local/include/atk-1.0\
         -I/opt/local/include/cairo\
         -I/opt/local/include/pango-1.0\
         -I/opt/local/include/glib-2.0\
         -I/opt/local/include/gdk-pixbuf-2.0\
         -I/opt/local/include\
         -I/opt/local/lib/glib-2.0/include\
         -I/opt/local/include/pixman-1\
         -I"/usr/X11R6/include/freetype2/freetype"\
         -I/usr/local/include/libpng14\
         -I/Library/Frameworks/Gtk.framework/Headers\
         -I/Library/Frameworks/GLib.framework/Headers\
         -I/Library/Frameworks/Cairo.framework/Headers

LIBS=-L"/usr/X11R6/lib" -L.\
     -L"/opt/local/lib" \
     -lDttSP\
     -lfftw3f -lfreetype -lfontconfig -lusb-1.0\
     -lpthread\
     -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0\
     -lpangoft2-1.0 -lgdk_pixbuf-2.0\
     -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lz\
     -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 \
     -framework IOKit -framework CoreFoundation

Well, it built mostly but eventually blew up with some nasty errors. It took a little while, but finally figured out that I needed a different fftw install. The key was installing fftw-3-single.

After that, building the OzyUtils-MacOS package worked just fine and then just had to grab the latest firmware and boomph, it worked! Previously I had used Windows to upgrade the firmware on Mercury and Penelope. And then tested the HPSDR hardware using PowerSDR. I forget exactly where I grabbed the latest firmware but at some point I located it. Just copy it into the directory with OzyUtils. Oh, and there are some I2C errors that throw up when you fire up initozy. They are Janus related and can be ignored.

73,
Tom AF6YW
Categories: sdr, hpsdr, brainexplosion
Date: 2011-02-23, 13 years and 297 days ago

Comments

  1. Mario:
    2011-03-08, 13 years and 284 days ago

    Hi Tom,

    I'm struggling to compile mac-ghpsdr.. Especially building the DttSP library which is included in the packag.. Do you have any hints for this??

    73, Mario - DL3LSM

  2. Melvin Peek:
    2024-09-16, 88 days ago

    Dear k6aet.org owner, Thanks for the informative post!

Leave reply

No html allowed in reply

Notify me of follow-up comments via email.