hxcpp icon indicating copy to clipboard operation
hxcpp copied to clipboard

GitHub Actions Compiling Issue

Open Poyo2007 opened this issue 3 years ago • 3 comments

Tried compiling for Android via GitHub Actions a few days ago... Left with a error message

Creating /home/runner/work/vs-poyo-demoFINALIZED/vs-poyo-demoFINALIZED/export/release/android/obj/obj/android-v7/__pch/haxe/hxcpp.h.gch... /home/runner/haxelib/hxcpp/4,2,1/include/hxcpp.h:23:13: fatal error: 'typeinfo' file not found #include <typeinfo> ^~~~~~~~~~ 1 error generated. Error: Could not create PCH Error: Process completed with exit code 1.

Is there anyway to fix it?

Poyo2007 avatar Jun 14 '22 06:06 Poyo2007

This may be caused by using an unsupported NDK. Which NDK are you using to build with? Until https://github.com/HaxeFoundation/hxcpp/pull/992 is merged, the highest supported version is NDK 21e.

justin-espedal avatar Jun 14 '22 08:06 justin-espedal

This may be caused by using an unsupported NDK. Which NDK are you using to build with? Until #992 is merged, the highest supported version is NDK 21e.

I'm using NDK r15c with HaxeFlixel

Poyo2007 avatar Jun 14 '22 23:06 Poyo2007