<div dir="auto"><div>Bob<div dir="auto"><br></div><div dir="auto">If you do not want to compile the code yourself. Just download the compiled executetable from the release directory.</div><div dir="auto"><br></div><div dir="auto"><a href="https://GitHub.com/TAPR/OpenHPSDR-Protocol2-Programmers/Releases">https://GitHub.com/TAPR/OpenHPSDR-Protocol2-Programmers/Releases</a></div><div dir="auto"><br></div><div dir="auto">Download the correct compressed fill and extract the file.</div><div dir="auto"><br></div><div dir="auto">Dave KV0S</div><br><div class="gmail_extra"><br><div class="gmail_quote">On May 7, 2017 9:34 PM, "Bob Stricklin" <<a href="mailto:bstrick@n5brg.com">bstrick@n5brg.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">***** High Performance Software Defined Radio Discussion List *****<br>
<br>
<br>



<div style="word-wrap:break-word">
I am having about the same issue with the GO package and programmer2 code that Sid has seen.
<div><br>
</div>
<div>Here is a listing of my results on an Ubuntu:</div>
<div>bstricklin@SRBarn:~/OpenHPSDR-<wbr>Protocol2-Programmers/<wbr>newradio$uname -a</div>
<div>Linux SRBarn 3.11.0-26-generic #45~precise1-Ubuntu SMP Tue Jul 15 04:04:35 UTC 2014 i686 i686 i386 GNU/Linux</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>bstricklin@SRBarn:~/OpenHPSDR-<wbr>Protocol2-Programmers/<wbr>newradio$ sudo go clean HPSDRProgrammer_web.go</div>
<div>bstricklin@SRBarn:~/OpenHPSDR-<wbr>Protocol2-Programmers/<wbr>newradio$ sudo go build ./HPSDRProgrammer_web.go</div>
<div>HPSDRProgrammer_web.go:26:2: import "<a href="http://golang.org/x/net/websocket" target="_blank">golang.org/x/net/websocket</a>": cannot find package</div>
<div>HPSDRProgrammer_web.go:29:2: import "<a href="http://oak.snr.missouri.edu/daveradio/newopenhpsdr" target="_blank">oak.snr.missouri.edu/<wbr>daveradio/newopenhpsdr</a>": cannot find package</div>
<div>bstricklin@SRBarn:~/OpenHPSDR-<wbr>Protocol2-Programmers/<wbr>newradio$ sudo go run ./HPSDRProgrammer_web.go</div>
<div># command-line-arguments</div>
<div>./HPSDRProgrammer_web.go:29: __emptyarchive__ redeclared as imported package name</div>
<div>        previous declaration at ./HPSDRProgrammer_web.go:26</div>
<div>./HPSDRProgrammer_web.go:29: imported and not used: "<a href="http://oak.snr.missouri.edu/daveradio/newopenhpsdr" target="_blank">oak.snr.missouri.edu/<wbr>daveradio/newopenhpsdr</a>"</div>
<div>./HPSDRProgrammer_web.go:206: undefined: newopenhpsdr</div>
<div>./HPSDRProgrammer_web.go:218: undefined: newopenhpsdr</div>
<div>./HPSDRProgrammer_web.go:257: undefined: newopenhpsdr</div>
<div>./HPSDRProgrammer_web.go:276: undefined: newopenhpsdr</div>
<div>./HPSDRProgrammer_web.go:350: undefined: newopenhpsdr</div>
<div>./HPSDRProgrammer_web.go:365: undefined: newopenhpsdr</div>
<div>./HPSDRProgrammer_web.go:385: undefined: newopenhpsdr</div>
<div>./HPSDRProgrammer_web.go:1244: undefined: websocket</div>
<div>./HPSDRProgrammer_web.go:385: too many errors</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>I see from the GO docs that the import “<a href="http://golang.org/x/net/websocket" target="_blank">golang.org/x/net/websocket</a>” should translate to:</div>
<div><br>
</div>
<div><span class="m_-8088186927586749670Apple-tab-span" style="white-space:pre-wrap"></span><a href="https://golang.org/x/net/websocket" target="_blank">https://golang.org/x/net/<wbr>websocket</a></div>
<div><br>
</div>
<div>When I try to go to that URL in a browser it redirects me to <a href="http://good.org" target="_blank">
good.org</a>. I guess the GO package is supposed to do something different at build time.</div>
<div><br>
</div>
<div>I have been hacking at this trying to make it work but no joy so far.</div>
<div><br>
</div>
<div>Bob  N5BRG</div>
<div><br>
</div>
</div>

<br>______________________________<wbr>_________________<br>
HPSDR Discussion List<br>
To post msg: <a href="mailto:hpsdr@openhpsdr.org">hpsdr@openhpsdr.org</a><br>
Subscription help: <a href="http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org" rel="noreferrer" target="_blank">http://lists.openhpsdr.org/<wbr>listinfo.cgi/hpsdr-openhpsdr.<wbr>org</a><br>
HPSDR web page: <a href="http://openhpsdr.org" rel="noreferrer" target="_blank">http://openhpsdr.org</a><br>
Archives: <a href="http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/" rel="noreferrer" target="_blank">http://lists.openhpsdr.org/<wbr>pipermail/hpsdr-openhpsdr.org/</a><br></blockquote></div><br></div></div></div>