[haXe]Arctic and Xcode
Bastien Helders
eldroskandar at gmail.com
Sun Nov 5 10:03:54 CET 2006
I'll detail exactly what I done:
- I create a new haXe project using the haXe plugin for Xcode
- I changes the build script as described earlier
- I add to Main.hx:
#if flash9
import flash.display.MovieClip;
#else flash
import flash.MovieClip;
#end
import arctic.Arctic;
import arctic.ArcticView;
import arctic.ArcticBlock;
- I try to build the project and then it said it doesn't find the class
- I add to compile.hxml:
-lib arctic
- I try to build again, but the error is still there.
Do I miss something?
2006/11/5, Bastien Helders <eldroskandar at gmail.com>:
>
> I forgot to say that the problem with Xcode is when I make a new project,
> not with ArcticTest. This project is saved in ~/Documents/Haxe/Projects/ (I
> didn't try to run ArcticTest with Xcode in fact)
>
> Best regards,
> Bastien
>
> 2006/11/5, Asger Ottar Alstrup <asger at area9.dk>:
> >
> >
> >
> > On 11/5/06, Bastien Helders < eldroskandar at gmail.com> wrote:
> > >
> > > I was toying with Arctic, and I saw that in the ArcticTest.hxml, the
> > > -xml option has the following path: C:\flash\arctic\examples/out0.xmlbut I'm working on OS X. I downloaded the library with the haxelib command.
> >
> >
> > You can just remove that line completely. It was generated by haxefd,
> > and I forgot to remove it.
> >
> > On another note, I was trying the haXe plugin for Xcode and I had some
> > > difficulties.
> > > - At first it was searching the haxe command in ~/haxe/lib. I solve
> > > this problem by removing the path before the command in the build script,
> > > leaving only haxe comple.hxml
> > > - It says it doesn't find the arctic.Arctic class although I add -lib
> > > arctic to the compile.hxml file.
> >
> >
> > And you did you install arctic using "haxelib install arctic"?
> >
> > What happens if you try to compile the DevArcticText.hxml file instead?
> > That one uses relative paths rather than the lib parameter.
> >
> > Regards,
> > Asger
> >
> >
> > --
> > haXe - an open source web programming language
> > http://haxe.org
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20061105/fe30887a/attachment.htm
More information about the Haxe
mailing list