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 wil

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 langu

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

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 available

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 0..

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

2013-12-13 Thread Mike Waters
That was it! Thanks, Nate! :-) I should have caught that from the error, but I was fixated on another part of the compiler message. mike@mike-ubuntu:~/local/share/tlf/tlf-devel$ ./a.out W0BTU coords: lat: 37.270833 lon: -93.791667 HA2OS coords: lat: 47.520833 lon: 19.208333 distance between W0BTU

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 > > #include > > > > int main(int argc, char ** argv) { > > double s1long, s1lat, s2long, s2lat; > > char s1qra[] = "EM37cg"; > > char s2qra[] = "jn97om"; > > double dist = 1000, az = 90; > > > > locator2l

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 wrote: > may be you don't need to reverse any Pascal code :) > Two of the three links I posted were C code, only o