I have a src folder, containing a Main.hx & compile.hxml.
I run the command sudo haxelib install nape
, which reported it ended successfully installing Nape 2.0.5.
In the Main.hx I posted the code from this page, and then I run haxe compil.hxml
which gave me the error:
characters 0-22 : Class not found : nape.geom.Vec2
.
I can conclude haxe doesn't 'see' Nape.
Sidenote: I use ubuntu 12.10.
How do I use the library in my code?
If you are using openfl and got this same error then in project.xml
add this (as XML tag like the openfl one )