haxiomic / haxe-c-bridge

Easily interact with haxe classes from C with an automatically generated C header
MIT License
51 stars 5 forks source link

Is not work for Haxe 4.3.3? #51

Open sonygod opened 8 months ago

sonygod commented 8 months ago

Is not work for Haxe 4.3.3?

-cp src
-D analyzer-optimize
Main
-cpp bin/cpp
-D static_link
--dce full
-D HaxeCBridge.name=HaxeLib

there is no HaxeLib.h gen in bin/cpp forlder. but 4.2.4 have.

acarioni commented 5 months ago

I'm also experiencing the same issue with the library.

Following the instructions in the Readme, I made a test which should have resulted in the generation of a header file at bin/Main.h. However, this file is absent in the bin directory. I did find a Main.h file in bin/include, but it lacks the expected declarations for Main_UseMeFromC_new and the other functions.

This test was performed using Haxe 4.3.3 and hxcpp 4.3.23 on a Mac Mini M2 with Sonoma 14.4.1.