A header named "ctv.h" is supposed to be generated at compilation time (
https://github.com/finalburnneo/FBNeo/blob/master/makefile.mingw#L631-L637).
Yours was not.
I can only suppose this is the result of yet another thing you did but never bothered mentioning: everything in this topic leads to think you are using older code (or maybe code from some unsupported fork), modifying it, and not following recommendations. Not entirely sure we can help you in those conditions.