Working on an OpenFL project, I updated a bunch of relevant Haxe libraries (hxcpp, openfl, lime, etc) and started getting a weird Haxe compiler error.
> lime test linux
CFFIPointer.hx:55: characters 23-81 : Unknown identifier : cpp
... (tons more of the same error)
I believe the line it was referencing was an #if
compile switch on cpp
. This should never fail as far as I know?
Notes:
- If you see this error, feel free to comment so we can identify the cause!
- Someone commented that
lime
andopenfl
commands are different, and technically they are, but OpenFL is built on Lime and the commands (lime test linux
andopenfl test linux
) work interchangeably for my project.