You probably want to use a ceil or floor around your integer*float
calculations so the code behaves
well on different architectures etc. Otherwise you can get
unanticipated differences of one pixel..
Then you need to include the math library on compilation -lm
Right, thank you, I believe that's exactly what I needed to know.
Assuming, at least, that I can figure out where to put that -lm.
Not sure what your Makefile.PL looks like so that is hard to say, did
you use the one given by Xavier Calbet (great work btw. Xavier!) at:
That helped. I had tried using the recommended makefile in the PP
document, but that failed - I think the error I received should
translate to "syntax error" or "you did something wrong, go fix it".
I've gotten the makefile working now.
Doug - Thanks, that looks very useful. I'll certainly use it to test
out my code, it seems like the sensible way to do that. Going back to
those math libraries, though... is there any way to include them while
using inline?
Thanks,
Adam
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl