Re: [Tlf-devel] Tlf scoring for Stew Perry?

2013-12-13 Thread Mike Waters
Hello Ervin, Thank you very much for your help. I installed libhamlib-dev and libhamlib-utils apt-get and tried this. Comments below. On Mon, Dec 9, 2013 at 4:26 PM, Ervin Hegedüs airw...@gmail.com wrote: may be you don't need to reverse any Pascal code :) Two of the three links I posted

Re: [Tlf-devel] Tlf scoring for Stew Perry?

2013-12-13 Thread Nate Bargmann
* On 2013 13 Dec 11:58 -0600, Mike Waters wrote: ==%== #include stdio.h #include hamlib/rotator.h int main(int argc, char ** argv) { double s1long, s1lat, s2long, s2lat; char s1qra[] = EM37cg; char s2qra[] = jn97om; double dist = 1000, az = 90;

Re: [Tlf-devel] Tlf scoring for Stew Perry?

2013-12-13 Thread Mike Waters
All I think I need now is a C algorithm that does the following with the grid square input: 1. Checks that the length of the grid square variable is exactly four characters long 2. Check that the first two characters are uppercase letters a...z 3. Check that the last two characters are numbers

Re: [Tlf-devel] Tlf scoring for Stew Perry?

2013-12-13 Thread Nate Bargmann
Hi Mike, et. al. Hamlib can be used from a Python, Perl, or TCL script and call the functions used for calculating azimuth and distance using several different location formats. Ervin mentioned below about some changes he submitted to the non-C language bindings. Those changes are only

Re: [Tlf-devel] Tlf scoring for Stew Perry?

2013-12-13 Thread Nate Bargmann
* On 2013 13 Dec 15:44 -0600, Mike Waters wrote: That was it! Thanks, Nate! :-) I should have caught that from the error, but I was fixated on another part of the compiler message. I understand completely. I have found that when solving compiler errors, fix the first thing and sometimes all

Re: [Tlf-devel] Tlf scoring for Stew Perry?

2013-12-13 Thread Ed
On 12/13/2013 02:51 PM, Nate Bargmann wrote: Hi Mike, et. al. Hamlib can be used from a Python, Perl, or TCL script and call the functions used for calculating azimuth and distance using several different location formats. Ervin mentioned below about some changes he submitted to the non-C

Re: [Tlf-devel] Installing tlf as non-root user

2013-12-13 Thread Jim Bruce
Pat I ran this and although it worked for me I did notice that during the startup og tlf (tlf -v) it complained about not having the hamlib libraries for my rig. Should --enable-hamlib (without the quotes) be in the ./config line as well as the path statement? #first install these so tlf will