How to add haxelib libraries


#1

Hi, would like to use the haxe-concurrent library in an Armory application.


What would be the clean way to integrate 3rd party libraries?
Tried to dig through the handling of the libraries in armsdk\lib (like haxebullet). But there seems to be library registration code all over the place, not sure whether I really have to add something at all these locations (scripts/addonds/armory.py, armsdk/armory/blender/addon/armory.py, armsdk/armory/blender/arm/write_data.py etc.)

My current workaround to get it working quickly was to copy the package “hx” folder to armsdk/Kha/Tools/haxe/std - which seems to work on first sight but is presumably not the way to go… :slight_smile:


#2

Just finished updating the tutorial series thread with a new tutorial on exactly this subject. Hopefully this gets you sorted. Note some odd intellisense style bugs in Kode Studio, I don’t know why.


#3

whoho, thanks a lot! Exactly what I was looking for!
These tutorials look great, much appreciated!