Description
Due to a problem in the HLS Compiler, you may see this error when you compile testbench code with your component and that testbench uses system library classes like fstream.
Resolution
To work around this problem, compile the testbench code with the Microsoft* compiler and then link it with the component
CL /I%INTELFPGAOCLSDKROOT%\include /Fo /EHsc /tb.cppi comp.cpp tb.obj
This problem is scheduled to fixed in a future release of the HLS Compiler.