Kha icon indicating copy to clipboard operation
Kha copied to clipboard

Sometimes library don't work if loaded through haxelib

Open CoruNethron opened this issue 7 years ago • 0 comments

Minimal test project located here: https://github.com/Aidan63/linc_imgui/tree/master/test/kha

Library is: https://github.com/Aidan63/linc_imgui


If you clone whole repo and compile project, then all is OK, but it uses relative library path, like: project.addLibrary('../../../../linc_imgui');

Same is OK, if you place library to Libraries dir and use: project.addLibrary('linc_imgui');

But, if you download library, using: haxelib git linc_imgui https://github.com/Aidan63/linc_imgui Then project is located by build script (it does't anymore say, that can't locate library), but some native code can't be found (linc_imgui.h: No such file or directory).

CoruNethron avatar Apr 02 '18 15:04 CoruNethron