Article ID: 000086349 Content Type: Troubleshooting Last Reviewed: 12/02/2024

Global is external, but doesn't have external or weak linkage!

Environment

  • Intel® Quartus® Prime Pro Edition
  • Intel® High Level Synthesis Compiler Pro Edition
  • BUILT IN - ARTICLE INTRO SECOND COMPONENT
    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.

    Related Products

    This article applies to 1 products

    Intel® Programmable Devices