[hpsdr] Problems building ghpsdr receiver client (from ghpsdr3 project) on Mac OSX
n3evl
n3evl at townisp.com
Wed Jan 11 15:45:15 PST 2012
-I /opt/local/include/gtk-1.2
Should work - make sure that's a capital I (eye) not 1 (one) or L
Pete
N3EVL
On 1/11/2012 12:14 AM, Mark Leone wrote:
> ***** High Performance Software Defined Radio Discussion List *****
>
>
>>
>> I think all you should need to do is define a "CFLAGS" environment
>> variable that has an "-I" switch in it that points to whereever the
>> headers are. Spotlight will find the header files for you.
>>
>> After you do thios you will come to the next problem: Linking. If
>> the headers are in a different place then I bet the library files are
>> also. You will need to add the "-L" switch also to CFLAGS.
>>
> Thanks for the pointer, Chris. I must be doing something wrong, however.
>
> For example, to address this error:
>
> agc.c:30:21: error: gtk/gtk.h: No such file or directory
>
>
> I found the location of gtk.h, which is
>
> /opt/local/include/gtk-1.2/gtk
>
> Then I entered
>
> export CFLAGS="-l /opt/local/include/gtk-1.2/" (since the source code
> was looking for gtk/gtk.h)
>
> And I ran make again, but I got the same error message.
>
> I also tried export CFLAGS="-l /opt/local/include/gtk-1.2/gtk/"
>
> Any idea what I'm missing?
>
> Mark - K4XML
>
>
> _______________________________________________
> 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/
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.1901 / Virus Database: 2109/4734 - Release Date: 01/10/12
>
>
1326325515.0
More information about the Hpsdr
mailing list