<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I'm trying to build the ghpsdr receiver from the ghpsdr3 project for
Mac OSX. Per the wiki build page, I type make in
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<i>ghpsdr3/trunk/src/receiver, </i>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.<br>
<br>
Here are the build errors. Can someone please help me interpret what
dependencies I might be missing?<br>
<br>
Mark - K4XML<br>
<br>
=====================================<br>
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<br>
agc.c:30:21: error: gtk/gtk.h: No such file or directory<br>
agc.c:31:28: error: gdk/gdkkeysyms.h: No such file or directory<br>
In file included from agc.c:40:<br>
agc.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token<br>
In file included from agc.c:43:<br>
main.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘background’<br>
main.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘buttonBackground’<br>
main.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘bandButtonBackground’<br>
main.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘buttonSelected’<br>
main.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘black’<br>
main.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘white’<br>
main.h:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘displayButton’<br>
main.h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘green’<br>
main.h:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘red’<br>
main.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘grey’<br>
main.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘plotColor’<br>
main.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘filterColor’<br>
main.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘subrxFilterColor’<br>
main.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘verticalColor’<br>
main.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘horizontalColor’<br>
main.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘spectrumTextColor’<br>
agc.c:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token<br>
agc.c:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token<br>
agc.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token<br>
agc.c:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token<br>
agc.c:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token<br>
agc.c:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token<br>
agc.c:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token<br>
agc.c:66: error: expected ‘)’ before ‘*’ token<br>
agc.c: In function ‘setAgc’:<br>
agc.c:104: error: ‘GtkWidget’ undeclared (first use in this
function)<br>
agc.c:104: error: (Each undeclared identifier is reported only once<br>
agc.c:104: error: for each function it appears in.)<br>
agc.c:104: error: ‘widget’ undeclared (first use in this function)<br>
agc.c:107: error: ‘buttonSLOW’ undeclared (first use in this
function)<br>
agc.c:110: error: ‘buttonMEDIUM’ undeclared (first use in this
function)<br>
agc.c:113: error: ‘buttonFAST’ undeclared (first use in this
function)<br>
agc.c:116: error: ‘buttonLONG’ undeclared (first use in this
function)<br>
agc.c:119: warning: implicit declaration of function ‘selectAgc’<br>
agc.c: At top level:<br>
agc.c:129: error: expected ‘)’ before ‘*’ token<br>
agc.c:139: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token<br>
make: *** [agc.o] Error 1<br>
<br>
</body>
</html>