<?xml version="1.0" encoding="iso-8859-15"?>
<!-- generator="Kukkaisvoima version 14" -->
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<channel>
<title>Tom Arnold K6AET's Musings: sdr</title>
<link>https://www.k6aet.org/index.cgi</link>
<description>Jee</description>
<pubDate>Wed, 23 Feb 2011 06:23:15 +0200</pubDate>
<lastBuildDate>Wed, 23 Feb 2011 06:23:15 +0200</lastBuildDate>
<generator>http://23.fi/kukkaisvoima/</generator>
<language>en</language>
<item>
<title>Fun with building GHPSDR
</title>
<link>https://www.k6aet.org/index.cgi/GHPSDR%3A2011-02-23%3Asdr%2Chpsdr%2Cbrainexplosion</link>
<comments>https://www.k6aet.org/index.cgi/GHPSDR%3A2011-02-23%3Asdr%2Chpsdr%2Cbrainexplosion#comments</comments>
<pubDate>Wed, 23 Feb 2011 06:23:15 +0200</pubDate>
<dc:creator>Tom</dc:creator>
<category>sdr</category>
<category>hpsdr</category>
<category>brainexplosion</category>
<guid isPermaLink="false">https://www.k6aet.org/index.cgi/GHPSDR%3A2011-02-23%3Asdr%2Chpsdr%2Cbrainexplosion/</guid>
<description><![CDATA[ 
 [...]]]></description>
<content:encoded><![CDATA[

<p>
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, <a href="http://openhpsdr.org/wiki/index.php?title=Quick_Startup_Guide">http://openhpsdr.org/wiki/index.php?title=Quick_Startup_Guide</a> is a VERY useful link to figure out how to make everything work.
</p>

<p>
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
<pre>
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
</pre>
</p>

<p>
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.
</p>

<p>
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.
</p>

73,
<br>Tom AF6YW
]]></content:encoded>
<wfw:commentRss>https://www.k6aet.org/index.cgi/GHPSDR%3A2011-02-23%3Asdr%2Chpsdr%2Cbrainexplosion/feed/</wfw:commentRss>
</item>
</channel>
</rss>
