Title: Signature.html
First questions about Cygwin is I see a 1.7 Beta download version for
it, and references to 1.5 downloads. Where's 1.6? Is it past Beta?
Wayne Watson wrote:
That's a lot of text to respond to, but let me see if I can broadly do
it.
It appears that the idea of executing Linux code under Win XP is
d-e-a-d. (Let's ignore VM)
I will need to recompile the c-code in some way under Win XP. Probably
Cygwin.
The python code I'm working on will only be available to a private
audience which is comprised of Win users.
Some years ago I started down the CygWiu road just to have Linux
available under Win. Old habits die hard. It was erratic and I pulled
it off. Cygwin seems to be still alive, so I think I will give it a
shake today. I hope it can tolerate the Makefiles and libraries the 38K
line program requires. My former knowledge of Makefiles died years ago.
Here's the main program's header file (and part of a Makefile).
Probably the tricky part is the graphic library use. In the meantime, I
headed for a Cygwin download.
wolf.c, the main program header.
#define wolf
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "cgi-draw.h" <---- This guy, maybe
#include "novas.h"
#include "global.h"
#include "calstars.h"
#include "imatrix.h"
#include "cnstl.h"
A sample of Makefile.linux
/* ************ markstars ***************
main routine of WOLF
inputs: input_image - path for the input fits image file.
output_image - filename of the output jpg processed image.
detect - if 1, detect "unepxected" stars.
write_on_target - if 1, type labels on the output image. In
this case,
output image must be specified.
inverted - if 1, the image is inverted (black background and
white stars).
constellations - if 1, draw constellations (greek style)
lines.
...
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
“Life is one damn thing after another."
-- Mark Twain
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
--
Signature.html
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
“Life is one damn thing after another."
-- Mark Twain
|
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor