ubuntu - How to connect Haxe project with Nape -


i have src folder, containing main.hx & compile.hxml. run command sudo haxelib install nape, reported ended installing nape 2.0.5.

in main.hx posted code this page, , run haxe compil.hxml gave me error: characters 0-22 : class not found : nape.geom.vec2. can conclude haxe doesn't 'see' nape.

sidenote: use ubuntu 12.10.

how use library in code?

what .hxml like?

you should have line '-lib nape' link nape library.

on different side note: why running haxelib sudo? should not necessary.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -