I'm building a game in haxeflixel 3.3.5, and have been compiling for flash so far.
I found a FlxFSM class, which I added to the codebase, and it still works great in Flash.
I wanted to try to compile for Windows/CPP, which usually works, but in this project i get the following error:
./src/util/FlxFSM.cpp(13) : fatal error C1083: Cannot open include file: 'flixel/util/FlxPool.h': No such file or directory
The FlxPool class exists, and works for flash.
If I compile for html5, the error is:
C:/HaxeToolkit/haxe/lib/openfl-bitfive/2,0,1/flash/display/Stage.hx:13: characters 7-24 : Class not found : js.html.TouchList
Which is even weirder, because haxelib tells me that I have openfl 2.1.5 installed, and that's what I see in the reference folders.
I'm relatively new to Haxe (from AS3), so I don't get what's going wrong, and can't figure out, what has to be updated or referenced differently. Any help would be greatly appreciated.