[hpsdr] GHPSDR - idiot questions
Kevin Wheatley
m0khz at tiscali.co.uk
Wed Oct 14 10:53:21 PDT 2009
Making slow progress :) But getting closer.
I've had to install libusb via MacPorts, before this I was missing
libusb.h
I've modified libusbio.c to reflect where libusb.h is on my drive.
//#include </usr/local/include/libusb-1.0/libusb.h>
#include </opt/local/var/macports/software/libusb/1.0.3_0/opt/local/
include/libusb-1.0/libusb.h>
I also had to modifiy main.c to point at the right directory for
malloc.h
//#include <malloc.h>
<//Users/m0khz/NetBeansProjects/N6LYT/ghpsdr/malloc.h>
Now while compiling I'm getting these errors:
/usr/bin/make -f nbproject/Makefile-Release.mk SUBPROJECTS= .build-conf
/usr/bin/make -f nbproject/Makefile-Release.mk dist/Release/GNU-Linux-
x86/ozy
mkdir -p build/Release/GNU-Linux-x86
rm -f build/Release/GNU-Linux-x86/main.o.d
gcc -c -O2 -MMD -MP -MF build/Release/GNU-Linux-x86/main.o.d -o
build/Release/GNU-Linux-x86/main.o main.c
mkdir -p build/Release/GNU-Linux-x86
rm -f build/Release/GNU-Linux-x86/command_thread.o.d
gcc -c -O2 -MMD -MP -MF build/Release/GNU-Linux-x86/
command_thread.o.d -o build/Release/GNU-Linux-x86/command_thread.o
command_thread.c
mkdir -p build/Release/GNU-Linux-x86
rm -f build/Release/GNU-Linux-x86/ozy_client.o.d
gcc -c -O2 -MMD -MP -MF build/Release/GNU-Linux-x86/ozy_client.o.d -
o build/Release/GNU-Linux-x86/ozy_client.o ozy_client.c
ozy_client.c: In function 'ozy_ep6_io_thread':
ozy_client.c:134: warning: pointer targets in passing argument 2 of
'ozy_ringbuffer_get' differ in signedness
mkdir -p build/Release/GNU-Linux-x86
rm -f build/Release/GNU-Linux-x86/ozy_to_jack.o.d
gcc -c -O2 -MMD -MP -MF build/Release/GNU-Linux-x86/ozy_to_jack.o.d
-o build/Release/GNU-Linux-x86/ozy_to_jack.o ozy_to_jack.c
ozy_to_jack.c: In function 'process_ozy_input_buffer':
ozy_to_jack.c:115: warning: pointer targets in passing argument 2 of
'dump_buffer' differ in signedness
ozy_to_jack.c: In function 'ozy_to_jack_thread':
ozy_to_jack.c:130: warning: pointer targets in passing argument 1 of
'process_ozy_input_buffer' differ in signedness
mkdir -p build/Release/GNU-Linux-x86
rm -f build/Release/GNU-Linux-x86/jack_ringbuffer.o.d
gcc -c -O2 -MMD -MP -MF build/Release/GNU-Linux-x86/
jack_ringbuffer.o.d -o build/Release/GNU-Linux-x86/jack_ringbuffer.o
jack_ringbuffer.c
jack_ringbuffer.c:21: error: syntax error before
'jack_output_buffer_mutex'
jack_ringbuffer.c:21: warning: data definition has no type or storage
class
make[2]: *** [build/Release/GNU-Linux-x86/jack_ringbuffer.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 754ms)
There seems to be an issue with Jack? Any pointers welcome. - In text
not programmer 'speak' please, programing skills severely challenged
here :)
For the programmers out there I'm sorry about the band width!
73's
Kevin - M0KHZ
On 14 Oct 2009, at 17:33, Kevin Wheatley wrote:
> ***** High Performance Software Defined Radio Discussion List *****
>
> Hi John
>
> Yes this works, thanks, I now need to work out how to compile your
> code for this Mac. On very quick inspection, I'm going to have to
> make some changes to your supplied 'make' file.
> I'll let you know how I progress - but don't hold your breath, I'll
> be making slow progress.
>
> 73's
> Kevin - M0KHZ
>
> On 14 Oct 2009, at 16:03, John Melton wrote:
>
>> sorry missed the svn out of the URL
>>
>> svn://206.216.146.154/svn/repos_sdr_hpsdr/trunk/N6LYT
>>
>> -- John g0orx/n6lyt
>>
>>
>> On 10/14/09 15:39, Kevin Wheatley wrote:
>>> Hi John
>>> Using the SVN checkout from within Netbeans, I'm getting the
>>> following error message?
>>> org.tigris.subversion.javahl.ClientException: Couldn't find a
>>> repository
>>> No repository found in 'svn://206.216.146.154/repos_sdr_hpsdr/
>>> trunk/N6LYT'
>>> Please remember, I really don't know what I'm doing here!
>>> 73's
>>> Kevin - M0KHZ
>>> On 14 Oct 2009, at 15:24, John Melton wrote:
>>>> GHPSDR is not the java-sdr code. GHPSDR is a GTK+ application
>>>> written purely for the HPSDR hardware. If you want to download
>>>> this then it is in the repos_linux_hpsdr repository at:
>>>>
>>>> svn://206.216.146.154/repos_sdr_hpsdr/trunk/N6LYT
>>>>
>>>> For the Java code you need to upgrade to Java 6 for the
>>>> GroupLayout support.
>>>>
>>>> Regards
>>>>
>>>> --John g0orx/n6lyt
>>>>
>>>>
>>>> On 10/14/09 14:30, Kevin Wheatley wrote:
>>>>> ***** High Performance Software Defined Radio Discussion List
>>>>> *****
>>>>> ------------------------------------------------------------------------
>>>>> I’m a recent MacBook convert (still using Windoz for PowerSDR),
>>>>> I’m OK on the apps but no knowledge of the underlying OS
>>>>> structure. However I thought I’d have a look at John’s ghpsdr
>>>>> developments, what follows is probably due to my lack of Mac OS
>>>>> knowledge :)
>>>>> I’ve installed the following:
>>>>> Netbeans IDE
>>>>> Jack Audio Connection kit
>>>>> FFTW-3
>>>>> LibUSB
>>>>> SVN
>>>>> I’ve checked out John’s java-sdr code from here:
>>>>> *svn co **https://java-sdr.dev.java.net/svn/java-sdr/trunk/java-sdr**
>>>>> –username guest* I’ve made the fifo’s
>>>>> I’ve then opened up Netbeans, opened John’s code and tried to
>>>>> compile but am getting errors, (I won’t list them all) for
>>>>> example:
>>>>> Compiling 97 source files to /Users/m0khz/guest/java-sdr/build/
>>>>> classes
>>>>> /Users/m0khz/guest/java-sdr/src/radio/AGCDialog.java:165: cannot
>>>>> find symbol
>>>>> symbol : class GroupLayout
>>>>> location: package javax.swing
>>>>> .addGroup
>>>>> (layout
>>>>> .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
>>>>> /Users/m0khz/guest/java-sdr/src/radio/AGCDialog.java:204:
>>>>> package javax.swing.GroupLayout does not exist
>>>>> layout
>>>>> .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
>>>>> 61 errors
>>>>> /Users/m0khz/guest/java-sdr/nbproject/build-impl.xml:246: The
>>>>> following error occurred while executing this line:
>>>>> /Users/m0khz/guest/java-sdr/nbproject/build-impl.xml:126:
>>>>> Compile failed; see the compiler error output for details.
>>>>> BUILD FAILED (total time: 1 second)
>>>>> What am I doing wrong? Have I installed all the prerequisites?
>>>>> I’m I working with the right svn files? Or am I barking up the
>>>>> wrong tree entirely?
>>>>> Kevin - M0KHZ
>>>>> ------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> 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/
1255542801.0
More information about the Hpsdr
mailing list