[hpsdr] Ghpsdr3 build on Ubuntu 11.04.

Sid Boyce g3vbv at blueyonder.co.uk
Sun Jun 26 15:47:14 PDT 2011


A few paths need to be fixed in 11.04.

In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:28:0,
from /usr/include/gtk-2.0/gdk/gdk.h:33,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from configure.c:27:
/usr/include/gtk-2.0/gdk/gdkpixbuf.h:37:35: fatal error: 
gdk-pixbuf/gdk-pixbuf.h: No such file or directory
compilation terminated.
In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:28:0,
from /usr/include/gtk-2.0/gdk/gdk.h:33,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from monitor.c:34:
/usr/include/gtk-2.0/gdk/gdkpixbuf.h:37:35: fatal error: 
gdk-pixbuf/gdk-pixbuf.h: No such file or directory
compilation terminated.
make: *** [all] Error 1
root at sdrbox1:/usr/src/GHPSDR3/ghpsdr3/trunk/src/monitor# lo gdk-pixbuf.h
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h

root at sdrbox1:/usr/src/GHPSDR3/ghpsdr3/trunk/src/QtRadio# qmake
root at sdrbox1:/usr/src/GHPSDR3/ghpsdr3/trunk/src/QtRadio# make
/usr/bin/uic-qt4 UI.ui -o ui_UI.h
/usr/bin/uic-qt4 Configure.ui -o ui_Configure.h
/usr/bin/uic-qt4 Bandscope.ui -o ui_Bandscope.h
/usr/bin/uic-qt4 About.ui -o ui_About.h
/usr/bin/uic-qt4 Bookmark.ui -o ui_Bookmark.h
/usr/bin/uic-qt4 BookmarksDialog.ui -o ui_BookmarksDialog.h
/usr/bin/uic-qt4 BookmarksEditDialog.ui -o ui_BookmarksEditDialog.h
/usr/bin/uic-qt4 KeypadDialog.ui -o ui_KeypadDialog.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB 
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui 
-I/usr/include/qt4/QtMultimedia -I/usr/include/qt4 
-I/usr/include/QtMultimedia -I. -I. -o main.o main.cpp
In file included from main.cpp:27:0:
UI.h:34:37: fatal error: QtMultimedia/QAudioFormat: No such file or 
directory
compilation terminated.
make: *** [main.o] Error 1
root at sdrbox1:/usr/src/GHPSDR3/ghpsdr3/trunk/src/QtRadio#
Graeme (ZL2APV) ttracked it down
-------------------------------------------------------------------------

Hi Guys,

I have tracked it down. The QtMultimedia kit is moved to qtmobility-
dev and all you need to do is install that with apt or synaptic.

The line in the ui.h #include<QtMultimedia/QAudioFormat>  needs to be
changed to #include<QtMultimediaKit/QAudioFormat>  and of course some
others are starting to pop up. I will sort them out and post the
results. Obviously there are some minor name changes.

73 Graeme

-------------------------------------------------------------------------
73 ... Sid.

On 26/06/11 16:00, John Melton wrote:
> ***** High Performance Software Defined Radio Discussion List *****
>
> Hi Fredy,
>
> try installing the PortAudio development package:
>
>      sudo apt-get install portaudio19-dev
>
> Just a note that I have not upgraded to 11.04 yet, I am still running
> 10.10 but I do not expect there will be any problems on 11.04.
>
> Regards,
>
> John g0orx/n6lyt
>
> On Sun, 2011-06-26 at 13:53 +0200, Alfredo Currado wrote:
>> ***** High Performance Software Defined Radio Discussion List *****
>>
>> Hello John G0ORX,
>>
>> I'm Fredy I2HFS and I'm very fond of Linux. I'd like to build your
>> ghpsdr3 server and client on Ubuntu 11.04 32bit and use it with my
>> HPSDR Metis-Mercury-Penelope wonderful transceiver.
>> Server compiles without problems, but receiver make stops with the
>> following error related to portaudio :
>>
>> port_audio.c:49:5: error: ‘PaStreamParameters’ undeclared (first use
>> in this function)
>>
>> I think it's related to a different version of portaudio library than
>> the one used to compile receiver by you.
>>
>> Can you help me solving this problem ?
>>
>> Many thanks.
>>
>> Fredy (Alfredo Currado)
>>
>> I2HFS
>> _______________________________________________
>> 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/
>
> _______________________________________________
> 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/


-- 
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


 1309128434.0


More information about the Hpsdr mailing list