[hpsdr] cuSDR on Mac

Hermann hvh.net at gmail.com
Thu Nov 8 03:02:19 PST 2012


Thanks a lot Jeremy! I will update the code tonight.

Serge, RV3APM, has Hermes with cuSDR64 running with two receivers on Ubuntu
now. Thanks for testing, Serge!

73, Hermann
DL3HVH
On Thu, Nov 8, 2012 at 12:22 AM, Jeremy McDermond <mcdermj at xenotropic.com>wrote:

> On Nov 7, 2012, at 12:22 PM, Hermann <hvh.net at gmail.com> wrote:
>
> > ***** High Performance Software Defined Radio Discussion List *****
> >
>  > Dear All,
> >
> > I have just uploaded an alpha version of the cuSDR code for testing on
> Linux or MacOSx:
> >
> > http://svn.tapr.org/repos_sdr_hpsdr/trunk/DL3HVH/alpha
> >
> > There are only two sockets in use now: one for the discovery (using
> broadcast) and one for Metis/Hermes start/stop and data transfer from and
> to Metis/Hermes. Hopefully I have now solved the problem which Jeremy
> analyzed as a different socket behavior on Linux/MacOS vs. Windows. Nothing
> has been done though regarding fonts/graphics etc.
>
> A new compiled version for Mac based on this alpha code is posted at the
> aforementioned URL.
>
> Here's a patch to make things compile up on MacOS X:
>
> Index: src/DataEngine/cusdr_discoverer.cpp
> ===================================================================
> --- src/DataEngine/cusdr_discoverer.cpp (revision 2569)
> +++ src/DataEngine/cusdr_discoverer.cpp (working copy)
> @@ -140,7 +140,7 @@
>                 socket.close();
>                 return 0;
>         }
> -#elif defined(Q_OS_LINUX)
> +#elif defined(Q_OS_LINUX) || defined(Q_OS_MAC)
>
>         if (socket.bind(
>
> QHostAddress(set->getHPSDRDeviceLocalAddr()),
> @@ -154,13 +154,13 @@
>
>                 set->setMetisPort(this, socket.localPort());
>                 io->networkIOMutex.lock();
> -               HPSDRIO_DEBUG << "discovery_socket bound successfully to
> port " << socket.localPort();
> +        DISCOVERER_DEBUG << "discovery_socket bound successfully to port
> " << socket.localPort();
>                 io->networkIOMutex.unlock();
>         }
>         else {
>
>                 io->networkIOMutex.lock();
> -               HPSDRIO_DEBUG << "discovery_socket bind failed.";
> +        DISCOVERER_DEBUG << "discovery_socket bind failed.";
>                 io->networkIOMutex.unlock();
>
>                 socket.close();
> Index: cuSDR64.pro
> ===================================================================
> --- cuSDR64.pro (revision 2569)
> +++ cuSDR64.pro (working copy)
> @@ -4,7 +4,7 @@
>  TEMPLATE = app
>
>  CONFIG += qt warn_on
> -CONFIG += console
> +#CONFIG += console
>
>  #message(CONFIG: $$CONFIG)
>
> @@ -17,7 +17,7 @@
>  #DEFINES += _WINDOWS
>  #DEFINES += _CRT_SECURE_NO_WARNINGS
>  #DEFINES += QT_LARGEFILE_SUPPORT
> -#DEFINES += QT_DLL
> +#DEFINES += QT_DLL
>  #DEFINES += QT_MULTIMEDIA_LIB
>  #DEFINES += QT_OPENGL_LIB
>  #DEFINES += QT_NETWORK_LIB
>
> >
> > 73, Hermann
> > DL3HVH
> >
> >
> > _______________________________________________
> > HPSDR Discussion List
> > To post msg: hpsdr at openhpsdr.org
> > Subscription help:
> http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org
> > HPSDR web page: http://openhpsdr.org
> > Archives: http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/
>
>  --
> Jeremy McDermond (NH6Z)
> Xenotropic Systems
> mcdermj at xenotropic.com
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/attachments/20121108/1da5c9cd/attachment-0004.htm>


More information about the Hpsdr mailing list