There was one compilation roadblock on my MacBook, but it wasn't too bad to get up and running. Here is what I did (not on the first try):
$ tar xfvz ~/archives/ming-0.4.0-dev-2006_04_20.tar.gz
$ cd ming-0.4.0/
$ sh autogen.sh
$ ./configure
$ open src/actioncompiler/compile.*
$ make static
$ cd py_ext/
$ python setup.py build
$ gcc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined dynamic_lookup build/temp.macosx-10.4-fat-2.4/ming_wrap.o -L/usr/local/lib -L.. -lming -lz -o build/lib.macosx-10.4-fat-2.4/_mingc.so
$ python setup.py install
$ python shape.py
$ open test.swf
Note: the gcc is command just the last line of output that the setup.py build used with the -arch ppc removed. The C++ lib's Makefiles do not create universal binaries, so the linking with -lming was causing an ld warning.
The test.swf file created by the test mad Adobe Illustrator unhappy, but displayed in Firefox.
No comments:
Post a Comment