bytedeco / javacpp

The missing bridge between Java and native C++
Other
4.48k stars 581 forks source link

Skip #include from a header file #760

Closed zaki699 closed 4 months ago

zaki699 commented 4 months ago

Is it possible to skip an include file from a header file?

the include is actually throwing a file not found during compilation because the file does not exist.

I tried with linePatterns but it did not work.

Thx

saudet commented 4 months ago

You can patch the header file in the build script, that's pretty much the only way.

zaki699 commented 4 months ago

Yes I figured it was an issue from Shaka Packager. It is fixed on their side. I did not want to make a patch or modify any files locally as it would probably break the next releases.

Thanks for your help.