[hpsdr] Problems building ghpsdr receiver client (from ghpsdr3 project) on Mac OSX

Chris Smith chris at vspl.co.uk
Mon Jan 9 00:33:40 PST 2012


Mark

It looks as if you need to install gtk-devel package at least to get the header files. But what gdk comes from i know not - possibly gdk-devel?

73 Chris G4UX


On 9 Jan 2012, at 05:12, Mark Leone wrote:

> ***** High Performance Software Defined Radio Discussion List *****
> 
> I'm trying to build the ghpsdr receiver from the ghpsdr3 project for Mac OSX. Per the wiki build page, I type make in ghpsdr3/trunk/src/receiver, but I get build errors when I do that. I'm not sure what to make of the errors. They seem to be implicating gtk, but I have gtk2 installed. I tried installing gtk1 as well, but I still get the errors.
> 
> Here are the build errors. Can someone please help me interpret what dependencies I might be missing?
> 
> Mark - K4XML
> 
> =====================================
> gcc  -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -g -O3 -msse -msse3 -ffast-math -march=core2 -Wall -c -o agc.o agc.c
> agc.c:30:21: error: gtk/gtk.h: No such file or directory
> agc.c:31:28: error: gdk/gdkkeysyms.h: No such file or directory
> In file included from agc.c:40:
> agc.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
> In file included from agc.c:43:
> main.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘background’
> main.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘buttonBackground’
> main.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bandButtonBackground’
> main.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘buttonSelected’
> main.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘black’
> main.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘white’
> main.h:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘displayButton’
> main.h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘green’
> main.h:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘red’
> main.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘grey’
> main.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘plotColor’
> main.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘filterColor’
> main.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘subrxFilterColor’
> main.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘verticalColor’
> main.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘horizontalColor’
> main.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘spectrumTextColor’
> agc.c:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
> agc.c:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
> agc.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
> agc.c:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
> agc.c:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
> agc.c:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
> agc.c:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
> agc.c:66: error: expected ‘)’ before ‘*’ token
> agc.c: In function ‘setAgc’:
> agc.c:104: error: ‘GtkWidget’ undeclared (first use in this function)
> agc.c:104: error: (Each undeclared identifier is reported only once
> agc.c:104: error: for each function it appears in.)
> agc.c:104: error: ‘widget’ undeclared (first use in this function)
> agc.c:107: error: ‘buttonSLOW’ undeclared (first use in this function)
> agc.c:110: error: ‘buttonMEDIUM’ undeclared (first use in this function)
> agc.c:113: error: ‘buttonFAST’ undeclared (first use in this function)
> agc.c:116: error: ‘buttonLONG’ undeclared (first use in this function)
> agc.c:119: warning: implicit declaration of function ‘selectAgc’
> agc.c: At top level:
> agc.c:129: error: expected ‘)’ before ‘*’ token
> agc.c:139: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
> make: *** [agc.o] Error 1
> 
> _______________________________________________
> 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/


 1326098020.0


More information about the Hpsdr mailing list