This issue happens when the vision function(s) you are using under your FPGA target are not compatible with the target itself.
Not all FPGA target types are compatible with the NI Vision API functions in LabVIEW FPGA. To see a list of the compatible target types, please check this article: NI Vision FPGA Function Support and Compatibility
In addition to the previous article, please check the LabVIEW help information for the specific function you are trying to use. The help information will state what target types are compatible with the function in question.
There is currently no workaround to this issue, the solution is to use an FPGA target type that is compatible with the vision libraries.