Apollo: acompc Troubles
Tuesday, March 27th, 2007I’ve been using acompc to compile an apollo swc. I ran the command line compiler using the syntax they specify in their official docs:
acompc -load-config myLib-config.xml -output lib/myLib.swc
Then I’d get this error:
The definition of base class Object was not found.
Yikes!
The answer is easy, but I didn’t see it because it was late and I was just kinda copying and pasting (shame on me). You want to add a “+” sign to your -load-config command so that you don’t clobber previous configs, specially the apollo-config.xml. So, the command should read like this:
acompc -load-config+=myLib-config.xml -output lib/myLib.swc
Ah, Adobe’s agressive release of alphas takes me back to the days of Borland Turbo C and Turbo Pascal. And those early versions weren’t officially “alphas”.
Happy coding.
/r