I have need to use linc_openal in a kha project. I get past the haxe/khamake portion fine with no errors. The make portion is returning an error that my library cpp file can not find ‘linc_openal.h’. I have a build.hxml for the library and have included the linc_openal in the khafile.js.
I’ve tried using the @:include in my library .hx file but that didn’t take care of the issue.
Here’s what I got:
KORE_A3 -c …/Sources/src/sndm/Sndm.cpp -o sndm.o
…/Sources/src/sndm/Sndm.cpp:6:10: fatal error: linc_openal.h: No such file or directory
6 | #include “linc_openal.h”
| ^~~~~~~~~~~~~~~
package sndm;
import openal.AL;
@:include(‘linc_openal/linc/linc_openal.h’)
-cp src
-L linc_openal
-D linux
-cpp bin/
project.addLibrary(“sndm”);
project.addLibrary(“linc_openal”);
project.addDefine(“linc_openal”);