Haxe Forum > Library Installation

  • Hello world!

    I just downloaded a haxe library called Haxepunk, and I'm wondering how to install it. It's in my downloads folder, and I wqas wondering if what I needed to do to install it was just move the library into the directory path where I have all my other libraries, or do I have to do something else.

  • You don't have to download it. Haxelib will take care of that. Simply run from terminal / command line:

    haxelib install HaxePunk

    If you really want to use the downloaded version you can point to it with -cp in your hxml file:
    -cp path/to/HaxePunkFolder

    Jan

  • I forgot to add that after running

    haxelib install HaxePunk
    you can use it with:
    -lib HaxePunk
    in your hxml file.

    Jan

  • OK, thanks!

< Prev | Page 1 / 1 | Next >