[hpsdr] cuSDR run problem

Sid Boyce g3vbv at blueyonder.co.uk
Tue Aug 20 00:34:52 PDT 2013


OK Tom,
Obviously a difference in cuSDR64.pro, probably a modified version I got 
from Hermann some time ago that I still use.
QT += core gui network opengl

TARGET = cuSDR64
TEMPLATE = app

#QT_VERSION = $$[QT_VERSION]
#QT_VERSION = $$split(QT_VERSION, ".")
#QT_VER_MAJ = $$member(QT_VERSION, 0)
#QT_VER_MIN = $$member(QT_VERSION, 1)
#lessThan(QT_VER_MAJ, 4) | lessThan(QT_VER_MIN, 7) {
#   error(cuSDR requires Qt 4.7 or newer but Qt $$[QT_VERSION] was 
detected.)
#}

CONFIG += qt warn_on
CONFIG += console
CONFIG += mobility

MOBILITY += multimedia
73 ... Sid.

On 20/08/13 04:10, tbruns wrote:
> ***** High Performance Software Defined Radio Discussion List *****
>
> Hello Sid,
>
> Thanks for the advice! I'm not familiar with Qt so I did not know 
> about qmake.
>
> To get it to compile on my Ubuntu box I had to uncomment:
>
> #CONFIG += mobility
>
> #MOBILITY += multimedia
>
> in cuSDR64.pro and remove:
>
> -lQtMultimedia
>
> from the LIBS line in the Makefile.
>
> ...and it works! The GUI is a work of art!
>
> 73 Tom
>
>
> On 08/18/2013 05:34 PM, Sid Boyce wrote:
>> ***** High Performance Software Defined Radio Discussion List *****
>>
>> Hi Tom,
>> svn co http://svn.tapr.org/repos_sdr_hpsdr/trunk/DL3HVH/cuSDR64
>>
>> "cd cuSDR64"
>>
>> Qt 4 is needed to build cuSDR.
>> e.g:-
>> root at sdrbox1:/usr/src/cuSDR64# qmake -v
>> QMake version 2.01a
>> Using Qt version 4.8.4 in /usr/lib/x86_64-linux-gnu
>>
>> root at sdrbox1:/usr/src/cuSDR64# qmake
>> root at sdrbox1:/usr/src/cuSDR64# make -j 4
>>
>> When the build is complete:-
>> root at sdrbox1:/usr/src/cuSDR64# cp -dp bin/release/cuSDR64 
>> /usr/local/bin/
>>
>> From the command line you can then just run "cuSDR64".
>>
>> Same process if you are building cuSDR32.
>> 73 ... Sid.
>>
>>
>> On 18/08/13 22:15, tbruns wrote:
>>> ***** High Performance Software Defined Radio Discussion List *****
>>>
>>> Hello Sid,
>>>
>>> I have a newbie question for you: What's your procedure for building 
>>> cuSDR on Linux? Are you able to build just using the files checked 
>>> out from tapr or did you create your own makefiles?
>>>
>>> 73 Tom KC5L
>>>
>>> On 08/18/2013 10:09 AM, Sid Boyce wrote:
>>>> ***** High Performance Software Defined Radio Discussion List *****
>>>>
>>>> OK, fixed it!
>>>> Added to lines
>>>> INCPATH     = -I/usr/include/GLES2
>>>>
>>>> LIBS    = -lGLESv2
>>>> 73 ... Sid.
>>>>
>>>> On 18/08/13 15:14, Sid Boyce wrote:
>>>>> Kubuntu 13.04, problem since I did "aptitude full-upgrade".
>>>>> root at sdrbox:/usr/src/cuSDR64# dpkg -l|grep mesa
>>>>> ii  libegl1-mesa:amd64 9.1.3-0ubuntu0.3 amd64        free 
>>>>> implementation of the EGL API -- runtime
>>>>> ii  libegl1-mesa-dev 9.1.3-0ubuntu0.3 amd64        free 
>>>>> implementation of the EGL API -- development files
>>>>> ii  libegl1-mesa-drivers:amd64 
>>>>> 9.1.3-0ubuntu0.3                     amd64        free 
>>>>> implementation of the EGL API -- hardware drivers
>>>>> ii  libgl1-mesa-dev 9.1.3-0ubuntu0.3 amd64        free 
>>>>> implementation of the OpenGL API -- GLX development files
>>>>> ii  libgl1-mesa-dri:amd64 9.1.3-0ubuntu0.3 amd64 free 
>>>>> implementation of the OpenGL API -- DRI modules
>>>>> ii  libgl1-mesa-glx:amd64 9.1.3-0ubuntu0.3 amd64 free 
>>>>> implementation of the OpenGL API -- GLX runtime
>>>>> ii  libglapi-mesa:amd64 9.1.3-0ubuntu0.3 amd64        free 
>>>>> implementation of the GL API -- shared library
>>>>> ii  libgles2-mesa:amd64 9.1.3-0ubuntu0.3 amd64        free 
>>>>> implementation of the OpenGL|ES 2.x API -- runtime
>>>>> ii  libgles2-mesa-dev 9.1.3-0ubuntu0.3 amd64        free 
>>>>> implementation of the OpenGL|ES 2.x API -- development files
>>>>> ii  libglu1-mesa:amd64 9.0.0-0ubuntu1 amd64        Mesa OpenGL 
>>>>> utility library (GLU)
>>>>> ii  libglu1-mesa-dev 9.0.0-0ubuntu1 amd64        Mesa OpenGL 
>>>>> utility library -- development files
>>>>> ii  libopenvg1-mesa:amd64 9.1.1-0ubuntu3 amd64        free 
>>>>> implementation of the OpenVG API -- runtime
>>>>> ii  mesa-common-dev 9.1.3-0ubuntu0.3 amd64 Developer documentation 
>>>>> for Mesa
>>>>>
>>>>> Message:-
>>>>> cuSDR64 BETA requires OpenGL v2.0 or later to run
>>>>> --------------------------------------------------------------------
>>>>> I have added "-LGLESv2" to the LIBS line in Makefile.
>>>>>
>>>>> ldd bin/release/cuSDR64
>>>>>         linux-vdso.so.1 =>  (0x00007ffff21c8000)
>>>>>         libfftw3f.so.3 => /usr/lib/x86_64-linux-gnu/libfftw3f.so.3 
>>>>> (0x00007fe08ec12000)
>>>>>         libQtMultimediaKit.so.1 => 
>>>>> /usr/lib/x86_64-linux-gnu/libQtMultimediaKit.so.1 
>>>>> (0x00007fe08e926000)
>>>>>         libQtOpenGL.so.4 => 
>>>>> /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4 (0x00007fe08e627000)
>>>>>         libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 
>>>>> (0x00007fe08d97a000)
>>>>>         libQtNetwork.so.4 => 
>>>>> /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4 (0x00007fe08d63b000)
>>>>>         libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 
>>>>> (0x00007fe08d163000)
>>>>>         libGLESv2.so.2 => 
>>>>> /usr/lib/x86_64-linux-gnu/mesa-egl/libGLESv2.so.2 
>>>>> (0x00007fe08cf5c000)
>>>>>         libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 
>>>>> (0x00007fe08ccfe000)
>>>>>         libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
>>>>> (0x00007fe08cae0000)
>>>>>         libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
>>>>> (0x00007fe08c7dd000)
>>>>>         libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 
>>>>> (0x00007fe08c4d8000)
>>>>>         libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
>>>>> (0x00007fe08c2c1000)
>>>>>         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 
>>>>> (0x00007fe08bef9000)
>>>>>         libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 
>>>>> (0x00007fe08bcb1000)
>>>>>         libfreetype.so.6 => 
>>>>> /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fe08ba13000)
>>>>>         libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 
>>>>> (0x00007fe08b80f000)
>>>>>         libXrender.so.1 => 
>>>>> /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fe08b605000)
>>>>>         libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 
>>>>> (0x00007fe08b2ca000)
>>>>>         libfontconfig.so.1 => 
>>>>> /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fe08b090000)
>>>>>         libaudio.so.2 => /usr/lib/x86_64-linux-gnu/libaudio.so.2 
>>>>> (0x00007fe08ae78000)
>>>>>         libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 
>>>>> (0x00007fe08ab7b000)
>>>>>         libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 
>>>>> (0x00007fe08a955000)
>>>>>         libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 
>>>>> (0x00007fe08a73e000)
>>>>>         libgobject-2.0.so.0 => 
>>>>> /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007fe08a4ee000)
>>>>>         libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 
>>>>> (0x00007fe08a2e6000)
>>>>>         libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 
>>>>> (0x00007fe08a0ca000)
>>>>>         libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 
>>>>> (0x00007fe089eb9000)
>>>>>         libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 
>>>>> (0x00007fe089ca7000)
>>>>>         librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 
>>>>> (0x00007fe089a9e000)
>>>>>         /lib64/ld-linux-x86-64.so.2 (0x00007fe08f030000)
>>>>>         libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 
>>>>> (0x00007fe089878000)
>>>>>         libXdamage.so.1 => 
>>>>> /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007fe089675000)
>>>>>         libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 
>>>>> (0x00007fe08946e000)
>>>>>         libX11-xcb.so.1 => 
>>>>> /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007fe08926c000)
>>>>>         libxcb-glx.so.0 => 
>>>>> /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007fe089055000)
>>>>>         libxcb-dri2.so.0 => 
>>>>> /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007fe088e4f000)
>>>>>         libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 
>>>>> (0x00007fe088c31000)
>>>>>         libXxf86vm.so.1 => 
>>>>> /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fe088a2b000)
>>>>>         libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 
>>>>> (0x00007fe08881f000)
>>>>>         libjson.so.0 => /lib/x86_64-linux-gnu/libjson.so.0 
>>>>> (0x00007fe088616000)
>>>>>         libpulsecommon-3.0.so => 
>>>>> /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-3.0.so 
>>>>> (0x00007fe0883b2000)
>>>>>         libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 
>>>>> (0x00007fe08816e000)
>>>>>         libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 
>>>>> (0x00007fe087f44000)
>>>>>         libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 
>>>>> (0x00007fe087cde000)
>>>>>         libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 
>>>>> (0x00007fe087ada000)
>>>>>         libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 
>>>>> (0x00007fe08789b000)
>>>>>         libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 
>>>>> (0x00007fe087692000)
>>>>>         libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 
>>>>> (0x00007fe08748d000)
>>>>>         libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 
>>>>> (0x00007fe087286000)
>>>>>         libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 
>>>>> (0x00007fe08707c000)
>>>>>         libsndfile.so.1 => 
>>>>> /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007fe086e16000)
>>>>>         libasyncns.so.0 => 
>>>>> /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007fe086c0f000)
>>>>>         libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 
>>>>> (0x00007fe0869f5000)
>>>>>         libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 
>>>>> (0x00007fe0867a8000)
>>>>>         libvorbisenc.so.2 => 
>>>>> /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007fe0862d9000)
>>>>>         libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 
>>>>> (0x00007fe0860ac000)
>>>>>         libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 
>>>>> (0x00007fe085ea4000)
>>>>> 73 ... Sid.
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
> _______________________________________________
>


-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


 1376984092.0


More information about the Hpsdr mailing list