Type: Answers

Type: Errata

Area: Tools



OpenCL Error: ip-generate FAILED

Description

When the Altera® Offline Compiler (AOC) compiles an OpenCL™ kernel on Windows, you might receive the following error message:

Error: ip-generate FAILED.

The error message corresponds to one of the following error descriptions in the <your_kernel_filename>/<your_kernel_filename>.log file:

  • Error: ‘ip-generate’ is not recognized as an internal or external command.
  • Error: ‘qsys-generate’ is not recognized as an internal or external command.

Workaround/Fix

Add the following setting to your Windows PATH environment variable:

<QUARTUS_INSTALL_DIR>/quartus/sopc_builder/bin

where <QUARTUS_INSTALL_DIR> is the path to the Quartus® II software installation directory

Example command for setting the PATH environment variable:

set PATH=c:\altera\14.1\quartus\sopc_builder\bin;%PATH%