2.3. Setting the Intel® FPGA SDK for OpenCL™ Standard Edition User Environment Variables
|Environment Variable||Path to Include|
where INTELFPGAOCLSDKROOT points to the path of the software installation
- To apply permanent environment variable settings, perform the following tasks:
- Click Windows Start menu > Control Panel (or search for and then open the Control Panel application in Windows 8.1 and Windows 10).
- Click System and Security > System.
- In the System window, click Advanced system settings.
- Click the Advanced tab in the System Properties dialog box.
- Click Environment Variables.
The Environment Variables dialog box appears.
- To modify an existing environment variable setting, select the variable under User variables for <user_name> and then click Edit. In the Edit User Variable dialog box, type the environment variable setting in the Variable value field.
- If you add a new environment variable, click New under User variables for <user_name>. In the New User Variable dialog box, type the environment variable name and setting in the Variable name and Variable value fields, respectively.
For an environment variable with multiple settings, add semicolons to separate the settings.
- To apply transient environment variable settings, open a command window and run the %INTELFPGAOCLSDKROOT%\init_opencl.bat script.
Example script output:
Adding %INTELFPGAOCLSDKROOT%\bin to PATH Adding %INTELFPGAOCLSDKROOT%\host\windows64\bin to PATHRunning the init_opencl.bat script only affects the current command window. The script performs the following tasks:
- Finds the Intel® Quartus® Prime Standard Edition software installation
- Finds the Microsoft Visual Studio installation
- Imports the Microsoft Visual Studio environment to properly set the LIB environment variable
- Ensures that the PATH environment variable includes the path to the Microsoft LINK.EXE file and the aoc.exe file
Did you find the information on this page useful?