[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-Porters] C Librarys and miscellaneous



Greetings,

I thought someone might have some answers to some of this stuff.

So I love MacPerl. Much kudos to you all for your good work. I'm a
middling programmer...lotsa Applescript, Javascript, some Java, C, and
C++. I know some stuff and don't know a lot more. I use the newest
CodeWarrier for the "real" languages.

6 months ago I tried to use the GD library on the CD included with
Thomas Boutells CgI's in C and Perl book. Course the Code had all kinds
of compilation erros on my Mac...not my code, Boutell's. Different
headers (no conio.h for example) lotsa other problems a bit over my
head. I think I managed to hack out an image finally. Then moved on.
So I get MacPerl and start digging around and there's a beautiful Perl
port of Gd. And in there is a Gd Library file. Looks just like all the
other CodeWarrier Lib files. So I says to my self maybe I can include
that lib in Codewarrier c project and use the GD library in C...all the
hassles ironed out by someone smarter than me. I realize I'll need some
".h" files so I download MacPerl source from the CD, dig around , grab
the GD .h files, try to run a simple GD example. Nope still errors and
missing .h's ect. Perlio.h, god knows what else.
Am I on target here? Couldn't I use this Mac Library to do  GD in C?
What's the proper way to do it? What would the
Codewarrier project look like? Do someone have one ? Could someone send
me one?

Ok there's that. Now this porting of Toolbox and gd and whatnot is done
with this xs language right? I've looked into it a bit, read the pod
files which aren't Mac specific. Chris Nandor's and Vicki Brown's
excellent book only
touches on it. Are there more copious sources of porting say a Toolbox
call to MacPerl? Mac xs programming?

Can it be done in Codewarrier? Only MPW? (God not another IDE to
learn!!)

I've got a little project I'm working on...would love to be able to use
the Mac's color picker. I don't believe it's in MacPerl yet. Is it a big
deal to get it in there?

I know this is a lot of questions. Thanks very much for your time.

Allan Greenier
AutoScript Applications

agreenier@snet.net
http://www.geocities.com/~autoscript

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-porters-request@macperl.org